aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib
diff options
context:
space:
mode:
authortalig <talig@amdocs.com>2018-10-31 10:26:03 +0200
committertalig <talig@amdocs.com>2018-10-31 10:26:03 +0200
commiteabb6dd6c26f81e1868bae13bb06ffc570c73532 (patch)
tree4c95c6feb755fe5fbbbca36f833eaa0ef2b96074 /openecomp-be/lib/openecomp-sdc-translator-lib
parentb3124380c80efdba222978945fb6f40b07548c64 (diff)
Add NFC naming code to the csar of manual vsp
In getComponentDisplayName consider the case of manual vsp, in which: the added suffix "_VNF" should be removed in order to get the component display name Change-Id: I4a439b6970ed08bd997fef09ec8360ac1bf2b579 Issue-ID: SDC-1882 Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/Constants.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/Constants.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/Constants.java
index 848e6d7040..7c4b23be27 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/Constants.java
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/Constants.java
@@ -41,6 +41,7 @@ public class Constants {
static final String PORT_IDENTICAL_VALUE_PROPERTY_PREFIX = "port_";
static final String SUB_INTERFACE_PROPERTY_VALUE_PREFIX = "subinterface_";
public static final String ABSTRACT_NODE_TEMPLATE_ID_PREFIX = "abstract_";
+ public static final String VNF_NODE_TEMPLATE_ID_SUFFIX = "_VNF";
//GlobalTypesServiceTemplates
public static final String INVALID_ONBOARDING_TYPE = "Invalid Onboarding Type";
public static final String GLOBAL_TYPES_READ_ERROR = "GlobalTypes Read Error";