From 4884584a187fe9787cc1d5b3960fec6c3b0d67d7 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Tue, 17 Jul 2018 15:45:23 +0300 Subject: bug fix Change-Id: If792362ac03940e5658b9176404a18f850f36f1c Issue-ID: SDC-1437 Signed-off-by: Yuli Shlosberg --- .../distribution/engine/DistributionEngine.java | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'catalog-be/src') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/DistributionEngine.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/DistributionEngine.java index 19878c3cfe..5337283e1a 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/DistributionEngine.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/DistributionEngine.java @@ -20,6 +20,7 @@ package org.openecomp.sdc.be.components.distribution.engine; +import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -74,26 +75,6 @@ public class DistributionEngine implements IDistributionEngine { private Map envNamePerPollingTask = new HashMap<>(); private Map envNamePerStatus = new HashMap<>(); - /** - * The main method for testing only - * @param args - */ - public static void main(String[] args) { - - List servers = new ArrayList<>(); - String server = "uebsb91kcdc.it.att.com:3904"; - servers.add(server); - servers.add(server); - servers.add(server); - - YamlToObjectConverter converter = new YamlToObjectConverter(); - DistributionEngineConfiguration distributionEngineConfiguration = converter.convert("src/test/resources/config/catalog-be/distribEngine1/distribution-engine-configuration.yaml", DistributionEngineConfiguration.class); - - DistributionEngineInitTask distributionEngineInitTask = new DistributionEngineInitTask(2l, distributionEngineConfiguration, "PROD", new AtomicBoolean(false), null, null, null); - distributionEngineInitTask.startTask(); - - } - @Override public boolean isActive() { -- cgit 1.2.3-korg