diff options
author | 2023-09-12 09:42:32 +0000 | |
---|---|---|
committer | 2023-09-12 09:42:32 +0000 | |
commit | 2dac693692a44452ef7c5a1656caddf12403113b (patch) | |
tree | dedafad04956cb5c1cfd649eb0c7e4d279b7a38d /cps-ncmp-service/src/test/resources | |
parent | bf8997853d7759383303b07bbeb780ca73428536 (diff) | |
parent | c4485f7218fb9b2b4b7c113294ae2902979f5b5e (diff) |
Merge "Dmi plugin watchdog cheking aliveness"
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
-rw-r--r-- | cps-ncmp-service/src/test/resources/application.yml | 3 | ||||
-rw-r--r-- | cps-ncmp-service/src/test/resources/dmiPluginHealthCheckResponse.json | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/application.yml b/cps-ncmp-service/src/test/resources/application.yml index 6e7577b1a..a4bb4e812 100644 --- a/cps-ncmp-service/src/test/resources/application.yml +++ b/cps-ncmp-service/src/test/resources/application.yml @@ -42,6 +42,9 @@ ncmp: enabled: true api: base-path: dmi + timers: + trust-level: + dmi-availability-watchdog-ms: 30000 modules-sync-watchdog: async-executor: diff --git a/cps-ncmp-service/src/test/resources/dmiPluginHealthCheckResponse.json b/cps-ncmp-service/src/test/resources/dmiPluginHealthCheckResponse.json new file mode 100644 index 000000000..753222005 --- /dev/null +++ b/cps-ncmp-service/src/test/resources/dmiPluginHealthCheckResponse.json @@ -0,0 +1,27 @@ +{ + "status": "UP", + "components": { + "diskSpace": { + "status": "UP", + "details": { + "total": 269490393088, + "free": 228467286016, + "threshold": 10485760, + "exists": true + } + }, + "livenessState": { + "status": "UP" + }, + "ping": { + "status": "UP" + }, + "readinessState": { + "status": "UP" + } + }, + "groups": [ + "liveness", + "readiness" + ] +}
\ No newline at end of file |