Scheduled task for Subscription Response 16/137516/13
authormpriyank <priyank.maheshwari@est.tech>
Thu, 14 Mar 2024 09:11:27 +0000 (09:11 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Wed, 27 Mar 2024 12:07:40 +0000 (12:07 +0000)
commit2b7a3d4eb23ab62da84e2fdded6fd0f48698573d
treeecb45a4ba1ca8279e72c6e32ea2d82963da8c69d
parent4e2c927201143795748e599d205ebe46679c7e05
Scheduled task for Subscription Response

- Need to send the response back to the client in max 30 secs
- Also have the capability to send the response right away
- Testware added for the same
- Also added code to cancel the scheduled task
- Added state for cancelling the task

Issue-ID: CPS-2140
Change-Id: I3ab321d8221cd8f697c26be46d2e63d89b360923
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmNotificationSubscriptionNcmpOutEventProducer.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmNotificationSubscriptionNcmpOutEventPublishingTask.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmNotificationSubscriptionNcmpOutEventProducerSpec.groovy