summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-05-12 16:31:00 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-06-07 12:13:28 +0100
commitf9c5e6c865640ef07db8406baa95a5fafceb109a (patch)
tree1eb37b928f6850dd7c21caa0b207493931c3262f /cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json
parent240fbe95dde33a2a06618579a93c247e9bb56c5e (diff)
PoC Contract Stubs NCMP Rest Endpoints
Stubs defined for cmHandleSearch and passthrough operational Issue-ID: CPS-919 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I4fd7bee8fa70ed237f74c721068ffa39817d5c7a
Diffstat (limited to 'cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json')
-rw-r--r--cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json b/cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json
new file mode 100644
index 0000000000..1838b47ca9
--- /dev/null
+++ b/cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json
@@ -0,0 +1,45 @@
+{
+ "stores:bookstore": {
+ "categories": [
+ {
+ "code": "02",
+ "books": [
+ {
+ "title": "A Horror book",
+ "price": "2000",
+ "pub_year": 2003,
+ "lang": "English",
+ "authors": [
+ "Joe"
+ ]
+ },
+ {
+ "title": "Another Horror Book",
+ "price": "2000",
+ "pub_year": 2003,
+ "lang": "English",
+ "authors": [
+ "Joe"
+ ]
+ }
+ ],
+ "name": "Horror"
+ },
+ {
+ "code": "100",
+ "books": [
+ {
+ "title": "A Cook book",
+ "price": "2011",
+ "pub_year": 2019,
+ "lang": "English",
+ "authors": [
+ "Rahul"
+ ]
+ }
+ ],
+ "name": "Cooking Books"
+ }
+ ]
+ }
+} \ No newline at end of file