summaryrefslogtreecommitdiffstats
path: root/dmi-plugin-stub/files/batchResponse.json
diff options
context:
space:
mode:
authorleventecsanyi <levente.csanyi@est.tech>2023-04-05 12:57:14 +0200
committerleventecsanyi <levente.csanyi@est.tech>2023-04-05 12:57:35 +0200
commitbecc9cee3a19f4c3d34d3cd6c564754c7c70861c (patch)
treeb52e4ea8d77abc912d12467309094fe518c99a04 /dmi-plugin-stub/files/batchResponse.json
parentdd3643411ed8bb581a3147e07606919c3b1675d3 (diff)
Expose endpoint to accept bulk request
- added wiremock mapping for testing/demo Issue-ID: CPS-1555 Change-Id: I82af6c43e80a346efcd84aae8945572aa37a6875 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Diffstat (limited to 'dmi-plugin-stub/files/batchResponse.json')
-rw-r--r--dmi-plugin-stub/files/batchResponse.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/dmi-plugin-stub/files/batchResponse.json b/dmi-plugin-stub/files/batchResponse.json
new file mode 100644
index 0000000000..b0615df945
--- /dev/null
+++ b/dmi-plugin-stub/files/batchResponse.json
@@ -0,0 +1,40 @@
+{
+ "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",
+ "eventSchemaVersion": "v1",
+ "event": {
+ "payload": [
+ {
+ "cmHandle": "CmHandle5",
+ "additionalProperties": [
+ {
+ "Shape": "cube",
+ "Size": "small",
+ "Color": "yellow"
+ }
+ ],
+ "state": {
+ "cmHandleState": "READY",
+ "lastUpdateTime": "2023-04-03T20:03:19.832+0000"
+ }
+ },
+ {
+ "cmHandle": "CmHandle6",
+ "additionalProperties": [
+ {
+ "Shape": "cube",
+ "Size": "small",
+ "Color": "yellow"
+ }
+ ],
+ "state": {
+ "cmHandleState": "READY",
+ "lastUpdateTime": "2023-04-02T20:01:19.832+0000"
+ }
+ }
+ ]
+ }
+} \ No newline at end of file