-
Notifications
You must be signed in to change notification settings - Fork 50
Provide Spring Boot Sample app #94
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
Conversation
This is work in progress. The JKS should be created automatically. API description needs to be improved. Security (Basic-Auth) needs to be added.
Let Maven automatically create a keystore if missing. Credentials and dname can be configured in the pom.xml. Use the Maven properties for application.yml.
The dynamic log level feature uses JWTs. These can be verified by a public key. Since the sample app can generate those JWTs this new endpoint exposes the public key required to verify the generated tokens.
c5a3e9b
to
84c1f99
Compare
Do not merge, I get an error when running mvn install.
... |
@juergen-walter: I used Maven version 3.6.3. What is your maven version? |
6fc7758
to
b97633e
Compare
$ mvn --version |
will try it with updated maven |
Could verify that it works with Maven 3.6.0 |
Tested everything locally, worked as expected/documented. I created a PR with minors to the sample-spring-boot branch |
I think the "Add debug to travis maven execution" commit has to be reverted to make the CI tests pass |
1cd814e
to
ea2bdd7
Compare
ea2bdd7
to
75bdd0e
Compare
The profile activation by missing files does no support Maven properties. The directories must be given in plain text. The pom.xml was changed accordingly. By default activation will only activate a profile if none other profile is active. Backend selection was therefore migrated to activation by system property. The documentation was adjusted accordingly.
cecd05f
to
c543315
Compare
My PR has still a small improvement not yet integrated. Marked the relevant changes with strike-through and bold below: sample-spring-boot/README.md Getting StartedThis sample application is contained in the Maven module sample-spring-boot. |
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.
Added a small improvement idea, feel free to include or not. Approved.
This PR provides a new sample application using Spring Boot.
It is secured with basic authentication.
The app can be used as a JWT generator for dynamic log levels.