Add APIs to control notification subscription 90/139790/20
authorrajesh.kumar <rk00747546@techmahindra.com>
Tue, 24 Dec 2024 08:10:06 +0000 (13:40 +0530)
committerrajesh.kumar <rk00747546@techmahindra.com>
Wed, 5 Mar 2025 05:49:34 +0000 (11:19 +0530)
commita6e58e73589e12cd52992bdf6177971dc88dd4c5
tree1f6b732ee0ac323c4ac08cb948a37d0f88ecb783
parent4c645ef7d6e5a76a7d26991c247533cb75e64e22
Add APIs to control notification subscription

  - Add API for notification subscription
  - Add API for notification unsubscription
  - Add API for getting notification subscription information

Issue-ID: CPS-2428
Change-Id: I56c34400dc73c71b936a51260efd241224dccdba
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
15 files changed:
cps-rest/docs/openapi/components.yml
cps-rest/docs/openapi/cpsAdminV2.yml
cps-rest/docs/openapi/openapi.yml
cps-rest/src/main/java/org/onap/cps/rest/controller/AdminRestController.java
cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy
cps-rest/src/test/groovy/org/onap/cps/rest/exceptions/CpsRestExceptionHandlerSpec.groovy
cps-service/src/main/java/org/onap/cps/api/CpsNotificationService.java [new file with mode: 0644]
cps-service/src/main/java/org/onap/cps/events/CpsDataUpdateEventsService.java
cps-service/src/main/java/org/onap/cps/impl/CpsNotificationServiceImpl.java [new file with mode: 0644]
cps-service/src/main/java/org/onap/cps/init/CpsNotificationSubscriptionModelLoader.java
cps-service/src/test/groovy/org/onap/cps/events/CpsDataUpdateEventsServiceSpec.groovy
cps-service/src/test/groovy/org/onap/cps/impl/CpsNotificationServiceImplSpec.groovy [new file with mode: 0644]
cps-service/src/test/groovy/org/onap/cps/init/CpsNotificationSubscriptionModelLoaderSpec.groovy
cps-service/src/test/resources/cps-notification-subscriptions@2024-07-03.yang [new file with mode: 0644]
docs/api/swagger/cps/openapi.yaml