aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-06-11 18:37:17 +0300
committerMichael Lando <ml636r@att.com>2018-06-13 09:40:26 +0000
commit87a2123d5ba98391499a36645122e78be9737a59 (patch)
tree9477fe204e2a53300f790683175d914a7a4ad017 /common-app-api/src
parentaf561a8c58022cd211fa5ff020b72307bdde1ac6 (diff)
Raised JUnit coverage for tosca package
Raised JUnit coverage for package: sdc.be.tosca Change-Id: Ib372b546b7ab19f1b1642d93ff58d7773d7a2d14 Issue-ID: SDC-1333 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'common-app-api/src')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java4
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/common/test/BaseConfDependent.java1
2 files changed, 4 insertions, 1 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
index 14b02b4ff9..c4f221c875 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
@@ -1336,7 +1336,9 @@ public class Configuration extends BasicConfiguration {
.append(format("Service Api Artifacts: %s%n", serviceApiArtifacts))
.append(format("heat env artifact header: %s%n", heatEnvArtifactHeader))
.append(format("heat env artifact footer: %s%n", heatEnvArtifactFooter))
- .append(format("onboarding: %s%n", onboarding)).toString();
+ .append(format("onboarding: %s%n", onboarding))
+ .append(format("tosca conformance level: %s%n", toscaConformanceLevel))
+ .toString();
}
public List<String> getUnLoggedUrls() {
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/test/BaseConfDependent.java b/common-app-api/src/main/java/org/openecomp/sdc/common/test/BaseConfDependent.java
index 2e31eebd23..df639c70e3 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/common/test/BaseConfDependent.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/common/test/BaseConfDependent.java
@@ -37,6 +37,7 @@ public class BaseConfDependent {
ExternalConfiguration.setAppName(componentName);
ExternalConfiguration.setConfigDir(confPath);
ExternalConfiguration.listenForChanges();
+ ExternalConfiguration.setAppVersion("1806.666");
ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(), ExternalConfiguration.getConfigDir() + File.separator + ExternalConfiguration.getAppName());