summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/tests/data/cbs_data_1.json
blob: 86515343d1dd873619460ba41bef221a3cb81afa (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
   "policy":{
      "subscription":{
         "subscriptionName":"ExtraPM-All-gNB-R2B",
         "administrativeState":"UNLOCKED",
         "fileBasedGP":15,
         "fileLocation":"\/pm\/pm.xml",
         "nfFilter":{
            "nfNames":[
               "^pnf.*",
               "^vnf.*"
            ],
            "modelInvariantIDs": [

            ],
            "modelVersionIDs": [

            ]
         },
         "measurementGroups":[
            {
               "measurementGroup":{
                  "measurementTypes":[
                     {
                        "measurementType":"countera"
                     },
                     {
                        "measurementType":"counterb"
                     }
                  ],
                  "managedObjectDNsBasic":[
                     {
                        "DN":"dna"
                     },
                     {
                        "DN":"dnb"
                     }
                  ]
               }
            },
            {
               "measurementGroup":{
                  "measurementTypes":[
                     {
                        "measurementType":"counterc"
                     },
                     {
                        "measurementType":"counterd"
                     }
                  ],
                  "managedObjectDNsBasic":[
                     {
                        "DN":"dnc"
                     },
                     {
                        "DN":"dnd"
                     }
                  ]
               }
            }
         ]
      }
   },
   "config":{
      "control_loop_name": "pmsh-control-loop",
      "operational_policy_name": "pmsh-operational-policy",
      "aaf_password":"demo123456!",
      "aaf_identity":"dcae@dcae.onap.org",
      "cert_path":"/opt/app/pmsh/etc/certs/cert.pem",
      "key_path":"/opt/app/pmsh/etc/certs/key.pem",
      "ca_cert_path":"/opt/app/pmsh/etc/certs/cacert.pem",
      "enable_tls":"true",
      "streams_subscribes":{
         "aai_subscriber":{
            "type":"message_router",
            "dmaap_info":{
               "topic_url":"https://message-router:3905/events/AAI_EVENT",
               "client_role":"org.onap.dcae.aaiSub",
               "location":"san-francisco",
               "client_id":"1575976809466"
            }
         },
         "policy_pm_subscriber":{
            "type":"message_router",
            "dmaap_info":{
               "topic_url":"https://message-router:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
               "client_role":"org.onap.dcae.pmSubscriber",
               "location":"san-francisco",
               "client_id":"1575876809456"
            }
         }
      },
      "streams_publishes":{
         "policy_pm_publisher":{
            "type":"message_router",
            "dmaap_info":{
               "topic_url":"https://message-router:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
               "client_role":"org.onap.dcae.pmPublisher",
               "location":"san-francisco",
               "client_id":"1475976809466"
            }
         },
         "other_publisher":{
            "type":"message_router",
            "dmaap_info":{
               "topic_url":"https://message-router:3905/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC",
               "client_role":"org.onap.dcae.pmControlPub",
               "location":"san-francisco",
               "client_id":"1875976809466"
            }
         }
      }
   }
}