From 46722f78b391c28d2bb764358560bf4143f1a92f Mon Sep 17 00:00:00 2001 From: "raviteja.karumuri" Date: Wed, 4 Sep 2024 18:06:29 +0100 Subject: Status notifications: Remove statusNotificationUri optional input parameter when creating a Policy Issue-ID: CCSDK-4052 Change-Id: I4fccf2704938e2dc676f622eb36cd87d5091b4d4 Signed-off-by: Raviteja Karumuri --- a1-policy-management/api/pms-api-v3.yaml | 3 --- .../org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java | 2 -- 2 files changed, 5 deletions(-) (limited to 'a1-policy-management') 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(); } -- cgit 1.2.3-korg