diff options
author | aditya puthuparambil <aditya.puthuparambil@bell.ca> | 2022-01-21 12:23:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-01-21 12:23:11 +0000 |
commit | db1e983f40be1db7bca5acacf5a3369d74a29c95 (patch) | |
tree | b552087409b305e12fce2844d7e994d30481b99e /csit/data | |
parent | 87b991eb6502c20f441d00faa953f82de04fe12d (diff) | |
parent | ecd7f5e418c17d8f0f3f12af4fd0a543084e8254 (diff) |
Merge "patch operation for ncmp running"
Diffstat (limited to 'csit/data')
-rw-r--r-- | csit/data/bookstorePatchExample.json | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/csit/data/bookstorePatchExample.json b/csit/data/bookstorePatchExample.json new file mode 100644 index 0000000000..039ea4bcdd --- /dev/null +++ b/csit/data/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 |