From eb0c5ea6c688d26d53876b2ee73cb8d14d2b71bb Mon Sep 17 00:00:00 2001 From: vempo Date: Sun, 10 Dec 2017 16:56:06 +0200 Subject: Minor changes to VNF SDK integration Replaced default IP address with 127.0.0.1 Changed configuration file from "config-vnfsdk.yaml" to "config-vnfrepo.yaml" Change-Id: Id061d42ac5c1596780666d7a17f06a938870b842 Issue-ID: SDC-743 Signed-off-by: vempo --- .../sdcrests/vsp/rest/services/VnfPackageRepositoryImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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/main/java/org/openecomp/sdcrests/vsp/rest/services/VnfPackageRepositoryImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/VnfPackageRepositoryImpl.java index acbfb328f1..8fc361a213 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/VnfPackageRepositoryImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/VnfPackageRepositoryImpl.java @@ -66,10 +66,10 @@ public class VnfPackageRepositoryImpl implements VnfPackageRepository { private static boolean initFlag = false; // Default VNF Repository configuration - private static final String CONFIG_NAMESPACE = "vnfsdk"; + private static final String CONFIG_NAMESPACE = "vnfrepo"; // Default address for VNF repository docker - private static final String DEF_DOCKER_COMPOSE_ADDR = "172.18.0.1"; + private static final String DEF_DOCKER_COMPOSE_ADDR = "127.0.0.1"; private static String ipAddress = DEF_DOCKER_COMPOSE_ADDR; // Default Download package URI and Get VNF package meta-data URI - -- cgit 1.2.3-korg