aboutsummaryrefslogtreecommitdiffstats
path: root/distribution-ci/src/main/java/org/openecomp/test/ClientTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'distribution-ci/src/main/java/org/openecomp/test/ClientTest.java')
-rw-r--r--distribution-ci/src/main/java/org/openecomp/test/ClientTest.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/distribution-ci/src/main/java/org/openecomp/test/ClientTest.java b/distribution-ci/src/main/java/org/openecomp/test/ClientTest.java
deleted file mode 100644
index 1a10860828..0000000000
--- a/distribution-ci/src/main/java/org/openecomp/test/ClientTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.openecomp.test;
-
-import org.slf4j.LoggerFactory;
-
-import org.openecomp.sdc.api.IDistributionClient;
-import org.openecomp.sdc.api.results.IDistributionClientResult;
-import org.openecomp.sdc.impl.DistributionClientFactory;
-
-import ch.qos.logback.classic.Level;
-import ch.qos.logback.classic.LoggerContext;
-
-public class ClientTest {
- public static void main(String[] args) throws InterruptedException {
-
- LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
- lc.getLogger("org.apache.http").setLevel(Level.INFO);
-
- IDistributionClient client = DistributionClientFactory.createDistributionClient();
-
- IDistributionClientResult result = client.init(new SimpleConfiguration(), new NotificationCallback(client));
- System.out.println(result.getDistributionMessageResult());
-
- System.out.println("Starting client...");
- IDistributionClientResult startResult = client.start();
-
- // Thread.sleep(10000);
- // client.stop();
-
- System.out.println(startResult.getDistributionMessageResult());
-
- }
-
-}