AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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": "UNLOCKED", |
| 20 | "fileBasedGP": 15, |
| 21 | "fileLocation": "/pm/pm.xml", |
| 22 | "nfFilter": { |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 23 | "nfNames": [ |
| 24 | "^pnf.*", |
| 25 | "^vnf.*" |
egernug | ab47e4e | 2020-09-07 11:05:03 +0100 | [diff] [blame] | 26 | ], |
| 27 | "modelInvariantUUIDs": [ |
| 28 | "7129e420-d396-4efb-af02-6b83499b12f8" |
| 29 | ], |
| 30 | "modelVersionIDs": [ |
| 31 | |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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", |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 82 | "enable_tls": true, |
| 83 | "ca_cert_path": "/opt/app/pmsh/etc/certs/cacert.pem", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 84 | "streams_publishes": { |
| 85 | "policy_pm_publisher": { |
| 86 | "dmaap_info": { |
| 87 | "client_id": "1475976809466", |
| 88 | "client_role": "org.onap.dcae.pmPublisher", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame] | 89 | "topic_url": "https://mr-sim:3095/events/unauthenticated.DCAE_CL_OUTPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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", |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 101 | "topic_url": "https://mr-sim:3095/events/AAI_EVENT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 102 | "location": "san-francisco" |
| 103 | } |
| 104 | }, |
| 105 | "policy_pm_subscriber": { |
| 106 | "dmaap_info": { |
| 107 | "location": "san-francisco", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame] | 108 | "topic_url": "https://mr-sim:3095/events/unauthenticated.PMSH_CL_INPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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 | ] |