summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-bpmn-infra/resources
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-09-29 09:58:48 -0400
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-10-12 10:30:36 -0400
commit80fdd79f22719fcbb0cfea6088502a7d0759a15f (patch)
tree4531eb71bcdf3588aa600d83d8468f813e028b52 /kubernetes/so/components/so-bpmn-infra/resources
parenta697f8ab8f2b47100cb73a7f5812f70e242b75a6 (diff)
[SO] Add properties for history cleanup window
These properties define a time window where the history cleanup job is allowed to run. Without these properties the cleanup job would not be triggered automatically. Also set mso.bpmn-history-ttl (days). This ttl value will be applied to all bpmn definitions, which will set a removal date for historic data. Remove old historyTimeToLive property which is no longer used. Issue-ID: SO-3770 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I5baee0a3ba8700b4ce177e3af4d480a8ae737e5f
Diffstat (limited to 'kubernetes/so/components/so-bpmn-infra/resources')
-rwxr-xr-xkubernetes/so/components/so-bpmn-infra/resources/config/overrides/override.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/so/components/so-bpmn-infra/resources/config/overrides/override.yaml b/kubernetes/so/components/so-bpmn-infra/resources/config/overrides/override.yaml
index c64e10597a..360936d2ba 100755
--- a/kubernetes/so/components/so-bpmn-infra/resources/config/overrides/override.yaml
+++ b/kubernetes/so/components/so-bpmn-infra/resources/config/overrides/override.yaml
@@ -34,6 +34,10 @@ camunda:
job-execution:
max-pool-size: 30
core-pool-size: 3
+ generic-properties:
+ properties:
+ sunday-history-cleanup-batch-window-start-time: {{ quote .Values.camunda.sundayCleanupWindowStartTime }}
+ sunday-history-cleanup-batch-window-end-time: {{ quote .Values.camunda.sundayCleanupWindowEndTime }}
entitymanager:
packagesToScan: com
pnf:
@@ -113,9 +117,6 @@ mso:
timeout: PT5M
callback:
endpoint: http://so-oof-adapter.{{ include "common.namespace" . }}:8090/so/adapters/oof/callback/v1
- bpmn:
- process:
- historyTimeToLive: '30'
callbackRetryAttempts: '5'
catalog:
db:
@@ -285,6 +286,7 @@ mso:
naming:
endpoint: http://naming.demo.onap.com:8081/web/service/v1/genNetworkElementName
auth: Basic bTA0NzY4QG5vbi1wcm9kLm1zby5lY29tcC5hdHQuY29tOkF0dG0wNDc2OExpZmUhQA==
+ bpmn-history-ttl: {{ .Values.bpmn.historyTTL }}
policy:
auth: Basic dGVzdHBkcDphbHBoYTEyMw==
default: