From c5c60bfb5889bfe63e310448d863192dd60078c5 Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 25 Aug 2020 12:31:39 +0200 Subject: Add sdc startup in IT Remove main method and move test suites for backend in a specific folder Issue-ID: SDC-3232 Signed-off-by: sebdet Change-Id: Ic38534f5b5105c56fb5fe3124431c8146f9200d0 --- .../ci/tests/execute/devCI/ArtifactFromCsar.java | 11 -------- .../ci/tests/utils/rest/EcompUserRestUtils.java | 29 ---------------------- 2 files changed, 40 deletions(-) (limited to 'integration-tests/src/test/java/org/onap') diff --git a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/execute/devCI/ArtifactFromCsar.java b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/execute/devCI/ArtifactFromCsar.java index 4d5847cbb6..84b34d16f7 100644 --- a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/execute/devCI/ArtifactFromCsar.java +++ b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/execute/devCI/ArtifactFromCsar.java @@ -42,18 +42,7 @@ import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; public class ArtifactFromCsar { - - public static void main(String[] args) throws Exception { - String zipFile = "C:\\Users\\rp955r\\Documents\\InTesting\\resource-CivfonboardedFdnt2f792348-csar.csar"; - -// Map combinedMap = combineHeatArtifacstWithFolderArtifacsToMap(zipFile); - - Map vfcArtifacts = ArtifactFromCsar.getVFCArtifacts(zipFile); - - System.out.println("1234o"); - } - public static Map combineHeatArtifacstWithFolderArtifacsToMap(String pathToCsar) throws Exception { return combineHeatArtifacstWithFolderArtifacsToMap(pathToCsar, "output"); } diff --git a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/rest/EcompUserRestUtils.java b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/rest/EcompUserRestUtils.java index 52f6e12880..133b4b5403 100644 --- a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/rest/EcompUserRestUtils.java +++ b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/rest/EcompUserRestUtils.java @@ -215,33 +215,4 @@ public class EcompUserRestUtils extends BaseRestUtils { return sendGetUserRolesRequest; } - - // TODO !!!!!!!!!!!!!! - /* - * Ask Eli if implementation of users is needed DELETE ECOMP USER - */ - - /* - * public static void main(String[] args) { EcompUser ecompUser = new - * EcompUser(); ecompUser.setFirstName("Test"); - * ecompUser.setLastName("Testovich"); - * ecompUser.setActive(true); - * - * EcompRole roleToUpdate = new EcompRole(); roleToUpdate.setId(new - * Long(6)); roleToUpdate.setName("PRODUCT_STRATEGIST"); List - * listOfRoles = new LinkedList<>(); listOfRoles.add(roleToUpdate); - * - * try { - * System.out.println("\n-----------------------------\n Testing pushUser"); - * System.out.println(pushUser(ecompUser)); - * System.out.println("\n-----------------------------\n Testing editUser"); - * System.out.println("\n-----------------------------\n Testing getUser"); - * // System.out.println(getUser(ecompUser.getLoginId())); System.out. - * println("\n-----------------------------\n Testing getAllUsers"); // - * System.out.println(getAllUsers()); System.out. - * println("\n-----------------------------\n Testing getAllAvailableRoles" - * ); // System.out.println(getAllAvailableRoles().toString()); System.out. - * println("\n-----------------------------\n Testing pushUserRoles"); - * TODO Auto-generated catch block e.printStackTrace(); } } - */ } -- cgit 1.2.3-korg