summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources
diff options
context:
space:
mode:
authorraviteja.karumuri <raviteja.karumuri@est.tech>2023-04-13 23:44:41 +0100
committerraviteja.karumuri <raviteja.karumuri@est.tech>2023-05-23 17:53:05 +0100
commite9ac24f8ad866f81d1ceace6d0b8f010930e9f74 (patch)
tree9bf8b9135b190eea558c51542a776172a41df24a /cps-ncmp-service/src/test/resources
parent9b059e3ad4edc1ea8d2f62ec4bf82543a1e157c2 (diff)
NCMP : forward bulk response messages to client topic
Issue-ID: CPS-1557 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I0ea040e98987f992f46105afea0a171c4031d64f
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
-rw-r--r--cps-ncmp-service/src/test/resources/batchDataEvent.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/batchDataEvent.json b/cps-ncmp-service/src/test/resources/batchDataEvent.json
new file mode 100644
index 0000000000..49eb273f58
--- /dev/null
+++ b/cps-ncmp-service/src/test/resources/batchDataEvent.json
@@ -0,0 +1,46 @@
+{
+ "event":{
+ "batch-responses":[
+ {
+ "operationId":"1",
+ "ids":[
+ "123",
+ "124"
+ ],
+ "status-code":1,
+ "status-message":"Batch operation success on the above cmhandle ids ",
+ "data":{
+ "ietf-netconf-monitoring:netconf-state":{
+ "schemas":{
+ "schema":[
+ {
+ "identifier":"ietf-tls-server",
+ "version":"2016-11-02",
+ "format":"ietf-netconf-monitoring:yang",
+ "namespace":"urn:ietf:params:xml:ns:yang:ietf-tls-server",
+ "location":[
+ "NETCONF"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "operationId":"101",
+ "ids":[
+ "456",
+ "457"
+ ],
+ "status-code":101,
+ "status-message":"cmHandle(s) do not exist",
+ "data":{
+ "error":{
+ "message":"cmHandle(s) do not exist"
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file