diff options
author | raviteja.karumuri <raviteja.karumuri@est.tech> | 2024-10-21 13:02:43 +0100 |
---|---|---|
committer | raviteja.karumuri <raviteja.karumuri@est.tech> | 2024-10-21 13:02:43 +0100 |
commit | e76775df11879a0e26a078be39d2724884f17865 (patch) | |
tree | fddae88698ff812c295d3d2c2585d2bba70d79fa | |
parent | 651a7e2d2bff0283c0c6b67f71f9b7ac0a730c45 (diff) |
Fix the Notification URl Property Null Check on the Standard Client.
Issue-ID: CCSDK-4061
Change-Id: Icdcd31fdcf8031248d75e6d494d56760981243ca
Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
-rw-r--r-- | a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java index 3362b790..2f3ea8a6 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java @@ -59,7 +59,7 @@ public class StdA1ClientVersion2 implements A1Client { @Override public String createPutPolicyUri(String type, String policyId, String statusNotificationUri) { String policyUri = createPolicyUri(type, policyId); - if (statusNotificationUri.isEmpty()) { + if (statusNotificationUri == null || statusNotificationUri.isEmpty()) { return policyUri; } UriBuilderFactory builderFactory = new DefaultUriBuilderFactory(policyUri); |