aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
blob: 3a38b88d5697d9b159881b4dc8230384f1c5bb70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
    "name":"OnapPfParameterGroup",
    "restServerParameters": {
      "host": "0.0.0.0",
      "port": 6969,
      "userName": "${RESTSERVER_USER}",
      "password": "${RESTSERVER_PASSWORD}",
      "https": "false",
      "prometheus": true
    },
    "pdpStatusParameters": {
        "pdpGroup": "defaultGroup",
        "timeIntervalMs": 120000,
        "pdpType":"apex",
        "description":"Pdp Heartbeat",
        "supportedPolicyTypes": [
            {
                "name": "onap.policies.native.Apex",
                "version": "1.0.0"
            },
            {
              "name": "onap.policies.controlloop.operational.common.Apex",
              "version": "1.0.0"
            }
        ]
    },
    "topicParameterGroup": {
      "topicSources": [{
          "topic": "${PAP_TOPIC}",
          "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}",
            "security.protocol": "SASL_PLAINTEXT",
            "sasl.mechanism": "${SASL}",
            "sasl.jaas.config": "${JAASLOGIN}"
          }
{{ else }}
          "topicCommInfrastructure": "dmaap"
{{ end }}
      }]
    }
}