From 632942a71dd28907fdc20036fcb864458f9be07b Mon Sep 17 00:00:00 2001 From: seanbeirne Date: Tue, 6 Dec 2022 11:12:18 +0000 Subject: Consume Subscription Creation Event Issue-ID: CPS-1392 Signed-off-by: seanbeirne Change-Id: I0a5a8c256319a1a2944ee6606db1c14b50e8f8e4 --- .../src/test/resources/application.yml | 5 +++++ .../resources/avcSubscriptionCreationEvent.json | 23 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 cps-ncmp-service/src/test/resources/avcSubscriptionCreationEvent.json (limited to 'cps-ncmp-service/src/test/resources') diff --git a/cps-ncmp-service/src/test/resources/application.yml b/cps-ncmp-service/src/test/resources/application.yml index 8d8bfaf9b4..4009e564a8 100644 --- a/cps-ncmp-service/src/test/resources/application.yml +++ b/cps-ncmp-service/src/test/resources/application.yml @@ -16,6 +16,11 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= +app: + ncmp: + avc: + subscription-topic: test-avc-subscription + ncmp: dmi: auth: diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEvent.json b/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEvent.json new file mode 100644 index 0000000000..1d84c3a5f2 --- /dev/null +++ b/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEvent.json @@ -0,0 +1,23 @@ +{ + "version": "1.0", + "eventType": "CREATE", + "event": { + "subscription": { + "clientID": "SCO-9989752", + "name": "cm-subscription-001" + }, + "dataType": { + "dataspace": "ALL", + "dataCategory": "CM", + "dataProvider": "CM-SERVICE", + "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641", + "schemaVersion": "1.0" + }, + "predicates": { + "datastore": "passthrough-operational", + "datastore-xpath-filter": "//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/ ", + "_3gpp-nr-nrm-nrcelldu": "NRCellDU" + + } + } +} \ No newline at end of file -- cgit