diff options
author | leventecsanyi <levente.csanyi@est.tech> | 2023-04-05 12:57:14 +0200 |
---|---|---|
committer | leventecsanyi <levente.csanyi@est.tech> | 2023-04-05 12:57:35 +0200 |
commit | becc9cee3a19f4c3d34d3cd6c564754c7c70861c (patch) | |
tree | b52e4ea8d77abc912d12467309094fe518c99a04 /dmi-plugin-stub/mappings/module.json | |
parent | dd3643411ed8bb581a3147e07606919c3b1675d3 (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/mappings/module.json')
-rw-r--r-- | dmi-plugin-stub/mappings/module.json | 13 |
1 files changed, 13 insertions, 0 deletions
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" + } + } +} |