Fix CSIT for PMSH
[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                 "modelInvariantIDs": [
28                   "7129e420-d396-4efb-af02-6b83499b12f8"
29                 ],
30                 "modelVersionIDs": [
31
32                 ],
33                 "modelNames": [
34
35                 ]
36               },
37               "measurementGroups": [
38                 {
39                   "measurementGroup": {
40                     "measurementTypes": [
41                       {
42                         "measurementType": "countera"
43                       },
44                       {
45                         "measurementType": "counterb"
46                       }
47                     ],
48                     "managedObjectDNsBasic": [
49                       {
50                         "DN": "dna"
51                       },
52                       {
53                         "DN": "dnb"
54                       }
55                     ]
56                   }
57                 },
58                 {
59                   "measurementGroup": {
60                     "measurementTypes": [
61                       {
62                         "measurementType": "counterc"
63                       },
64                       {
65                         "measurementType": "counterd"
66                       }
67                     ],
68                     "managedObjectDNsBasic": [
69                       {
70                         "DN": "dnc"
71                       },
72                       {
73                         "DN": "dnd"
74                       }
75                     ]
76                   }
77                 }
78               ]
79             }
80           },
81           "config": {
82             "control_loop_name": "pmsh-control-loop",
83             "operational_policy_name": "pmsh-operational-policy",
84             "cert_path": "/opt/app/pmsh/etc/certs/cert.pem",
85             "enable_tls": true,
86             "ca_cert_path": "/opt/app/pmsh/etc/certs/cacert.pem",
87             "streams_publishes": {
88               "policy_pm_publisher": {
89                 "dmaap_info": {
90                   "client_id": "1475976809466",
91                   "client_role": "org.onap.dcae.pmPublisher",
92                   "topic_url": "http://dmaap:3904/events/unauthenticated.DCAE_CL_OUTPUT",
93                   "location": "san-francisco"
94                 },
95                 "type": "message_router"
96               }
97             },
98             "streams_subscribes": {
99               "aai_subscriber": {
100                 "type": "message_router",
101                 "dmaap_info": {
102                   "client_id": "1575976809466",
103                   "client_role": "org.onap.dcae.aaiSub",
104                   "topic_url": "http://dmaap:3904/events/AAI_EVENT",
105                   "location": "san-francisco"
106                 }
107               },
108               "policy_pm_subscriber": {
109                 "dmaap_info": {
110                   "location": "san-francisco",
111                   "topic_url": "http://dmaap:3904/events/unauthenticated.PMSH_CL_INPUT",
112                   "client_role": "org.onap.dcae.pmSubscriber",
113                   "client_id": "1575876809456"
114                 },
115                 "type": "message_router"
116               }
117             },
118             "key_path": "/opt/app/pmsh/etc/certs/key.pem",
119             "aaf_identity": "dcae@dcae.onap.org",
120             "aaf_password": "demo123456!"
121           }
122         }
123       }
124     }
125   }
126 ]