Amend CSIT jobs for PMSH filter changes
[integration/csit.git] / plans / dcaegen2-services-pmsh / testsuite / assets / cbs_sim / cbs-initializer.json
1 [
2   {
3     "httpRequest": {
4       "path": "/service_component_all/.*"
5     },
6     "httpResponse": {
7       "statusCode": 200,
8       "headers": {
9         "content-type": [
10           "application/json"
11         ]
12       },
13       "body": {
14         "type": "JSON",
15         "json": {
16           "policy": {
17             "subscription": {
18               "subscriptionName": "ExtraPM-All-gNB-R2B",
19               "administrativeState": "LOCKED",
20               "fileBasedGP": 15,
21               "fileLocation": "/pm/pm.xml",
22               "nfFilter": {
23                 "nfNames": [
24                   "^pnf.*",
25                   "^vnf.*"
26                 ],
27                 "modelInvariantUUIDs": [
28                   "7129e420-d396-4efb-af02-6b83499b12f8"
29                 ],
30                 "modelVersionIDs": [
31
32                 ]
33               },
34               "measurementGroups": [
35                 {
36                   "measurementGroup": {
37                     "measurementTypes": [
38                       {
39                         "measurementType": "countera"
40                       },
41                       {
42                         "measurementType": "counterb"
43                       }
44                     ],
45                     "managedObjectDNsBasic": [
46                       {
47                         "DN": "dna"
48                       },
49                       {
50                         "DN": "dnb"
51                       }
52                     ]
53                   }
54                 },
55                 {
56                   "measurementGroup": {
57                     "measurementTypes": [
58                       {
59                         "measurementType": "counterc"
60                       },
61                       {
62                         "measurementType": "counterd"
63                       }
64                     ],
65                     "managedObjectDNsBasic": [
66                       {
67                         "DN": "dnc"
68                       },
69                       {
70                         "DN": "dnd"
71                       }
72                     ]
73                   }
74                 }
75               ]
76             }
77           },
78           "config": {
79             "control_loop_name": "pmsh-control-loop",
80             "operational_policy_name": "pmsh-operational-policy",
81             "cert_path": "/opt/app/pmsh/etc/certs/cert.pem",
82             "enable_tls": true,
83             "ca_cert_path": "/opt/app/pmsh/etc/certs/cacert.pem",
84             "streams_publishes": {
85               "policy_pm_publisher": {
86                 "dmaap_info": {
87                   "client_id": "1475976809466",
88                   "client_role": "org.onap.dcae.pmPublisher",
89                   "topic_url": "https://mr-sim:3095/events/unauthenticated.DCAE_CL_OUTPUT",
90                   "location": "san-francisco"
91                 },
92                 "type": "message_router"
93               }
94             },
95             "streams_subscribes": {
96               "aai_subscriber": {
97                 "type": "message_router",
98                 "dmaap_info": {
99                   "client_id": "1575976809466",
100                   "client_role": "org.onap.dcae.aaiSub",
101                   "topic_url": "https://mr-sim:3095/events/AAI_EVENT",
102                   "location": "san-francisco"
103                 }
104               },
105               "policy_pm_subscriber": {
106                 "dmaap_info": {
107                   "location": "san-francisco",
108                   "topic_url": "https://mr-sim:3095/events/unauthenticated.PMSH_CL_INPUT",
109                   "client_role": "org.onap.dcae.pmSubscriber",
110                   "client_id": "1575876809456"
111                 },
112                 "type": "message_router"
113               }
114             },
115             "key_path": "/opt/app/pmsh/etc/certs/key.pem",
116             "aaf_identity": "dcae@dcae.onap.org",
117             "aaf_password": "demo123456!"
118           }
119         }
120       }
121     }
122   }
123 ]