diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2022-11-28 09:40:36 +0100 |
---|---|---|
committer | PatrikBuhr <patrik.buhr@est.tech> | 2023-01-11 11:10:35 +0100 |
commit | c0218ada67784a7d5c3a488303bcbab2b3dce5b5 (patch) | |
tree | cc864b9997d3c1da6dbfdedf96ec5c57c0750870 /a1-policy-management/config/application.yaml | |
parent | 4242d5b611a547a437183ccdcb2e59ac11d27837 (diff) |
A1-PMS, graceful shutdown
Support for granceful shutdown via signal "SIGTERM"
and via calling REST POST /actuator/shutdown
Issue-ID: CCSDK-3830
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: Ibc71cd8a2c9f44ec844ab49c8f225ae128549776
Diffstat (limited to 'a1-policy-management/config/application.yaml')
-rw-r--r-- | a1-policy-management/config/application.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml index 2bd8d83d..8f37aaa5 100644 --- a/a1-policy-management/config/application.yaml +++ b/a1-policy-management/config/application.yaml @@ -31,7 +31,12 @@ management: web: exposure: # Enabling of springboot actuator features. See springboot documentation. - include: "loggers,logfile,health,info,metrics,threaddump,heapdump" + include: "loggers,logfile,health,info,metrics,threaddump,heapdump,shutdown" + endpoint: + shutdown: + enabled: true +lifecycle: + timeout-per-shutdown-phase: "20s" springdoc: show-actuator: true logging: @@ -53,6 +58,7 @@ server: # See springboot documentation. port : 8433 http-port: 8081 + shutdown: "graceful" ssl: key-store-type: JKS key-store-password: policy_agent |