Seperating usecase test suite dependencies
[integration/csit.git] / plans / usecases-5G-bulkpm / 5G-bulkpm / assets / cbs_sim / cbs-initializer.json
diff --git a/plans/usecases-5G-bulkpm/5G-bulkpm/assets/cbs_sim/cbs-initializer.json b/plans/usecases-5G-bulkpm/5G-bulkpm/assets/cbs_sim/cbs-initializer.json
new file mode 100644 (file)
index 0000000..e1677ba
--- /dev/null
@@ -0,0 +1,95 @@
+[{
+   "httpRequest":{
+      "method":"GET",
+      "path":"/service_component/pmmapper",
+      "headers":{
+         "!X-ONAP-RequestID":[
+            "!12345"
+         ],
+         "!X-ONAP-InvocationID":[
+            "!12345"
+         ],
+         "X-ONAP-PartnerName":[
+            "pm-mapper"
+         ],
+         "User-Agent":[
+            "Java/1.8.0_171"
+         ],
+         "Host":[
+            "!some-random-host:10000"
+         ],
+         "Accept":[
+            "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
+         ],
+         "Connection":[
+            "keep-alive"
+         ],
+         "content-length":[
+            "0"
+         ]
+      },
+      "keepAlive":true,
+      "secure":false
+   },
+   "httpResponse":{
+      "statusCode":200,
+      "headers":{
+         "content-type":[
+            "application/json"
+         ]
+      },
+      "body":{
+         "type":"JSON",
+         "json":{
+            "pm-mapper-filter":"{\"filters\": []}",
+            "key_store_path":"/opt/app/pm-mapper/etc/cert.jks",
+            "key_store_pass_path":"/opt/app/pm-mapper/etc/jks.pass",
+            "trust_store_path":"/opt/app/pm-mapper/etc/trust.jks",
+            "trust_store_pass_path":"/opt/app/pm-mapper/etc/trust.pass",
+            "dmaap_dr_delete_endpoint":"https://dmaap-dr-node:8443/delete",
+            "dmaap_dr_feed_name":"1",
+            "aaf_identity":"aaf_admin@people.osaaf.org",
+            "aaf_password":"demo123456!",
+            "enable_http":true,
+            "streams_publishes":{
+               "dmaap_publisher":{
+                  "type":"message_router",
+                  "dmaap_info":{
+                     "topic_url":"http://dmaap-message-router:3904/events/org.onap.dmaap.mr.VES_PM",
+                     "client_role":"org.onap.dcae.pmPublisher",
+                     "location":"csit-pmmapper",
+                     "client_id":"1562763644939"
+                  }
+               }
+            },
+            "streams_subscribes":{
+               "dmaap_subscriber":{
+                  "type":"data_router",
+                  "dmaap_info":{
+                     "username":"username",
+                     "password":"password",
+                     "location":"csit-pmmapper",
+                     "delivery_url":"http://dcae-pm-mapper:8081/delivery",
+                     "subscriber_id":1
+                  }
+               }
+            }
+         }
+      }
+   }
+},
+     {
+    "httpRequest": {
+      "path": "/health"
+    },
+    "httpResponse": {
+      "statusCode": 200,
+      "headers": {
+        "content-type": [
+          "application/json"
+        ]
+      },
+      "body": "{}"
+    }
+  }
+]