Update API version to v3 29/64729/1
authorromaingimbert <romain.gimbert@orange.com>
Wed, 5 Sep 2018 12:53:06 +0000 (14:53 +0200)
committerromaingimbert <romain.gimbert@orange.com>
Wed, 5 Sep 2018 12:53:06 +0000 (14:53 +0200)
-change application.properties to v3
-change .env docker to v3
-change Dockerfile to v3

Change-Id: I95dd0a29494e8fdebe29ac7bcfcfccf03a9a1c6c
Issue-ID: EXTAPI-143
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
.env
Dockerfile
src/main/resources/application.properties
src/test/resources/application.properties

diff --git a/.env b/.env
index 38d05d7..71f7de7 100644 (file)
--- a/.env
+++ b/.env
@@ -15,7 +15,7 @@
 #
 
 # APPLICATION
-SERVER_CONTEXTPATH=/nbi/api/v1
+SERVER_CONTEXTPATH=/nbi/api/v3
 SERVER_PORT=8080
 
 # ONAP
@@ -25,7 +25,7 @@ ONAP_CLOUDOWNER=
 NEXUS_DOCKER_REPO=nexus3.onap.org:10001
 
 # NBI
-NBI_URL=http://localhost:8080/nbi/api/v1
+NBI_URL=http://localhost:8080/nbi/api/v3
 NBI_CALLFORVNF=false
 
 # SDC
index 7eb5d81..ccf2531 100644 (file)
@@ -17,7 +17,7 @@
 FROM openjdk:8-jre-alpine
 
 ARG SERVER_PORT
-ARG PKG_FILENAME=nbi-rest-services-1.0.0-SNAPSHOT.jar
+ARG PKG_FILENAME=nbi-rest-services-3.0.0-SNAPSHOT.jar
 ADD target/$PKG_FILENAME app.jar
 
 COPY src/main/resources/certificate /certs
index 8c07ce0..11638c1 100644 (file)
@@ -15,7 +15,7 @@
 #
 
 # SERVER
-server.contextPath=/nbi/api/v1
+server.contextPath=/nbi/api/v3
 server.port=8080
 
 # LOGGING
@@ -27,7 +27,7 @@ onap.tenantId=6e97a2bd51d74f6db5671d8dc1517d82
 onap.cloudOwner=CloudOwner
 
 # NBI
-nbi.url=http://localhost:8080/nbi/api/v1
+nbi.url=http://localhost:8080/nbi/api/v3
 nbi.callForVNF=false
 
 # SDC
index 50e0527..c598a89 100644 (file)
@@ -15,7 +15,7 @@
 #
 
 # SERVER
-server.contextPath=/nbi/api/v1
+server.contextPath=/nbi/api/v3
 server.port = 8080
 
 # LOGGING
@@ -27,7 +27,7 @@ onap.tenantId=31047205ce114b60833b23e400d6a535
 onap.cloudOwner=CloudOwner
 
 # NBI
-nbi.url=http://127.0.0.1:8080/nbi/api/v1
+nbi.url=http://127.0.0.1:8080/nbi/api/v3
 nbi.callForVNF=false
 
 # SDC