summaryrefslogtreecommitdiffstats
path: root/csit/data/ncmp/bookstorePatchExample.json
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-12-13 09:56:49 +0000
committerGerrit Code Review <gerrit@onap.org>2023-12-13 09:56:49 +0000
commit7e94b26a666907cc97d692b8dda8364bb0a0ef45 (patch)
tree6ca90a5d54d5a53c16ab32a6f097d412dac2c0c1 /csit/data/ncmp/bookstorePatchExample.json
parenta72a36a338b8c6901e02742af8766baea57b0428 (diff)
parent14d37304d8b83efc099ba19d6f3e7d5d53fead29 (diff)
Merge "Clean up CSIT Test"
Diffstat (limited to 'csit/data/ncmp/bookstorePatchExample.json')
-rw-r--r--csit/data/ncmp/bookstorePatchExample.json59
1 files changed, 59 insertions, 0 deletions
diff --git a/csit/data/ncmp/bookstorePatchExample.json b/csit/data/ncmp/bookstorePatchExample.json
new file mode 100644
index 0000000000..039ea4bcdd
--- /dev/null
+++ b/csit/data/ncmp/bookstorePatchExample.json
@@ -0,0 +1,59 @@
+{
+ "ietf-restconf:yang-patch":{
+ "patch-id":"patch-1",
+ "edit":[
+ {
+ "edit-id":"edit1",
+ "operation":"merge",
+ "target":"/",
+ "value":{
+ "bookstore": {
+ "categories": [
+ {
+ "code": "100",
+ "books": [
+ {
+ "title": "A new book in a new category",
+ "pub_year": "2019",
+ "authors": [
+ "Rahul"
+ ],
+ "lang": "English",
+ "price": "2011"
+ }
+ ],
+ "name": "Category100"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "edit-id":"edit2",
+ "operation":"merge",
+ "target":"/",
+ "value":{
+ "bookstore": {
+ "categories": [
+ {
+ "code": "02",
+ "name": "Horror",
+ "books": [
+ {
+ "title": "A New book in existing category",
+ "lang": "English",
+ "authors": [
+ "Joe & Rahul"
+ ],
+ "pub_year": "2003",
+ "price": "2000"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file