diff options
author | 2024-01-08 13:28:53 +0000 | |
---|---|---|
committer | 2024-01-08 17:00:54 +0000 | |
commit | 8e617d64a7725f5fb0f0f31a5c551ff3e1e484de (patch) | |
tree | 20442b66ad69948158b02d457bd24ff461b94d0f /cps-events/src/main/resources/schemas | |
parent | e85df99b47c27ba4ec993d4f2117332cb754321d (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/main/resources/schemas')
-rw-r--r-- | cps-events/src/main/resources/schemas/cps-data-updated-event-schema.json | 91 | ||||
-rw-r--r-- | cps-events/src/main/resources/schemas/dummy.txt | 0 |
2 files changed, 0 insertions, 91 deletions
diff --git a/cps-events/src/main/resources/schemas/cps-data-updated-event-schema.json b/cps-events/src/main/resources/schemas/cps-data-updated-event-schema.json deleted file mode 100644 index 3c95664d7..000000000 --- a/cps-events/src/main/resources/schemas/cps-data-updated-event-schema.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - - "$schema": "https://json-schema.org/draft/2019-09/schema", - "$id": "urn:cps:org.onap.cps:data-updated-event-schema:v2", - - "$ref": "#/definitions/CpsDataUpdatedEvent", - - "definitions": { - - "CpsDataUpdatedEvent": { - "description": "The payload for CPS data updated event.", - "type": "object", - "properties": { - "schema": { - "description": "The schema, including its version, that this event adheres to. E.g. 'urn:cps:org.onap.cps:data-updated-event-schema:v99'.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The unique id identifying the event for the specified source. Producer must ensure that source + id is unique for each distinct event.", - "type": "string" - }, - "source": { - "description": "The source of the event. Producer must ensure that source + id is unique for each distinct event.", - "type": "string", - "format": "uri" - }, - "type": { - "description": "The type of the event.", - "type": "string" - }, - "content": { - "$ref": "#/definitions/Content" - } - }, - "required": [ - "schema", - "id", - "source", - "type", - "content" - ], - "additionalProperties": true - }, - - "Content": { - "description": "The event content.", - "type": "object", - "properties": { - "observedTimestamp": { - "description": "The timestamp when the data has been observed. The expected format is 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'. Ex: '2020-12-01T00:00:00.000+0000' ", - "type": "string" - }, - "dataspaceName": { - "description": "The name of CPS Core dataspace the data belongs to.", - "type": "string" - }, - "schemaSetName": { - "description": "The name of CPS Core schema set the data adheres to.", - "type": "string" - }, - "anchorName": { - "description": "The name of CPS Core anchor the data is attached to.", - "type": "string" - }, - "operation": { - "description": "The operation on the data", - "type": "string", - "enum": ["CREATE", "UPDATE", "DELETE"] - }, - "data": { - "$ref": "#/definitions/Data" - } - }, - "required": [ - "observedTimestamp", - "dataspaceName", - "schemaSetName", - "anchorName" - ], - "additionalProperties": true - }, - - "Data": { - "description": "Data as json object.", - "type": "object" - } - - } - -} diff --git a/cps-events/src/main/resources/schemas/dummy.txt b/cps-events/src/main/resources/schemas/dummy.txt new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cps-events/src/main/resources/schemas/dummy.txt |