- Run vault in dev mode and make vault accessible at http://localhost:8200. Refer here.
- To create the secrets, run the terraform script inside create-vault-secrets.
cd create-vault-secrets terraform init terraform apply
- Start the micronaut application by running
./gradlew run
from inside exampleApp directory. - Go to the root of the micronaut application http://localhost:8080. If the correct secrets are read, you will be able to see "Reading from the correct secret". Else, you will see "Oops, reading from the wrong secret" which shows that discovery client is reading from the secret example-app even though the application is named exampleApp.
-
Notifications
You must be signed in to change notification settings - Fork 0
MaheshAravind/micronaut-discovery-client-bug
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Repository to showcase a bug in micronaut-discovery-client
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published