diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2023-04-12 12:57:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-04-12 12:57:52 +0000 |
commit | fabc72d633468d2f94346896bc8b09687248731e (patch) | |
tree | d86d0cbdc857193bd01c63dd0b9d5faedf8d8b30 /dmi-plugin-stub/mappings | |
parent | b99ae09807a2893e0678d2209b4ee08194f95fe8 (diff) | |
parent | becc9cee3a19f4c3d34d3cd6c564754c7c70861c (diff) |
Merge "Expose endpoint to accept bulk request"
Diffstat (limited to 'dmi-plugin-stub/mappings')
-rw-r--r-- | dmi-plugin-stub/mappings/batchCmHandles.json | 13 | ||||
-rw-r--r-- | dmi-plugin-stub/mappings/module.json | 13 | ||||
-rw-r--r-- | dmi-plugin-stub/mappings/moduleResources.json | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dmi-plugin-stub/mappings/batchCmHandles.json b/dmi-plugin-stub/mappings/batchCmHandles.json new file mode 100644 index 0000000000..2018516b4c --- /dev/null +++ b/dmi-plugin-stub/mappings/batchCmHandles.json @@ -0,0 +1,13 @@ +{ + "request": { + "method": "POST", + "urlPattern": "/dmi/v1/ch/batch/data/ds/.*" + }, + "response": { + "status": 200, + "bodyFileName": "batchResponse.json", + "headers": { + "Content-Type": "application/json" + } + } +} diff --git a/dmi-plugin-stub/mappings/module.json b/dmi-plugin-stub/mappings/module.json new file mode 100644 index 0000000000..a1b35ba132 --- /dev/null +++ b/dmi-plugin-stub/mappings/module.json @@ -0,0 +1,13 @@ +{ + "request": { + "method": "POST", + "urlPattern": "/dmi/v1/ch/.*/modules" + }, + "response": { + "status": 200, + "bodyFileName": "moduleResponse.json", + "headers": { + "Content-Type": "application/json" + } + } +} diff --git a/dmi-plugin-stub/mappings/moduleResources.json b/dmi-plugin-stub/mappings/moduleResources.json new file mode 100644 index 0000000000..4efb9b0886 --- /dev/null +++ b/dmi-plugin-stub/mappings/moduleResources.json @@ -0,0 +1,13 @@ +{ + "request": { + "method": "POST", + "urlPattern": "/dmi/v1/ch/.*/moduleResources" + }, + "response": { + "status": 200, + "bodyFileName": "moduleResourcesResponse.json", + "headers": { + "Content-Type": "application/json" + } + } +} |