-
Notifications
You must be signed in to change notification settings - Fork 93
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
Spring Boot Admin Integration #3018
Merged
delchev
merged 65 commits into
eclipse-dirigible:master
from
iliyan-velichkov:spring-admin
Dec 22, 2023
Merged
Changes from 58 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
722cbc5
initial commit
iliyan-velichkov 888c2de
add httpclient versions
iliyan-velichkov 0067c4a
use jakarta packages
iliyan-velichkov 060436c
adapt spring security
iliyan-velichkov 97e4844
fix mail client
iliyan-velichkov 95cbc2a
disable odata module for now
iliyan-velichkov b3e37d6
more adaptations
iliyan-velichkov e8a2737
disable odata
iliyan-velichkov 9a0c6b4
more adaptations
iliyan-velichkov b70e84c
use newer interface
iliyan-velichkov 8222340
minor fixes
iliyan-velichkov 5a9cf0d
remove plugin versions
iliyan-velichkov c547dfe
fix EncryptionBeanPostProcessor
iliyan-velichkov 5f2c19b
remove dep versions
iliyan-velichkov b8f8c70
disable odata
iliyan-velichkov fd81ac9
camel 3.21.2
iliyan-velichkov 394c9ba
fix activemq dependencies version
iliyan-velichkov 9187527
adapt Camel
iliyan-velichkov 53bda24
adapt tests
iliyan-velichkov 25b971d
add synchronized
iliyan-velichkov 310fc3e
dummy KeycloakSecurityConfiguration
iliyan-velichkov a009298
fix integration tests
iliyan-velichkov e0cd9f6
fix javadoc plugin issue
iliyan-velichkov 2ec8909
use migrated olingo dependency
iliyan-velichkov a99af45
Update README.md
iliyan-velichkov ac0ab12
fix startup errors
iliyan-velichkov 07726e8
centralized plugins management
iliyan-velichkov 4658ef8
maven compiler plugin centralized config
iliyan-velichkov 189a173
maven-compiler-plugin in parent
iliyan-velichkov 159535a
centralized formatter-maven-plugin
iliyan-velichkov c9dac53
set fixed plugins version
iliyan-velichkov 43d257f
improve logging
iliyan-velichkov 7afb67f
use olingo from the codbex fork repo
iliyan-velichkov 799bb97
fix javadoc error
iliyan-velichkov 1f686ac
integration tests on ubuntu as well
iliyan-velichkov 998a988
Update pull-request.yml
iliyan-velichkov a094956
remove provided scopes
iliyan-velichkov cec41db
add keycloak conifugations
iliyan-velichkov 9b2a662
rebase
iliyan-velichkov 4c63065
remove dependencyManagement
iliyan-velichkov b12bef7
fix javadoc generation
iliyan-velichkov 7834e6f
native images support
iliyan-velichkov da82f72
fix OData
iliyan-velichkov a726694
javax replacements
iliyan-velichkov e6cc74f
pom cleanup
iliyan-velichkov 26b9f75
fix cxf conflict
iliyan-velichkov 036ab8b
Spring Boot Admin Integration
iliyan-velichkov e79f346
adapt to the changes from master
iliyan-velichkov e3d7d39
install Spring Boot Admin using profile
iliyan-velichkov d80baa9
exclude SpringBootAdminIT from the tests by default
iliyan-velichkov 29e484c
add spring boot job to workflows
iliyan-velichkov cdc16ea
adapt SpringBootAdminIT
iliyan-velichkov 19f75bb
fix spring boot admin profile
iliyan-velichkov 8c8fdb2
fix spring boot itests
iliyan-velichkov c88f09d
fix spring admin versions
iliyan-velichkov b6ad3a4
fix merge issues
iliyan-velichkov 4672b20
fix more merge issues
iliyan-velichkov f2a861a
remove versions
iliyan-velichkov 9345a10
rename role
iliyan-velichkov 62a3cbb
protect actuator endpoints
iliyan-velichkov fffd052
fix integration tests execution
iliyan-velichkov e6b582b
clean context after SecurityIT
iliyan-velichkov 9c502a9
@DirtiesContext on parent level
iliyan-velichkov 7b73e96
merge
iliyan-velichkov 3cbd342
fix merge issues
iliyan-velichkov 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 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 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 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 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 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 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
11 changes: 11 additions & 0 deletions
11
build/application/src/main/resources/application-keycloak.properties
This file contains 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,11 @@ | ||
basic.enabled=false | ||
|
||
# example https://keycloak.apps.dirigible.io/auth/realms/dirigible | ||
spring.security.oauth2.client.provider.keycloak.issuer-uri=${DIRIGIBLE_KEYCLOAK_AUTH_SERVER_URL} | ||
|
||
spring.security.oauth2.client.registration.keycloak.provider=keycloak | ||
spring.security.oauth2.client.registration.keycloak.client-id=${DIRIGIBLE_KEYCLOAK_CLIENT_ID} | ||
spring.security.oauth2.client.registration.keycloak.scope=openid,profile,roles,microprofile-jwt,email,phone,web-origins,address,offline_access | ||
spring.security.oauth2.client.registration.keycloak.authorization-grant-type=authorization_code | ||
|
||
spring.security.oauth2.client.provider.keycloak.user-name-attribute=preferred_username |
4 changes: 4 additions & 0 deletions
4
build/application/src/main/resources/application-oauth.properties
This file contains 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,4 @@ | ||
basic.enabled=false | ||
|
||
spring.security.oauth2.client.registration.github.clientId=${GITHUB_CLIENT_ID} | ||
spring.security.oauth2.client.registration.github.clientSecret=${GITHUB_CLIENT_SECRET} |
9 changes: 9 additions & 0 deletions
9
build/application/src/main/resources/application-spring-boot-admin.properties
This file contains 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,9 @@ | ||
spring.boot.admin.context-path=spring-admin | ||
spring.boot.admin.ui.title=${spring.application.name} Admin | ||
spring.boot.admin.ui.brand=<img src="/services/web/resources/images/dirigible.svg"><span>Eclipse Dirigible Admin</span> | ||
|
||
spring.boot.admin.client.url=http://localhost:${server.port}/spring-admin | ||
spring.boot.admin.client.username=${DIRIGIBLE_SPRING_ADMIN_USERNAME:admin} | ||
spring.boot.admin.client.password=${DIRIGIBLE_SPRING_ADMIN_PASSWORD:admin} | ||
spring.boot.admin.client.instance.metadata.user.name=${spring.boot.admin.client.username} | ||
spring.boot.admin.client.instance.metadata.user.password=${spring.boot.admin.client.password} |
This file contains 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about security module used is not the basic one (used for demo only)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can test it if you have configured such a system.
In production cases, you are going to use (Spring Cloud Discovery)[https://docs.spring-boot-admin.com/current/getting-started.html#discover-clients-via-spring-cloud-discovery].