diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-04-17 17:31:37 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-04-17 17:31:37 +0200 |
commit | 2ea04318ded1aaca0cf2ab8df59d4433c4e328e4 (patch) | |
tree | f704405cd2c9751dcb1ccd22cff6d7509d4748ff /src/main/java | |
parent | 39b4c05acbd6cf28febc694c9575bc63df3d17a6 (diff) |
Fix Sdc Controller
Fix the name for policy push because the model name was containing . for
version and that was not accepted by policy.
Issue-ID: CLAMP-153
Change-Id: I768b765f42385bc93c4e77e1dc5c469908ad031f
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java b/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java index 5a00a8280..2d94bc369 100644 --- a/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java +++ b/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java @@ -93,8 +93,8 @@ public class CsarInstallerImpl implements CsarInstaller { } public static String buildModelName(CsarHandler csar) { - return csar.getSdcCsarHelper().getServiceMetadata().getValue("name") + " v" - + csar.getSdcNotification().getServiceVersion(); + return csar.getSdcCsarHelper().getServiceMetadata().getValue("name") + "_v" + + csar.getSdcNotification().getServiceVersion().replace('.', '_'); } @Override |