blob: 222aafd53f906c02c715f635295e6aa86ce18395 [file] [log] [blame]
AndyWalsheb412c7b2020-02-13 15:05:21 +00001[
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": "UNLOCKED",
20 "fileBasedGP": 15,
21 "fileLocation": "/pm/pm.xml",
22 "nfTypeModelInvariantId": "2829292",
23 "nfFilter": {
24 "swVersions": [
25 "1.0.0",
26 "1.0.1"
27 ],
28 "nfNames": [
29 "^pnf.*",
30 "^vnf.*"
31 ]
32 },
33 "measurementGroups": [
34 {
35 "measurementGroup": {
36 "measurementTypes": [
37 {
38 "measurementType": "countera"
39 },
40 {
41 "measurementType": "counterb"
42 }
43 ],
44 "managedObjectDNsBasic": [
45 {
46 "DN": "dna"
47 },
48 {
49 "DN": "dnb"
50 }
51 ]
52 }
53 },
54 {
55 "measurementGroup": {
56 "measurementTypes": [
57 {
58 "measurementType": "counterc"
59 },
60 {
61 "measurementType": "counterd"
62 }
63 ],
64 "managedObjectDNsBasic": [
65 {
66 "DN": "dnc"
67 },
68 {
69 "DN": "dnd"
70 }
71 ]
72 }
73 }
74 ]
75 }
76 },
77 "config": {
78 "cert_path": "/opt/app/pmsh/etc/certs/cert.pem",
79 "streams_publishes": {
80 "policy_pm_publisher": {
81 "dmaap_info": {
82 "client_id": "1475976809466",
83 "client_role": "org.onap.dcae.pmPublisher",
84 "topic_url": "https://node:30226/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
85 "location": "san-francisco"
86 },
87 "type": "message_router"
88 },
89 "other_publisher": {
90 "dmaap_info": {
91 "location": "san-francisco",
92 "topic_url": "https://node:30226/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC",
93 "client_role": "org.onap.dcae.pmControlPub",
94 "client_id": "1875976809466"
95 },
96 "type": "message_router"
97 }
98 },
99 "streams_subscribes": {
100 "aai_subscriber": {
101 "type": "message_router",
102 "dmaap_info": {
103 "client_id": "1575976809466",
104 "client_role": "org.onap.dcae.aaiSub",
105 "topic_url": "https://node:30226/events/AAI_EVENT",
106 "location": "san-francisco"
107 }
108 },
109 "policy_pm_subscriber": {
110 "dmaap_info": {
111 "location": "san-francisco",
112 "topic_url": "https://node:30226/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
113 "client_role": "org.onap.dcae.pmSubscriber",
114 "client_id": "1575876809456"
115 },
116 "type": "message_router"
117 }
118 },
119 "key_path": "/opt/app/pmsh/etc/certs/key.pem",
120 "aaf_identity": "dcae@dcae.onap.org",
121 "aaf_password": "demo123456!"
122 }
123 }
124 }
125 }
126 },
127 {
128 "httpRequest": {
129 "path": "/aai/v16/query.*"
130 },
131 "httpResponse": {
132 "statusCode": 200,
133 "headers": {
134 "content-type": [
135 "application/json"
136 ]
137 },
138 "body": {
139 "type": "JSON",
140 "json": {
141 "results": [
142 {
143 "id": "327736",
144 "node-type": "pnf",
145 "url": "/aai/v16/network/pnfs/pnf/pnf207",
146 "properties": {
147 "pnf-name": "pnf207",
148 "pnf-id": "55e57cd1-ab8b-40cd-97d5-cfc774fef616",
149 "equip-type": "val8",
150 "equip-vendor": "Nokia",
151 "equip-model": "val6",
152 "ipaddress-v4-oam": "10.10.10.26",
153 "sw-version": "val7",
154 "in-maint": false,
155 "serial-number": "6061ZW3",
156 "ipaddress-v6-oam": "2001:0db8:0:0:0:0:1428:57ab",
157 "resource-version": "1573066346347",
158 "nf-role": "gNB"
159 }
160 },
161 {
162 "id": "241864",
163 "node-type": "generic-vnf",
164 "url": "/aai/v16/network/generic-vnfs/generic-vnf/1083ecbb-f3b3-49da-b5f5-b5962140ee99",
165 "properties": {
166 "vnf-id": "1083ecbb-f3b3-49da-b5f5-b5962140ee99",
167 "vnf-name": "vnf",
168 "vnf-type": "demoVCPEvBNG/vCPE_vbng 5eb5661a-0cb6 0",
169 "service-id": "2db01c96-4baa-4393-8d79-af8d7bf4698e",
170 "prov-status": "PREPROV",
171 "orchestration-status": "Inventoried",
172 "in-maint": false,
173 "is-closed-loop-disabled": false,
174 "resource-version": "1575541662410",
175 "model-invariant-id": "7129e420-d396-4efb-af02-6b83499b12f8",
176 "model-version-id": "e80a6ae3-cafd-4d24-850d-e14c084a5ca9",
177 "model-customization-id": "376dbe87-e9c5-4f2b-80e2-a420b373ee87"
178 }
179 }
180 ]
181 }
182 }
183 }
184 }
185]