From 9fc2ad8285866c5d45391f9c9f4f49a87a36763a Mon Sep 17 00:00:00 2001 From: Pavel Aharoni Date: Thu, 6 Apr 2017 18:56:11 +0300 Subject: [SDC-8] implementing the tosca stubs Change-Id: Icadc0cc0dadce98e36eaffed0fe551c1387f6f8f Signed-off-by: Pavel Aharoni --- sdc-distribution-ci/pom.xml | 2 +- .../src/main/java/org/openecomp/test/ClientTest.java | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'sdc-distribution-ci') diff --git a/sdc-distribution-ci/pom.xml b/sdc-distribution-ci/pom.xml index 93cd214..a570d62 100644 --- a/sdc-distribution-ci/pom.xml +++ b/sdc-distribution-ci/pom.xml @@ -6,7 +6,7 @@ org.openecomp.sdc.sdc-distribution-client sdc-main-distribution-client - 1.1.0-SNAPSHOT + 1.1.6-SNAPSHOT sdc-distribution-ci diff --git a/sdc-distribution-ci/src/main/java/org/openecomp/test/ClientTest.java b/sdc-distribution-ci/src/main/java/org/openecomp/test/ClientTest.java index d944bf0..e44013c 100644 --- a/sdc-distribution-ci/src/main/java/org/openecomp/test/ClientTest.java +++ b/sdc-distribution-ci/src/main/java/org/openecomp/test/ClientTest.java @@ -33,15 +33,7 @@ import ch.qos.logback.classic.LoggerContext; public class ClientTest { public static void main(String[] args) throws Exception { - try (SdcToscaParserFactory toscaParserFactory = SdcToscaParserFactory.getInstance()){ - //ISdcCsarHelper csarHelper = toscaParserFactory.getSdcCsarHelper("C:\\Users\\pa0916\\Desktop\\Work\\ASDC\\CSARs\\service-ServiceFdnt-csar-nt-metadata.csar"); - ISdcCsarHelper csarHelper = toscaParserFactory.getSdcCsarHelper("C:\\Users\\pa0916\\Desktop\\Work\\ASDC\\CSARs\\service-ServiceFdnt-csar-nt-props.csar"); - //ISdcCsarHelper csarHelper = toscaParserFactory.getSdcCsarHelper("C:\\Users\\pa0916\\Desktop\\Work\\ASDC\\CSARs\\service-ServiceFdnt-csar.csar"); - String serviceSubstitutionMappingsTypeName = csarHelper.getServiceSubstitutionMappingsTypeName(); - System.out.println("serviceSubstitutionMappingsTypeName is "+serviceSubstitutionMappingsTypeName); - String nodeTemplatePropertyLeafValue = csarHelper.getNodeTemplatePropertyLeafValue(csarHelper.getServiceVfList().get(0), "nf_role#nf_naming#ecomp_generated_naming"); - System.out.println("property is "+nodeTemplatePropertyLeafValue); - } + LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); lc.getLogger("org.apache.http").setLevel(Level.INFO); -- cgit 1.2.3-korg