This microservice provides the user functionality exposed by REST endpoints.
Application supports distributed tracing(Spring Cloud Sleuth, Zipkin) and OpenAPI Specification standard.
- Running config-server.
- Running service-registry.
- Running zipkin server.
- Running admin-dashboard.
Start application:
./gradlew bootRun
-
Start service.
-
Open 'user-service'OpenAPI ui.
-
Fetch users
-
Check if application successfully registered in service-registry
-
Check if application is visible in admin-dashboard.
# Clean build jar
./gradlew clean build
# Build docker image
./gradlew jibDockerBuild
Name | Endpoint |
---|---|
User Service |
http://localhost:8081/ |
Swagger UI |
http://localhost:8081/swagger-ui.html |
Swagger api-docs |
http://localhost:8081/v3/api-docs |