diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-01-22 15:32:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-01-22 15:32:19 +0000 |
commit | 5fa9a9ebb6459755a4267066e23f9671b9fac5b9 (patch) | |
tree | 200dce73493b07663d8f330bce5eb2aa48fc3e33 /cps-rest/src/main/resources/application.yml | |
parent | d45aacaf71afbd352909f02876b86e62744fcae8 (diff) | |
parent | 708fd6615c97756eade415a6295b1fb663e4d3ef (diff) |
Merge "Enable log level management via actuator, /cps/api path to use for REST controllers only only"
Diffstat (limited to 'cps-rest/src/main/resources/application.yml')
-rw-r--r-- | cps-rest/src/main/resources/application.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cps-rest/src/main/resources/application.yml b/cps-rest/src/main/resources/application.yml index 80c6af6c68..0f2ef20df7 100644 --- a/cps-rest/src/main/resources/application.yml +++ b/cps-rest/src/main/resources/application.yml @@ -1,7 +1,9 @@ server:
port: 8080
- servlet:
- context-path: /api/cps
+
+rest:
+ api:
+ base-path: /cps/api
spring:
main:
@@ -32,12 +34,16 @@ management: endpoints:
web:
base-path: /manage
+ exposure:
+ include: health,info,loggers
endpoint:
health:
show-details: always
# kubernetes probes: liveness and readiness
probes:
enabled: true
+ looging:
+ enabled: true
logging:
level:
|