Removed VNF repo configuration test 23/60123/1
authorvempo <vitaliy.emporopulo@amdocs.com>
Sun, 12 Aug 2018 10:20:17 +0000 (13:20 +0300)
committervempo <vitaliy.emporopulo@amdocs.com>
Sun, 12 Aug 2018 10:22:13 +0000 (13:22 +0300)
The test should be part of the configuration module.

Change-Id: Ie38ee59c1a4c836777d0ab7056cf7e107090a655
Issue-ID: SDC-1596
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/java/org/openecomp/sdcrests/vsp/rest/services/VnfPackageRepositoryImplTest.java
openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/config-vnfrepo.yaml [deleted file]

index 0f79003..25aba9b 100644 (file)
@@ -80,13 +80,6 @@ public class VnfPackageRepositoryImplTest {
         assertFalse("Did not expect to find the version", vnfRepository.findVersion(versions, "3434").isPresent());
     }
 
-    @Test
-    public void configurationLoadedFromFile() {
-        final String prefix = "http://10.57.30.20:1111/";
-        assertEquals(prefix + "download-vnf-31", new VnfPackageRepositoryImpl.FileConfiguration().getDownloadUri());
-        assertEquals(prefix + "get-vnf-13", new VnfPackageRepositoryImpl.FileConfiguration().getGetUri());
-    }
-
     @Test
     public void listVnfsReturnsInternalServerErrorWhenRemoteClientError() {
         stubFor(get(GET_PATH).willReturn(aResponse().withStatus(403).withBody("Forbidden")));
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/config-vnfrepo.yaml b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/config-vnfrepo.yaml
deleted file mode 100644 (file)
index 8057053..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-vnfRepoPort: 1111
-vnfRepoHost: 10.57.30.20
-getVnfUri: get-vnf-13
-downloadVnfUri: download-vnf-31
\ No newline at end of file