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": { |
| 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", |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 80 | "enable_tls": true, |
| 81 | "ca_cert_path": "/opt/app/pmsh/etc/certs/cacert.pem", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 82 | "streams_publishes": { |
| 83 | "policy_pm_publisher": { |
| 84 | "dmaap_info": { |
| 85 | "client_id": "1475976809466", |
| 86 | "client_role": "org.onap.dcae.pmPublisher", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame^] | 87 | "topic_url": "https://mr-sim:3095/events/unauthenticated.DCAE_CL_OUTPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 88 | "location": "san-francisco" |
| 89 | }, |
| 90 | "type": "message_router" |
| 91 | } |
| 92 | }, |
| 93 | "streams_subscribes": { |
| 94 | "aai_subscriber": { |
| 95 | "type": "message_router", |
| 96 | "dmaap_info": { |
| 97 | "client_id": "1575976809466", |
| 98 | "client_role": "org.onap.dcae.aaiSub", |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 99 | "topic_url": "https://mr-sim:3095/events/AAI_EVENT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 100 | "location": "san-francisco" |
| 101 | } |
| 102 | }, |
| 103 | "policy_pm_subscriber": { |
| 104 | "dmaap_info": { |
| 105 | "location": "san-francisco", |
efiacor | 455efa4 | 2020-08-12 14:50:54 +0100 | [diff] [blame^] | 106 | "topic_url": "https://mr-sim:3095/events/unauthenticated.PMSH_CL_INPUT", |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 107 | "client_role": "org.onap.dcae.pmSubscriber", |
| 108 | "client_id": "1575876809456" |
| 109 | }, |
| 110 | "type": "message_router" |
| 111 | } |
| 112 | }, |
| 113 | "key_path": "/opt/app/pmsh/etc/certs/key.pem", |
| 114 | "aaf_identity": "dcae@dcae.onap.org", |
| 115 | "aaf_password": "demo123456!" |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | ] |