Skip to content
Snippets Groups Projects
Commit b9c8f6ca authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Merge branch 'feature/GONRG-9711_add-spring-boot-actuator' into 'master'

GONRG-9711: + spring boot actuator.

See merge request !516
parents c320c49e df8ddae0
No related branches found
No related tags found
1 merge request!516GONRG-9711: + spring boot actuator.
Pipeline #267218 failed
......@@ -16,6 +16,12 @@
* [Keycloak configuration](#keycloak-configuration)
## Environment variables
Defined in default application property file but possible to override:
| name | value | description | sensitive? | source |
|-----------------------------------|----------------------------------------------|-------------------------------------|------------|---------------|
| `MANAGEMENT_ENDPOINTS_WEB_BASE` | ex `/` | Web base for Actuator | no | - |
| `MANAGEMENT_SERVER_PORT` | ex `8081` | Port for Actuator | no | - |
### Common properties for all environments
......
......@@ -18,6 +18,13 @@
## Environment variables
Defined in default application property file but possible to override:
| name | value | description | sensitive? | source |
|-----------------------------------|----------------------------------------------|-------------------------------------|------------|---------------|
| `MANAGEMENT_ENDPOINTS_WEB_BASE` | ex `/` | Web base for Actuator | no | - |
| `MANAGEMENT_SERVER_PORT` | ex `8081` | Port for Actuator | no | - |
### Common properties for all environments
| name | value | description | sensitive? | source |
......@@ -29,13 +36,14 @@
**System Environment required to run service**
| name | value | description | sensitive? | source |
| --- | --- | --- | --- | --- |
| `SPRING_PROFILES_ACTIVE` | `gcp` | spring active profile | no |
| `REDIS_HOST` | ex `127.0.0.1` | Redis host | no | - |
| `REDIS_PORT` | ex `6379` | Redis port | no | - |
| `REDIS_PASSWORD` | ex `` | Redis password | yes | - |
| `REDIS_WITH_SSL` | ex `true` or `false` | Redis host ssl config | no | |
| name | value | description | sensitive? | source |
|-------------------------------------|----------------------|------------------------------------------------|------------|--------|
| `SPRING_PROFILES_ACTIVE` | `gcp` | spring active profile | no | |
| `REDIS_HOST` | ex `127.0.0.1` | Redis host | no | - |
| `REDIS_PORT` | ex `6379` | Redis port | no | - |
| `REDIS_PASSWORD` | ex `` | Redis password | yes | - |
| `REDIS_WITH_SSL` | ex `true` or `false` | Redis host ssl config | no | |
| `GOOGLE_APPLICATION_CREDENTIALS` | | Path to JSON keys file for GCP service account | yes | - |
### For Mappers to activate drivers
......
......@@ -123,6 +123,10 @@
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
......
......@@ -51,4 +51,10 @@ cache.codec=jackson
propertyResolver.strategy=partition
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration,org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration
\ No newline at end of file
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration,org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration
#Health checks
management.server.port=${MANAGEMENT_SERVER_PORT:8081}
management.endpoints.web.base-path=${MANAGEMENT_ENDPOINTS_WEB_BASE:/}
management.endpoints.web.exposure.include=health
management.health.probes.enabled=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment