blob: 6f6972f40d3203af2de6fd5708fd1a2d878d4655 [file] [log] [blame]
AndyWalshe48496a52020-03-12 12:52:19 +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 "nfFilter": {
23 "swVersions": [
24 "1.0.0",
25 "1.0.1"
26 ],
27 "nfNames": [
28 "^pnf.*",
29 "^vnf.*"
30 ]
31 },
32 "measurementGroups": [
33 {
34 "measurementGroup": {
35 "measurementTypes": [
36 {
37 "measurementType": "countera"
38 },
39 {
40 "measurementType": "counterb"
41 }
42 ],
43 "managedObjectDNsBasic": [
44 {
45 "DN": "dna"
46 },
47 {
48 "DN": "dnb"
49 }
50 ]
51 }
52 },
53 {
54 "measurementGroup": {
55 "measurementTypes": [
56 {
57 "measurementType": "counterc"
58 },
59 {
60 "measurementType": "counterd"
61 }
62 ],
63 "managedObjectDNsBasic": [
64 {
65 "DN": "dnc"
66 },
67 {
68 "DN": "dnd"
69 }
70 ]
71 }
72 }
73 ]
74 }
75 },
76 "config": {
77 "control_loop_name": "pmsh-control-loop",
78 "operational_policy_name": "pmsh-operational-policy",
79 "cert_path": "/opt/app/pmsh/etc/certs/cert.pem",
80 "streams_publishes": {
81 "policy_pm_publisher": {
82 "dmaap_info": {
83 "client_id": "1475976809466",
84 "client_role": "org.onap.dcae.pmPublisher",
85 "topic_url": "https://mr-sim:1080/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
86 "location": "san-francisco"
87 },
88 "type": "message_router"
89 }
90 },
91 "streams_subscribes": {
92 "aai_subscriber": {
93 "type": "message_router",
94 "dmaap_info": {
95 "client_id": "1575976809466",
96 "client_role": "org.onap.dcae.aaiSub",
97 "topic_url": "https://mr-sim:1080/events/AAI_EVENT",
98 "location": "san-francisco"
99 }
100 },
101 "policy_pm_subscriber": {
102 "dmaap_info": {
103 "location": "san-francisco",
104 "topic_url": "https://mr-sim:1080/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS",
105 "client_role": "org.onap.dcae.pmSubscriber",
106 "client_id": "1575876809456"
107 },
108 "type": "message_router"
109 }
110 },
111 "key_path": "/opt/app/pmsh/etc/certs/key.pem",
112 "aaf_identity": "dcae@dcae.onap.org",
113 "aaf_password": "demo123456!"
114 }
115 }
116 }
117 }
118 }
119]