summaryrefslogtreecommitdiffstats
path: root/dmi-plugin-stub
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-05-29 08:52:22 +0000
committerGerrit Code Review <gerrit@onap.org>2023-05-29 08:52:22 +0000
commit325ac091ddea291c5659fa6e803f132a578deb14 (patch)
tree3b06c9f393e97e54ae26ef7038123cc750df937c /dmi-plugin-stub
parentacae85ffc8eac8dd919b59b1fc804a1d3743eb0f (diff)
parentf232f30bede7d35c71db2d0201695a1416e37323 (diff)
Merge "NCMP: Update existing Batch endpoint (Moving url param into rest body)"
Diffstat (limited to 'dmi-plugin-stub')
-rw-r--r--dmi-plugin-stub/files/batchResponse.json4
-rw-r--r--dmi-plugin-stub/mappings/batchCmHandles.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/dmi-plugin-stub/files/batchResponse.json b/dmi-plugin-stub/files/batchResponse.json
index b0615df945..9181b64f21 100644
--- a/dmi-plugin-stub/files/batchResponse.json
+++ b/dmi-plugin-stub/files/batchResponse.json
@@ -2,8 +2,8 @@
"eventId": "4cb32729-85e3-44d1-aa6e-c923b9b059a5",
"eventCorrelationId": "68f15800-8ed4-4bae-9e53-27a9e03e1911",
"eventTime": "2023-03-28T14:29:23.876+0000",
- "eventType": "org.onap.cps.ncmp.event.model.BulkResponseEvent",
- "eventSchema": "urn:cps:org.onap.cps.ncmp.event.model.BulkResponseEvent",
+ "eventType": "org.onap.cps.ncmp.event.model.BatchResponseEvent",
+ "eventSchema": "urn:cps:org.onap.cps.ncmp.event.model.BatchResponseEvent",
"eventSchemaVersion": "v1",
"event": {
"payload": [
diff --git a/dmi-plugin-stub/mappings/batchCmHandles.json b/dmi-plugin-stub/mappings/batchCmHandles.json
index 5f290cd47d..851959bf92 100644
--- a/dmi-plugin-stub/mappings/batchCmHandles.json
+++ b/dmi-plugin-stub/mappings/batchCmHandles.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "POST",
- "urlPattern": "/dmi/v1/batch/data/ds/.*"
+ "urlPattern": "/dmi/v1/data?.*"
},
"response": {
"status": 200,