From becc9cee3a19f4c3d34d3cd6c564754c7c70861c Mon Sep 17 00:00:00 2001 From: leventecsanyi Date: Wed, 5 Apr 2023 12:57:14 +0200 Subject: Expose endpoint to accept bulk request - added wiremock mapping for testing/demo Issue-ID: CPS-1555 Change-Id: I82af6c43e80a346efcd84aae8945572aa37a6875 Signed-off-by: leventecsanyi --- dmi-plugin-stub/mappings/moduleResources.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dmi-plugin-stub/mappings/moduleResources.json (limited to 'dmi-plugin-stub/mappings/moduleResources.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" + } + } +} -- cgit 1.2.3-korg