summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json
diff options
context:
space:
mode:
authorLuke Gleeson <luke.gleeson@est.tech>2023-07-27 10:20:54 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-27 10:20:54 +0000
commit113a61880e3188ddb45c938576f6a1ff9b309528 (patch)
tree995c957b01695a325e44edcea78fd635a7002551 /cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json
parentad6c8d4483ee93405f0bdcb175bfcfe9fa0dccb3 (diff)
parentd789956fbf88f856472f975487c1975df91dbe3e (diff)
Merge "Subscription Creation: NCMP to Client CloudEvent transformation"
Diffstat (limited to 'cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json')
-rw-r--r--cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json33
1 files changed, 18 insertions, 15 deletions
diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json b/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json
index 6bfa36bf79..2d83bdddcb 100644
--- a/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json
+++ b/cps-ncmp-service/src/test/resources/avcSubscriptionOutcomeEvent.json
@@ -1,20 +1,23 @@
{
- "eventType": "PARTIAL_OUTCOME",
- "event": {
- "subscription": {
- "clientID": "SCO-9989752",
- "name": "cm-subscription-001"
- },
- "predicates": {
- "rejectedTargets": [
- "CMHandle3"
+ "data": {
+ "statusCode": 104,
+ "statusMessage": "partially applied subscription",
+ "additionalInfo": {
+ "rejected": [
+ {
+ "details": "Target(s) do not exist",
+ "targets": ["CMHandle4"]
+ },
+ {
+ "details": "Faulty subscription format for target(s)",
+ "targets": ["CMHandle1", "CMHandle2", "CMHandle3"]
+ }
],
- "acceptedTargets": [
- "CMHandle1"
- ],
- "pendingTargets": [
- "CMHandle4",
- "CMHandle5"
+ "pending": [
+ {
+ "details": "EMS or node connectivity issues, retrying",
+ "targets": ["CMHandle5", "CMHandle6", "CMHandle7"]
+ }
]
}
}