diff options
author | halil.cakal <halil.cakal@est.tech> | 2023-05-08 14:18:26 +0100 |
---|---|---|
committer | halil.cakal <halil.cakal@est.tech> | 2023-06-01 16:06:35 +0100 |
commit | 900261c1935dba87179d2e4aa36cede4826186ca (patch) | |
tree | 7ba7991da8af1981e8444fb50bf49c32ffa359ae /cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json | |
parent | ec3a1d19456b034593b2a365c044a3904c32e98d (diff) |
Subscription Create Event Outcome Kafka Part
- Add subscription event outcome schema with java type for pojos
- Add subscription event outcome json for testing
- Add mapper to convert subscription response to event outcome
- Add a bean to handle subscription response outcome tasks
- Change response consumer to publish outcome for client app
- Change response timeout task to publish outcome for client app
- Change subscription persistance to read datanodes
- Add helper to extract cm handle to status mapping from data nodes
event
- Fix code smells
Issue-ID: CPS-1507
Change-Id: I70195073490f456f014e53c1f59d1b6761d18cd4
Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json b/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json new file mode 100644 index 0000000000..6bfa36bf79 --- /dev/null +++ b/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json @@ -0,0 +1,21 @@ +{ + "eventType": "PARTIAL_OUTCOME", + "event": { + "subscription": { + "clientID": "SCO-9989752", + "name": "cm-subscription-001" + }, + "predicates": { + "rejectedTargets": [ + "CMHandle3" + ], + "acceptedTargets": [ + "CMHandle1" + ], + "pendingTargets": [ + "CMHandle4", + "CMHandle5" + ] + } + } +}
\ No newline at end of file |