aboutsummaryrefslogtreecommitdiffstats
path: root/cps-events/src/test/resources/event-v2-with-additional-properties.json
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-12-06 12:37:10 -0500
committerRenu Kumari <renu.kumari@bell.ca>2021-12-07 17:54:44 +0000
commita51102bd77465a85e41069d9c0f067adbe51f379 (patch)
tree988709f6a29fd68f2399b667a674fa947ceb160d /cps-events/src/test/resources/event-v2-with-additional-properties.json
parent60feed1cac9ffdd011d10e4fce65367af6520fc8 (diff)
Upgrade event schema to support delete operation
Issue-ID: CPS-789 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I2625f0cc068618bea820ad9503ee75c5a7ae4c5f
Diffstat (limited to 'cps-events/src/test/resources/event-v2-with-additional-properties.json')
-rw-r--r--cps-events/src/test/resources/event-v2-with-additional-properties.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/cps-events/src/test/resources/event-v2-with-additional-properties.json b/cps-events/src/test/resources/event-v2-with-additional-properties.json
new file mode 100644
index 0000000000..4e2db6898e
--- /dev/null
+++ b/cps-events/src/test/resources/event-v2-with-additional-properties.json
@@ -0,0 +1,36 @@
+{
+ "schema": "urn:cps:org.onap.cps:data-updated-event-schema:v2",
+ "id": "77b8f114-4562-4069-8234-6d059ff742ac",
+ "source": "urn:cps:org.onap.cps",
+ "type": "org.onap.cps.data-updated-event",
+ "content": {
+ "observedTimestamp": "2020-12-01T00:00:00.000+0000",
+ "dataspaceName": "my-dataspace",
+ "schemaSetName": "bookstore-schemaset",
+ "anchorName": "chapters",
+ "operation" : "CREATE",
+ "additionalField" : "value",
+ "data": {
+ "test:bookstore":{
+ "bookstore-name": "Chapters",
+ "categories": [
+ {
+ "code": "01",
+ "name": "SciFi",
+ "books": [
+ {
+ "authors": [
+ "Iain M. Banks"
+ ],
+ "lang": "en",
+ "price": 895,
+ "pub_year": "1994",
+ "title": "Feersum Endjinn"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}