aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraviteja.karumuri <raviteja.karumuri@est.tech>2024-09-04 18:06:29 +0100
committerRAVITEJA KARUMURI <raviteja.karumuri@est.tech>2024-09-05 14:19:50 +0000
commit46722f78b391c28d2bb764358560bf4143f1a92f (patch)
treed5a01ac137644719b550a28765ac21f874189f83
parentaa14206e61fe230a65dbc8ca0b46d9155b5736ff (diff)
Status notifications: Remove statusNotificationUri optional input parameter when creating a Policy
Issue-ID: CCSDK-4052 Change-Id: I4fccf2704938e2dc676f622eb36cd87d5091b4d4 Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
-rw-r--r--a1-policy-management/api/pms-api-v3.yaml3
-rw-r--r--a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java2
2 files changed, 0 insertions, 5 deletions
diff --git a/a1-policy-management/api/pms-api-v3.yaml b/a1-policy-management/api/pms-api-v3.yaml
index 44038e73..d2d613ad 100644
--- a/a1-policy-management/api/pms-api-v3.yaml
+++ b/a1-policy-management/api/pms-api-v3.yaml
@@ -877,9 +877,6 @@ components:
'rApp ID'
policyObject:
$ref: '#/components/schemas/PolicyObject'
- statusNotificationUri:
- description: Callback URI for policy status updates
- type: string
policyTypeId:
description: identity of the policy type
type: string
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java
index 0cb91353..406dec06 100644
--- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java
+++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java
@@ -93,8 +93,6 @@ public class Helper {
: policyObjectInformation.getServiceId())
.lastModified(Instant.now())
.isTransient(policyObjectInformation.getTransient())
- .statusNotificationUri(policyObjectInformation.getStatusNotificationUri() == null ? ""
- : policyObjectInformation.getStatusNotificationUri())
.build();
}