-
Notifications
You must be signed in to change notification settings - Fork 77
feat: apiml Spring-Modulith based module with Gateway and Discovery services #4051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
174 commits
Select commit
Hold shift + click to select a range
04590d1
initial commit; adding base for apiml service
1c240d2
Merge branch 'v3.x.x' into reboot/modulith
3a6bdcc
adding modulith dependency and ModulithConfig
f259051
cherry pick from poc and packaging / test initial changes
f2496f3
fix name of project
4041fd9
builds, without test and license check
ae6e71a
fix some tests, add tasks to package.json
06076a4
cherry pick from poc, builds w/o test & licensecheck
1c3c7e0
fixes eureka bootstrap
f9365d9
initial metadata fix (not working)
051df47
add gateway metadata class (to remove?)
72add10
add filters to support internal discovery port
f2af62f
gateway metadata, forward to eureka homepage
0668ad5
adding zowe license header
5014f25
merge discovery / gw config, fix route refresh (wip)
2a266ef
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
7ee799b
fix catalog page redirection with correct discovery client
7c9d10f
fix checkstyle and some unit tests
5297bc2
fix more tests in discovery service
8555613
add missing scripts
ab58b9d
update gitignore
8207ee0
fix MetadataDefaultsServiceTest
2f7fdcb
fix
2873586
wip - add securityconfig in webflux
taban03 bab1d3b
wip start.sh
a2eeb69
Merge branch 'reboot/modulith' into reboot/modulith_security_config
eff14c8
wip z/OS packaging
79f6a31
wip
taban03 9e3dce5
Merge branch 'reboot/modulith_security_config' of https://github.com/…
f576e4e
discovery security config wip
894d948
wip eureka/** endpoints protected
5bab4c9
fix client cert auth in discovery
ce2299b
open resources are open
5bbe16b
refactor
dad36d0
Merge branch 'reboot/modulith' into reboot/modulith_security_config
1a064ed
fixes in start.sh
91e3e34
update logs
1b2c0d7
wip
taban03 71df04e
remove unused lines
0a98354
remove noop password encoder
84e9edf
Merge branch 'reboot/modulith_security_config' into reboot/modulith
2789131
enhance filter to check for wrong-formatted authentication header and…
taban03 558dbe2
remove unnecessary bean
taban03 03ee523
remove unnecessary cookie filter as already handled by tokenfilter
taban03 e7a01e2
Merge branch 'reboot/modulith_security_config' into reboot/modulith
f7d1e19
add dockerfiles, wip start.sh
7bb5a08
merge java properties in apiml from gw and ds
76953fc
try fix static refresh and GH actions
3e795d0
wip fix github actions
891f02a
wip github actions
3b9ba8c
enhance error handling for the refresh static APIs action
taban03 0b81d41
fromcallable for blocking code in DS
f22db1f
jib expose default port range
1ad406d
try fix github actions
0250c63
update keystore for docker
02d44b1
adding idea run configurations for apiml component
9f45f52
adding zowe license
79c8eb3
fix cert failing after new certs
d25e895
add dependency on CITestsModulith for PublishResults
6748685
default empty test
08fc4f7
fixes for github actions wip
3063d76
try install deps
5b08099
add handling for invalid token
taban03 6584acd
sudo
b753ebf
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
d42992a
no container
87c72e0
remove install
5759cc4
wip github actions
cdb4fe1
Revert "add handling for invalid token"
70284d9
fix static refresh controller
23cfcc3
use discoverable client in ServicesInfoService
4083f7a
try simple wait
87d341b
make the response message consistent
taban03 283fcb0
wip fix port range and try fix github
5828f04
removing testing logging
efccb57
try using startup checker
952d562
use environment config in startup check
b1370af
try get exception details
7ecbb0c
try fix configreader
36277b6
try fix typo
ea4e86c
fixing test with custom http header for jwtScheme
1b7e3ff
local config values
8251226
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
4e2382d
debug message
5ba0a59
fix ITs
taban03 3a4cf9e
fix unit tests
taban03 800fa17
try fix catalog test
0768879
fix test
taban03 07f8af1
remove standalone catalog from modulith tests
d01eaf6
add logs to ITs results
75a537a
update setting in modulith ITs
a62737a
update jib definitions
57a647e
archive startup check results
4aa4cd2
health default protection
402938c
try log more
be4484e
remove redundant
709db01
fix requirement of ending slash in eureka endpoint catalog
5d46d32
fix /eureka handling
20f99dd
fix blocking in eurekarestcontroller
050fd38
Merge branch 'v3.x.x' into reboot/modulith
pablocarle d426e68
pr review, remove comments and debug logs
aef9e54
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
135d0a0
Update gateway-service/src/main/java/org/zowe/apiml/gateway/service/G…
pablocarle 30ba865
try remove check
ae1f576
add basic test, try fix publishresults stage
7c450a6
archive sonar
a6522f1
wip sync build.gradle
83f5f8f
try get more details in sonar
7275f6e
add apiml project to coverage
fe6a1ad
add tests
9975f7b
add tests, pr review
bd9b8cc
Merge branch 'v3.x.x' into reboot/modulith
pablocarle c1f9bcc
add tests, update start.sh
9b3137b
eurekadashboard controller test
b466159
fix compile issue
8dd7691
fix eureka dashboard dependencies
a03e169
add debug logs
0105437
add exception handler unit test
e889120
Merge remote-tracking branch 'origin/v3.x.x' into reboot/modulith
dcf3161
add basic acceptance test
afbb0e1
fix unit test
f1a0943
increase test coverage
6d26d27
add more unit tests
9e0b6bb
Merge branch 'v3.x.x' into reboot/modulith
pablocarle 85fb56e
add debugging for github actions
560871d
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
16f2e4b
wip gh action
d3d00a2
add schema, fix apiml package
f95d5f5
add tests
taban03 08007e9
add package json
taban03 ce0514b
add package json lock
taban03 1ee66df
fix start.sh syntax
58e1ffd
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
0d5f981
Merge branch 'v3.x.x' into reboot/modulith
pablocarle 401a549
update IT setting for rate limiter
d693170
add startup check to CITestsZaas
b89864a
try in one gradle execution
f1efbb8
try more runStartupChecker
41020d7
Merge branch 'v3.x.x' into reboot/modulith
pablocarle ccd7a1a
try fix startup check
36cb9e6
fix NPE in checker
91a3a3b
startup check in GatewayCentralRegistry tests
1af6075
lax checker
30a0bfd
try ubuntu 22
7c55ee5
ubuntu:latest
e6eff8d
add required dependency to publishResults
fbd7533
remove internal port inexistant references
f2d0ec6
improve startup checker
28bed10
info level
5bdf4bf
expect two gateway instances for central registry tests
2ccd8b2
add unit tests
bebd634
try different jib image
0a55e92
fix image
f587617
change when static services are registered in modulith
5d27656
jacoco fix for dump of discoverable client
4cc5ad9
use gateway test fixtures - add eureka homepage test
5a7742d
add unit tests for coverage
6b18176
use spring cloud discovery client
0f5ae19
Merge remote-tracking branch 'origin/v3.x.x' into reboot/modulith
8c02f41
remove outdated TODO comment
61340ca
try ignore sonar in EurekaConfiguration class copied
c13c6a0
Merge branch 'v3.x.x' into reboot/modulith
pablocarle 0e6988b
add static definition processing to apiml component
c39aef4
Merge branch 'v3.x.x' into reboot/modulith
pablocarle fa252e0
Merge branch 'v3.x.x' into reboot/modulith
pablocarle 243cc16
Merge branch 'v3.x.x' into reboot/modulith
pablocarle dcd3745
suprerss warnings for generic type wildcard
cde2278
Merge branch 'reboot/modulith' of https://github.com/zowe/api-layer i…
78f5ade
fix sonar issues
c4b2d69
fix low sonar issues
3f34725
Merge branch 'v3.x.x' into reboot/modulith
pablocarle baaf370
Merge branch 'v3.x.x' into reboot/modulith
achmelo 310be8e
Merge branch 'v3.x.x' into reboot/modulith
balhar-jakub f233799
Merge branch 'v3.x.x' into reboot/modulith
balhar-jakub File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <!-- | ||
| ~ /* | ||
| ~ * This program and the accompanying materials are made available under the terms of the | ||
| ~ * Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
| ~ * https://www.eclipse.org/legal/epl-v20.html | ||
| ~ * | ||
| ~ * SPDX-License-Identifier: EPL-2.0 | ||
| ~ * | ||
| ~ * Copyright Contributors to the Zowe Project. | ||
| ~ */ | ||
| --> | ||
|
|
||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="ApimlApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true"> | ||
| <additionalParameters> | ||
| <param> | ||
| <option name="enabled" value="true" /> | ||
| <option name="name" value="spring.config.additional-location" /> | ||
| <option name="value" value="file:./config/local/apiml-service.yml" /> | ||
| </param> | ||
| </additionalParameters> | ||
| <module name="api-layer.apiml.main" /> | ||
| <option name="SHORTEN_COMMAND_LINE" value="ARGS_FILE" /> | ||
| <option name="SPRING_BOOT_MAIN_CLASS" value="org.zowe.apiml.ApimlApplication" /> | ||
| <option name="VM_PARAMETERS" value="--add-opens=java.base/java.nio.channels.spi=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED" /> | ||
| <method v="2"> | ||
| <option name="Make" enabled="true" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.