diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 13:40:47 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 13:43:12 +0200 |
commit | 2513c3cae11dbc717d2c22ffdd8266aa2e61a800 (patch) | |
tree | 7c1a9c1630be657506995f4a291504562bf712b1 /vid-automation/src/test | |
parent | 9b45c01d9bb3a4565ed64c20e72511edc0854636 (diff) |
Renaming vid-automation #4
Change-Id: I907b9a6c199302d748918e236ee2945d56f4dd26
Issue-ID: VID-205
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-automation/src/test')
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/AaiApiTest.java) | 23 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/AsyncInfraApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/AsyncInfraApiTest.java) | 9 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/AsyncInstantiationApiTest.java) | 24 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/BaseApiAaiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/BaseApiAaiTest.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/BaseApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/BaseApiTest.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/BaseMsoApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/BaseMsoApiTest.java) | 4 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/CategoryParametersApiTest.java) | 11 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/ChangeManagementApiTest.java) | 29 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/OperationalEnvironmentControllerApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/OperationalEnvironmentControllerApiTest.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/ProbeApiTest.java) | 12 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/SampleApiTest.java) | 3 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/SdcApiTest.java) | 9 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/ServiceInstanceMsoApiTest.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/Streams.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/Streams.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/TestUtils.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/TestUtils.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/VidConfigurationApiTest.java) | 3 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/pProbeAaiApiTest.java) | 2 | ||||
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/pProbeMsoApiTest.java (renamed from vid-automation/src/test/java/org/opencomp/vid/api/pProbeMsoApiTest.java) | 2 |
18 files changed, 85 insertions, 58 deletions
diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/AaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java index e8d634ee1..7d558940d 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/AaiApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java @@ -1,14 +1,25 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import net.javacrumbs.jsonunit.JsonAssert; import org.apache.commons.text.StringEscapeUtils; import org.codehaus.jackson.map.ObjectMapper; -import org.opencomp.simulator.presetGenerator.presets.aai.*; -import org.opencomp.vid.model.aai.AaiResponse; -import org.opencomp.vid.model.mso.OperationalEnvironmentList; -import org.opencomp.vid.more.LoggerFormatTest; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIBadBodyForGetServicesGet; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAICloudRegionAndSourceFromConfigurationPut; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegion; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegionInvalidRequest; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegionRequiredMissing; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetails; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetailsInvalidRequest; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetailsRequiredMissing; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetPortMirroringSourcePorts; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetPortMirroringSourcePortsError; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetRelatedInstanceGroupsByVnfId; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; +import org.onap.vid.model.aai.AaiResponse; +import org.onap.vid.model.mso.OperationalEnvironmentList; +import org.onap.vid.more.LoggerFormatTest; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; @@ -26,7 +37,7 @@ import java.net.URISyntaxException; import static org.hamcrest.CoreMatchers.containsString; import static org.junit.Assert.*; -import static org.opencomp.simulator.presetGenerator.presets.ecompportal_att.EcompPortalPresetsUtils.getEcompPortalPresets; +import static org.onap.simulator.presetGenerator.presets.ecompportal_att.EcompPortalPresetsUtils.getEcompPortalPresets; import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND; import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/AsyncInfraApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInfraApiTest.java index ffabcaf3b..5f83f36dc 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/AsyncInfraApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInfraApiTest.java @@ -1,11 +1,11 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableList; import com.google.gson.JsonObject; import net.codestory.http.WebServer; -import org.opencomp.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; -import org.opencomp.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet; -import org.opencomp.vid.more.LoggerFormatTest; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; +import org.onap.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet; +import org.onap.vid.more.LoggerFormatTest; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.testng.Assert; @@ -25,7 +25,6 @@ import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; -import java.time.LocalDate; import java.util.Collection; import java.util.Enumeration; import java.util.List; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/AsyncInstantiationApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java index 52fecc043..1a0e1c9b7 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/AsyncInstantiationApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; @@ -9,14 +9,18 @@ import org.apache.commons.lang3.builder.ToStringStyle; import org.hamcrest.BaseMatcher; import org.hamcrest.CoreMatchers; import org.hamcrest.Description; -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BasePreset; -import org.opencomp.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; -import org.opencomp.simulator.presetGenerator.presets.aai.PresetAAISearchNodeQueryEmptyResult; -import org.opencomp.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet; -import org.opencomp.simulator.presetGenerator.presets.mso.*; -import org.opencomp.vid.model.asyncInstantiation.JobAuditStatus; -import org.opencomp.vid.model.asyncInstantiation.ServiceInfo; -import org.opencomp.vid.model.mso.MsoResponseWrapper2; +import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAISearchNodeQueryEmptyResult; +import org.onap.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet; +import org.onap.simulator.presetGenerator.presets.mso.PresetMSOAssignServiceInstanceGen2WithNames; +import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2WithNames; +import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet; +import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGetErrorResponse; +import org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2ErrorResponse; +import org.onap.vid.model.asyncInstantiation.JobAuditStatus; +import org.onap.vid.model.asyncInstantiation.ServiceInfo; +import org.onap.vid.model.mso.MsoResponseWrapper2; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; @@ -45,7 +49,7 @@ import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasProperty; import static org.hamcrest.Matchers.hasSize; -import static org.opencomp.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys; +import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys; import static org.testng.Assert.assertNotNull; import static org.testng.AssertJUnit.assertTrue; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/BaseApiAaiTest.java b/vid-automation/src/test/java/org/onap/vid/api/BaseApiAaiTest.java index af8833cac..4ac38a0e7 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/BaseApiAaiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/BaseApiAaiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableMap; import org.springframework.http.HttpMethod; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/BaseApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/BaseApiTest.java index f4e7fb5f4..223657170 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/BaseApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/BaseApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.att.automation.common.report_portal_integration.listeners.ReportPortalListener; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/BaseMsoApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/BaseMsoApiTest.java index 2e00fc61d..37601a65e 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/BaseMsoApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/BaseMsoApiTest.java @@ -1,9 +1,9 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.att.automation.common.report_portal_integration.annotations.Step; import com.google.common.collect.ImmutableMap; import org.json.JSONException; -import org.opencomp.vid.model.mso.MsoResponseWrapper2; +import org.onap.vid.model.mso.MsoResponseWrapper2; import org.skyscreamer.jsonassert.JSONAssert; import org.skyscreamer.jsonassert.JSONCompareMode; import org.springframework.http.HttpMethod; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/CategoryParametersApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java index 5c7d4fcba..54df0e83e 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/CategoryParametersApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java @@ -1,9 +1,9 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; -import org.opencomp.vid.model.category.AddCategoryOptionsRequest; -import org.opencomp.vid.model.category.CategoryParameterOption; -import org.opencomp.vid.model.category.CategoryParameterOptionRep; -import org.opencomp.vid.model.category.CategoryParametersResponse; +import org.onap.vid.model.category.AddCategoryOptionsRequest; +import org.onap.vid.model.category.CategoryParameterOption; +import org.onap.vid.model.category.CategoryParameterOptionRep; +import org.onap.vid.model.category.CategoryParametersResponse; import org.springframework.http.HttpStatus; import org.springframework.web.util.UriComponentsBuilder; import org.testng.Assert; @@ -17,7 +17,6 @@ import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.io.IOException; import java.util.List; -import java.util.Random; import java.util.UUID; import java.util.stream.Collectors; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/ChangeManagementApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java index 8df4ad7eb..93f721956 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/ChangeManagementApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java @@ -1,8 +1,25 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; +import org.onap.vid.model.mso.ChangeManagementRequest; +import org.onap.vid.model.mso.ChangeManagementRequestDetails; +import org.onap.vid.model.mso.CloudConfiguration; +import org.onap.vid.model.mso.MsoExceptionResponse; +import org.onap.vid.model.mso.MsoResponseWrapper2; +import org.onap.vid.model.mso.RelatedInstance; +import org.onap.vid.model.mso.RelatedInstanceList; +import org.onap.vid.model.mso.RequestInfo; +import org.onap.vid.model.mso.RequestParameters; +import org.onap.vid.model.workflow.GetVnfWorkflowRelationRequest; +import org.onap.vid.model.workflow.GetWorkflowsResponse; +import org.onap.vid.model.workflow.VnfDetails; +import org.onap.vid.model.workflow.VnfDetailsWithWorkflows; +import org.onap.vid.model.workflow.VnfWorkflowRelationAllResponse; +import org.onap.vid.model.workflow.VnfWorkflowRelationRequest; +import org.onap.vid.model.workflow.VnfWorkflowRelationResponse; +import org.onap.vid.model.workflow.WorkflowsDetail; import org.opencomp.vid.model.mso.*; import org.opencomp.vid.model.workflow.*; import org.springframework.http.HttpStatus; @@ -33,7 +50,7 @@ import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsInstanceOf.instanceOf; -import static org.opencomp.vid.api.TestUtils.getNestedPropertyInMap; +import static org.onap.vid.api.TestUtils.getNestedPropertyInMap; //This is integration test that require running tomcat @@ -291,7 +308,7 @@ public class ChangeManagementApiTest extends BaseApiTest { private void assertForHappyPath(VnfIds vnfIds, MsoResponseWrapper2 body, String requestType) { Assert.assertEquals(body.getStatus(), 202, requestType + " failed with wrong http status"); Assert.assertEquals( - getNestedPropertyInMap(body.getEntity(), "requestReferences/instanceId"), + TestUtils.getNestedPropertyInMap(body.getEntity(), "requestReferences/instanceId"), vnfIds.serviceInstanceId, String.format("Failed to find instanceId: %s in " + requestType + " response. Actual body:%s", vnfIds.serviceInstanceId, body.getEntity())); @@ -319,13 +336,13 @@ public class ChangeManagementApiTest extends BaseApiTest { MsoResponseWrapper2 body = callChangeManagementUpdate(vnfIds, expectationPath, MsoResponseWrapper2.class, requestType); Assert.assertEquals(body.getStatus(), 409, requestType + " failed with wrong http status"); Assert.assertEquals( - getNestedPropertyInMap(body.getEntity(), "serviceException/messageId"), + TestUtils.getNestedPropertyInMap(body.getEntity(), "serviceException/messageId"), "SVC2000", String.format("Failed to find messageId: %s in " + requestType + " response. Actual body:%s", "SVC2000", body.getEntity())); - assertThat(getNestedPropertyInMap(body.getEntity(), "serviceException/text"), containsString(vnfIds.vnfInstanceId)); + assertThat(TestUtils.getNestedPropertyInMap(body.getEntity(), "serviceException/text"), containsString(vnfIds.vnfInstanceId)); } private void testChangeManagement404Error(String expectationPath, String requestType) throws IOException { @@ -406,7 +423,7 @@ public class ChangeManagementApiTest extends BaseApiTest { { ChangeManagementRequestDetails requestDetails = new ChangeManagementRequestDetails(); -// org.openecomp.vid.domain.mso.CloudConfiguration cloudConfiguration = new org.openecomp.vid.domain.mso.CloudConfiguration(); +// org.onap.vid.domain.mso.CloudConfiguration cloudConfiguration = new org.onap.vid.domain.mso.CloudConfiguration(); // cloudConfiguration.setLcpCloudRegionId("mdt1"); // cloudConfiguration.setTenantId("88a6ca3ee0394ade9403f075db23167e"); // requestDetails.setCloudConfiguration(cloudConfiguration); diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/OperationalEnvironmentControllerApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/OperationalEnvironmentControllerApiTest.java index 65b0253bd..222b0f5fb 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/OperationalEnvironmentControllerApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/OperationalEnvironmentControllerApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/ProbeApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java index 3ed746418..54093ec56 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/ProbeApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java @@ -1,13 +1,13 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.junit.Assert; -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BasePreset; -import org.opencomp.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; -import org.opencomp.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGetInvalidResponse; -import org.opencomp.vid.model.probe.ExternalComponentStatus; -import org.opencomp.vid.model.probe.HttpRequestMetadata; +import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet; +import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGetInvalidResponse; +import org.onap.vid.model.probe.ExternalComponentStatus; +import org.onap.vid.model.probe.HttpRequestMetadata; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/SampleApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java index 3d8cd5662..c57a90aef 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/SampleApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableMap; import org.json.JSONException; @@ -11,7 +11,6 @@ import vid.automation.test.services.SimulatorApi; import java.io.IOException; -import static java.util.Collections.singletonList; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/SdcApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java index 8a924338c..0441da1d2 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/SdcApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java @@ -1,17 +1,16 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.ImmutableList; -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BasePreset; -import org.opencomp.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceMetadataGet; -import org.opencomp.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet; +import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset; +import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceMetadataGet; +import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; -import vid.automation.test.infra.FeatureTogglingTest; import vid.automation.test.infra.Features; import java.io.IOException; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/ServiceInstanceMsoApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java index 8e32f853a..ce290c89f 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/ServiceInstanceMsoApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableMap; import org.apache.commons.text.StringEscapeUtils; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/Streams.java b/vid-automation/src/test/java/org/onap/vid/api/Streams.java index c1c6cea4c..b53187e09 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/Streams.java +++ b/vid-automation/src/test/java/org/onap/vid/api/Streams.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import java.util.Iterator; import java.util.Spliterator; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/TestUtils.java b/vid-automation/src/test/java/org/onap/vid/api/TestUtils.java index 4ce43e68e..76c122c48 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/TestUtils.java +++ b/vid-automation/src/test/java/org/onap/vid/api/TestUtils.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.map.ObjectMapper; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/VidConfigurationApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java index fd8cc07de..38ce8613d 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/VidConfigurationApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java @@ -1,10 +1,9 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import org.springframework.http.ResponseEntity; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; -import static java.util.Collections.singletonList; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/pProbeAaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java index d8049f99e..1765645af 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/pProbeAaiApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableMap; import org.apache.commons.text.StringEscapeUtils; diff --git a/vid-automation/src/test/java/org/opencomp/vid/api/pProbeMsoApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/pProbeMsoApiTest.java index 5c0282844..c082ef95a 100644 --- a/vid-automation/src/test/java/org/opencomp/vid/api/pProbeMsoApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/pProbeMsoApiTest.java @@ -1,4 +1,4 @@ -package org.opencomp.vid.api; +package org.onap.vid.api; import com.google.common.collect.ImmutableMap; import org.apache.commons.text.StringEscapeUtils; |