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 | |
egernug | a20121b | 2020-11-20 13:26:22 +0000 | [diff] [blame] | 32 | ], |
| 33 | "modelNames": [ |
| 34 | "pnf102" |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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", |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 85 | "enable_tls": true, |
| 86 | "ca_cert_path": "/opt/app/pmsh/etc/certs/cacert.pem", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 87 | "streams_publishes": { |
| 88 | "policy_pm_publisher": { |
| 89 | "dmaap_info": { |
| 90 | "client_id": "1475976809466", |
| 91 | "client_role": "org.onap.dcae.pmPublisher", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame] | 92 | "topic_url": "https://mr-sim:3095/events/unauthenticated.DCAE_CL_OUTPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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", |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 104 | "topic_url": "https://mr-sim:3095/events/AAI_EVENT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 105 | "location": "san-francisco" |
| 106 | } |
| 107 | }, |
| 108 | "policy_pm_subscriber": { |
| 109 | "dmaap_info": { |
| 110 | "location": "san-francisco", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame] | 111 | "topic_url": "https://mr-sim:3095/events/unauthenticated.PMSH_CL_INPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 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 | ] |