- JDK 17
- Maven 3.x
- Postman
- Open a console and run:
docker compose -f ./src/main/docker/keycloak.yml up
- Open another console and run:
docker compose -f ./src/main/docker/jhipster-registry.yml up
- Run the project:
./mvnw
- Open a console and run:
docker compose -f ./src/main/docker/keycloak.yml up
- Open another console and run:
docker compose -f ./src/main/docker/jhipster-registry.yml up
- Run the project:
./mvnw
- Open a console and run:
docker compose -f ./src/main/docker/keycloak.yml up
- Open another console and run:
docker compose -f ./src/main/docker/jhipster-registry.yml up
- Run the project:
./mvnw
- Keycloak: http://localhost:9080
- JHipster Registry: http://localhost:8761
- OpenID Config URL:
{{server}}/realms/{{realm}}/.well-known/openid-configuration
Follow the tutorial here to authenticate with Keycloak using Postman.
After successful authentication:
- Visit: http://localhost:9090/services/ms1/api/v1/hello
- You should see:
Hello world from ms1!
- You should see:
- Visit: http://localhost:9090/services/ms2/api/v1/hello
- You should see:
Hello world from ms2!
- You should see: