summaryrefslogtreecommitdiffstats
path: root/dmi-plugin-stub/mappings
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-07-03 13:03:51 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-03 13:03:51 +0000
commitddb8fce4f4300bb7cd1f477d846269d93f5036ae (patch)
treeda5aafec6abd74e6ec94e5e420e86f6da7a17bc5 /dmi-plugin-stub/mappings
parent5388f2299156f9a85202c746b790e8e2434eb2c1 (diff)
parent8b03b9a2899d1ab55706839562733c854678bf7f (diff)
Merge "Modify dmi plugin stub mapping of data operation"
Diffstat (limited to 'dmi-plugin-stub/mappings')
-rw-r--r--dmi-plugin-stub/mappings/batchCmHandles.json13
-rw-r--r--dmi-plugin-stub/mappings/dataOperationRequest.json9
2 files changed, 9 insertions, 13 deletions
diff --git a/dmi-plugin-stub/mappings/batchCmHandles.json b/dmi-plugin-stub/mappings/batchCmHandles.json
deleted file mode 100644
index 851959bf9..000000000
--- a/dmi-plugin-stub/mappings/batchCmHandles.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "request": {
- "method": "POST",
- "urlPattern": "/dmi/v1/data?.*"
- },
- "response": {
- "status": 200,
- "bodyFileName": "batchResponse.json",
- "headers": {
- "Content-Type": "application/json"
- }
- }
-}
diff --git a/dmi-plugin-stub/mappings/dataOperationRequest.json b/dmi-plugin-stub/mappings/dataOperationRequest.json
new file mode 100644
index 000000000..1df7363dd
--- /dev/null
+++ b/dmi-plugin-stub/mappings/dataOperationRequest.json
@@ -0,0 +1,9 @@
+{
+ "request": {
+ "method": "POST",
+ "urlPattern": "/dmi/v1/data?.*"
+ },
+ "response": {
+ "status": 501
+ }
+}