aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:27 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:34 +0000
commit7373ad2c2660cd42a997d3908e2f4fb8dac55fca (patch)
tree5e01c56da6b261d308e1fd7938e08d708981c4a6 /kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties
parente3529a28a1fa8b48b1a8d013be01cfdcb9bb905e (diff)
[AAI-ML] Move aai-modelloader to use strimzi kafka user template
Use common kafka template for the user Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id4f58800856c4d8caa45bb1bd4f8df30263fb91b Issue-ID: DMAAP-1852
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties')
-rw-r--r--kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties8
1 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties b/kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties
index bc53b4b764..a3e27f5517 100644
--- a/kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties
+++ b/kubernetes/aai/components/aai-modelloader/resources/config/model-loader.properties
@@ -30,12 +30,14 @@ ml.distribution.KEYSTORE_PASSWORD=
ml.distribution.KEYSTORE_FILE=
ml.distribution.PASSWORD=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp
{{ end }}
-ml.distribution.CONSUMER_GROUP={{ .Values.config.kafka.sdcTopic.consumerGroup }}
-ml.distribution.CONSUMER_ID={{ .Values.config.kafka.sdcTopic.clientId }}
+{{- with (first .Values.kafkaUser.acls) }}
+ml.distribution.CONSUMER_GROUP={{ .name }}
+ml.distribution.CONSUMER_ID={{ .name }}-model-loader
ml.distribution.ENVIRONMENT_NAME=AUTO
ml.distribution.POLLING_INTERVAL=30
ml.distribution.POLLING_TIMEOUT=20
-ml.distribution.USER=aai
+ml.distribution.USER={{ .name }}
+{{- end }}
ml.distribution.ARTIFACT_TYPES=MODEL_QUERY_SPEC,TOSCA_CSAR
# Model Loader AAI REST Client Configuration