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
job-execution:
max-pool-size: 30
core-pool-size: 3
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:
entitymanager:
packagesToScan: com
pnf:
timeout: PT5M
callback:
endpoint: http://so-oof-adapter.{{ include "common.namespace" . }}:8090/so/adapters/oof/callback/v1
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:
callbackRetryAttempts: '5'
catalog:
db:
naming:
endpoint: http://naming.demo.onap.com:8081/web/service/v1/genNetworkElementName
auth: Basic bTA0NzY4QG5vbi1wcm9kLm1zby5lY29tcC5hdHQuY29tOkF0dG0wNDc2OExpZmUhQA==
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:
policy:
auth: Basic dGVzdHBkcDphbHBoYTEyMw==
default:
image: onap/so/bpmn-infra:1.9.0
pullPolicy: Always
image: onap/so/bpmn-infra:1.9.0
pullPolicy: Always
+bpmn:
+ historyTTL: 14
+
+camunda:
+ sundayCleanupWindowStartTime: "04:00"
+ sundayCleanupWindowEndTime: "10:00"
+
db:
userName: so_user
userPassword: so_User123
db:
userName: so_user
userPassword: so_User123