summaryrefslogtreecommitdiffstats
path: root/cps-events/src/test/resources
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2024-01-08 13:28:53 +0000
committerJvD_Ericsson <jeff.van.dam@est.tech>2024-01-08 17:00:54 +0000
commit8e617d64a7725f5fb0f0f31a5c551ff3e1e484de (patch)
tree20442b66ad69948158b02d457bd24ff461b94d0f /cps-events/src/test/resources
parente85df99b47c27ba4ec993d4f2117332cb754321d (diff)
Clean up cps temporal related notification code
- remove 'test' level folder - remove schemas but leave structure - remove 'data-updated' from test application.yaml - remove NOTIFICATION_DATASPACE_FILTER_PATTERNS from docker-compose Issue-ID: CPS-2005 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I3962d795c760de6ba5ff353e85894895437ad5e7
Diffstat (limited to 'cps-events/src/test/resources')
-rw-r--r--cps-events/src/test/resources/event-v1.json34
-rw-r--r--cps-events/src/test/resources/event-v2-create-operation.json36
-rw-r--r--cps-events/src/test/resources/event-v2-delete-operation.json13
-rw-r--r--cps-events/src/test/resources/event-v2-with-additional-properties.json36
4 files changed, 0 insertions, 119 deletions
diff --git a/cps-events/src/test/resources/event-v1.json b/cps-events/src/test/resources/event-v1.json
deleted file mode 100644
index 753426a60a..0000000000
--- a/cps-events/src/test/resources/event-v1.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "schema": "urn:cps:org.onap.cps:data-updated-event-schema:v1",
- "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",
- "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"
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/cps-events/src/test/resources/event-v2-create-operation.json b/cps-events/src/test/resources/event-v2-create-operation.json
deleted file mode 100644
index 92ecab34f9..0000000000
--- a/cps-events/src/test/resources/event-v2-create-operation.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "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",
- "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"
- }
- ]
- }
- ]
- }
- }
- }
-}
-
diff --git a/cps-events/src/test/resources/event-v2-delete-operation.json b/cps-events/src/test/resources/event-v2-delete-operation.json
deleted file mode 100644
index e003088bff..0000000000
--- a/cps-events/src/test/resources/event-v2-delete-operation.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "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" : "DELETE"
- }
-} \ No newline at end of file
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
deleted file mode 100644
index 4e2db6898e..0000000000
--- a/cps-events/src/test/resources/event-v2-with-additional-properties.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "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"
- }
- ]
- }
- ]
- }
- }
- }
-}