diff options
author | 2022-05-20 08:40:21 +0000 | |
---|---|---|
committer | 2022-05-20 08:40:21 +0000 | |
commit | c0b1de6357e294dffdf5ce0219950e0b3bf374ce (patch) | |
tree | 4e5b8d777f4f52df14ba69f4cb24e13e959af72a /cps-ncmp-service/src/main/java | |
parent | b0623697898de50afce9a4d23085594d5e8d2ef7 (diff) | |
parent | ef62391fb034f599f92b113e27f90f7cedc1a5c0 (diff) |
Merge "URI is not absolute when service name is not set"
Diffstat (limited to 'cps-ncmp-service/src/main/java')
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/YangModelCmHandleRetriever.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/YangModelCmHandleRetriever.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/YangModelCmHandleRetriever.java index b1ac91d7a..5063e8298 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/YangModelCmHandleRetriever.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/YangModelCmHandleRetriever.java @@ -55,9 +55,9 @@ public class YangModelCmHandleRetriever { ncmpServiceCmHandle.setCmHandleId(cmHandleId); populateCmHandleProperties(cmHandleDataNode, ncmpServiceCmHandle); return YangModelCmHandle.toYangModelCmHandle( - String.valueOf(cmHandleDataNode.getLeaves().get("dmi-service-name")), - String.valueOf(cmHandleDataNode.getLeaves().get("dmi-data-service-name")), - String.valueOf(cmHandleDataNode.getLeaves().get("dmi-model-service-name")), + (String) cmHandleDataNode.getLeaves().get("dmi-service-name"), + (String) cmHandleDataNode.getLeaves().get("dmi-data-service-name"), + (String) cmHandleDataNode.getLeaves().get("dmi-model-service-name"), ncmpServiceCmHandle ); } |