-
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
Spring Boot Admin Integration #3018
Conversation
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.
I'm converting this PR as Draft
, as we'll merge it once the 9.0.0
version is approved and released.
@iliyan-velichkov Also could you please create an issue about this feature?
|
||
public enum DirigibleRole { | ||
|
||
DEVELOPER("DEVELOPER"), OPERATOR("OPERATOR"); |
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.
Shouldn't the values be Developer
and Operator
?
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.
...s/resources-core/src/main/resources/META-INF/dirigible/resources-core/services/menus/help.js
Outdated
Show resolved
Hide resolved
|
8d47896
to
2f66cb3
Compare
build/application/src/main/java/org/eclipse/dirigible/DirigibleConfiguration.java
Outdated
Show resolved
Hide resolved
DIRIGIBLE_DATABASE_NAMES_CASE_SENSITIVE=true | ||
DIRIGIBLE_SPRING_ADMIN_USERNAME=admin |
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].
...core-base/src/main/java/org/eclipse/dirigible/components/base/http/access/DirigibleRole.java
Outdated
Show resolved
Hide resolved
In general, can we run spring-admin separately and connect to dirigible instance, instead of to have it embedded? What are the pros and cons? |
As we discussed, I added a separate maven and spring profile. The readme is updated. |
3ad5146
to
bbe99d2
Compare
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
javax.annotation.Nullable javax.xml.soap javax.servlet Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
integration-tests -> tests Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
4337f5a
to
4672b20
Compare
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
...ain/java/org/eclipse/dirigible/components/security/basic/BasicAuthSecurityConfiguration.java
Dismissed
Show dismissed
Hide dismissed
...n/java/org/eclipse/dirigible/components/security/keycloak/KeycloakSecurityConfiguration.java
Dismissed
Show dismissed
Hide dismissed
.../main/java/org/eclipse/dirigible/components/security/oauth2/OAuth2SecurityConfiguration.java
Dismissed
Show dismissed
Hide dismissed
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
@iliyan-velichkov can you please resolve conflicts, to be able to merge this PR as well? |
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
@delchev done |
Path to access it: http://localhost:8080/spring-admin
Required role:
OPERATOR
Admin example
Spring Boot Admin
If you want to enable Spring Boot Admin for the Dirigible project, you need to build the project with maven profile
spring-boot-admin
and then activate spring profilespring-boot-admin
.To do this, you have to execute the following commands:
Links