From 05c29ff57350959826f93516f95ed7fe9b98180e Mon Sep 17 00:00:00 2001 From: vempo Date: Sun, 12 Aug 2018 13:20:17 +0300 Subject: Removed VNF repo configuration test The test should be part of the configuration module. Change-Id: Ie38ee59c1a4c836777d0ab7056cf7e107090a655 Issue-ID: SDC-1596 Signed-off-by: vempo --- .../sdcrests/vsp/rest/services/VnfPackageRepositoryImplTest.java | 7 ------- .../src/test/resources/config-vnfrepo.yaml | 4 ---- 2 files changed, 11 deletions(-) delete mode 100644 openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/config-vnfrepo.yaml (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp') diff --git a/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 b/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 index 0f790036da..25aba9be04 100644 --- a/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 +++ b/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 @@ -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 index 8057053072..0000000000 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/config-vnfrepo.yaml +++ /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 -- cgit event-protocol/plugins-event-protocol-yaml/pom.xml?h=3.1.3&id=db38f39ec5d93e0586b0546d85842376fdb57a28'>diffstats
blob: cd40dd181ebd90e0a520b81b8b20cfb05e6c83e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62