diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2022-06-09 16:51:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-06-09 16:51:03 +0000 |
commit | 708d2b566a8b8cdf48e1dfe337369c946cec0e02 (patch) | |
tree | a280aef50a80e6b621e52ebf465ba2cdc6998164 /cps-ncmp-rest-stub/src/main/resources/stubs | |
parent | d6d8c200c02e417a232af556a022c8f24d09ac1b (diff) | |
parent | f9c5e6c865640ef07db8406baa95a5fafceb109a (diff) |
Merge "PoC Contract Stubs NCMP Rest Endpoints"
Diffstat (limited to 'cps-ncmp-rest-stub/src/main/resources/stubs')
-rw-r--r-- | cps-ncmp-rest-stub/src/main/resources/stubs/cmHandlesSearch.json | 10 | ||||
-rw-r--r-- | cps-ncmp-rest-stub/src/main/resources/stubs/passthrough-operational-example.json | 45 |
2 files changed, 55 insertions, 0 deletions
diff --git a/cps-ncmp-rest-stub/src/main/resources/stubs/cmHandlesSearch.json b/cps-ncmp-rest-stub/src/main/resources/stubs/cmHandlesSearch.json new file mode 100644 index 0000000000..409d56fa44 --- /dev/null +++ b/cps-ncmp-rest-stub/src/main/resources/stubs/cmHandlesSearch.json @@ -0,0 +1,10 @@ +{ + "cmHandles": [ + { + "cmHandleId": "stub-cm-handle-id" + }, + { + "cmHandleId": "stub-cm-handle-id2" + } + ] +}
\ No newline at end of file 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 |