diff options
Diffstat (limited to 'dmi-plugin-perf-stub/mappings')
-rw-r--r-- | dmi-plugin-perf-stub/mappings/module.json | 13 | ||||
-rw-r--r-- | dmi-plugin-perf-stub/mappings/moduleResources.json | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dmi-plugin-perf-stub/mappings/module.json b/dmi-plugin-perf-stub/mappings/module.json new file mode 100644 index 000000000..a1b35ba13 --- /dev/null +++ b/dmi-plugin-perf-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-perf-stub/mappings/moduleResources.json b/dmi-plugin-perf-stub/mappings/moduleResources.json new file mode 100644 index 000000000..4efb9b088 --- /dev/null +++ b/dmi-plugin-perf-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" + } + } +} |