summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorromaingimbert <romain.gimbert@orange.com>2018-09-05 14:53:06 +0200
committerromaingimbert <romain.gimbert@orange.com>2018-09-05 14:53:06 +0200
commit5ff60761a7a8147ab93947ffff04491e548dbb56 (patch)
treec92e1a6c288ecddd9631196741533e604ab83396
parentddeba2f466751a23cbbf6dc07b1b415231a39a5d (diff)
Update API version to v3
-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>
-rw-r--r--.env4
-rw-r--r--Dockerfile2
-rw-r--r--src/main/resources/application.properties4
-rw-r--r--src/test/resources/application.properties4
4 files changed, 7 insertions, 7 deletions
diff --git a/.env b/.env
index 38d05d7..71f7de7 100644
--- 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
diff --git a/Dockerfile b/Dockerfile
index 7eb5d81..ccf2531 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 8c07ce0..11638c1 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -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
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
index 50e0527..c598a89 100644
--- a/src/test/resources/application.properties
+++ b/src/test/resources/application.properties
@@ -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