aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json
blob: 441955f1ed45e6923ec6bc26708fa6abf9360ed5 (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
{
    "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}" ],
          "topicCommInfrastructure": "kafka",
          "additionalProps": {
            "group.id" : "${GROUP_ID}",
            "security.protocol": "SASL_PLAINTEXT",
            "sasl.mechanism": "${SASL}",
            "sasl.jaas.config": "${JAASLOGIN}"
        }}],
      "topicSinks" : [{
          "topic": "${PAP_TOPIC}",
          "useHttps": false,
          "servers": [ "${KAFKA_URL}" ],
          "topicCommInfrastructure": "kafka",
          "additionalProps": {
            "group.id" : "${GROUP_ID}",
            "security.protocol": "SASL_PLAINTEXT",
            "sasl.mechanism": "${SASL}",
            "sasl.jaas.config": "${JAASLOGIN}"
          }
      }]
    }
}