diff options
Diffstat (limited to 'cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs')
2 files changed, 53 insertions, 0 deletions
diff --git a/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs/cmHandlesSearch.json b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs/cmHandlesSearch.json new file mode 100644 index 0000000000..9a2e1ed5d1 --- /dev/null +++ b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs/cmHandlesSearch.json @@ -0,0 +1,8 @@ +[ + { + "cmHandle": "stub-cm-handle-id" + }, + { + "cmHandle": "stub-cm-handle-id2" + } + ]
\ No newline at end of file diff --git a/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs/passthrough-operational-example.json b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/stubs/passthrough-operational-example.json new file mode 100644 index 0000000000..1838b47ca9 --- /dev/null +++ b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/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 |