aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-04-10 12:21:47 +0000
committerGerrit Code Review <gerrit@onap.org>2024-04-10 12:21:47 +0000
commitbd892a7d0709d0807a009f648eb8fcf283f79ba9 (patch)
tree85a20b3bd015ace54271c8dbc4b8482b45535702 /kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
parent1eeb37b34517aecb0fdcef2e486188768b5ee513 (diff)
parentbc8a6a4ce7eb26b1720cd281486ce6a67ee40ac4 (diff)
Merge "[POLICY] Add kafka support in policy charts"
Diffstat (limited to 'kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json')
-rwxr-xr-xkubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json11
1 files changed, 1 insertions, 10 deletions
diff --git a/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json b/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
index 3a38b88d56..441955f1ed 100755
--- a/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
+++ b/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
@@ -30,23 +30,17 @@
"useHttps": false,
"fetchTimeout": 15000,
"servers": [ "${KAFKA_URL}" ],
-{{ if .Values.global.useStrimziKafkaPf }}
"topicCommInfrastructure": "kafka",
"additionalProps": {
"group.id" : "${GROUP_ID}",
"security.protocol": "SASL_PLAINTEXT",
"sasl.mechanism": "${SASL}",
"sasl.jaas.config": "${JAASLOGIN}"
- }
-{{ else }}
- "topicCommInfrastructure": "dmaap"
-{{ end }}
- }],
+ }}],
"topicSinks" : [{
"topic": "${PAP_TOPIC}",
"useHttps": false,
"servers": [ "${KAFKA_URL}" ],
-{{ if .Values.global.useStrimziKafkaPf }}
"topicCommInfrastructure": "kafka",
"additionalProps": {
"group.id" : "${GROUP_ID}",
@@ -54,9 +48,6 @@
"sasl.mechanism": "${SASL}",
"sasl.jaas.config": "${JAASLOGIN}"
}
-{{ else }}
- "topicCommInfrastructure": "dmaap"
-{{ end }}
}]
}
}