From 7093b767e7d9a76c4f91ec98e95a9b1ea8a5e14d Mon Sep 17 00:00:00 2001 From: romaingimbert Date: Fri, 1 Feb 2019 15:05:15 +0100 Subject: Update to Spring Boot 2 -update pom dependencies -fix code -fix test Change-Id: I23c3c702c598ce46e5b861a2fbdfd06f2d439c51 Issue-ID: EXTAPI-192 Signed-off-by: romaingimbert --- src/main/resources/application-test.properties | 4 ++-- src/main/resources/application.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index b890216..b959b47 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -17,7 +17,7 @@ nbi.version = v3 # SERVER -server.contextPath = /nbi/api/${nbi.version} +server.servlet.context-path = /nbi/api/${nbi.version} server.port = 8080 # LOGGING @@ -29,7 +29,7 @@ onap.tenantId = 31047205ce114b60833b23e400d6a535 onap.cloudOwner = CloudOwner # NBI -nbi.url = http://localhost:${server.port}${server.contextPath} +nbi.url = http://localhost:${server.port}${server.servlet.context-path} nbi.callForVNF = false # SCHEDULER diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6a66737..633e029 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -23,7 +23,7 @@ spring.profiles.active = default nbi.version = v3 # SERVER -server.contextPath = /nbi/api/${nbi.version} +server.servlet.context-path = /nbi/api/${nbi.version} server.port = 8080 # LOGGING @@ -35,7 +35,7 @@ onap.tenantId = 6e97a2bd51d74f6db5671d8dc1517d82 onap.cloudOwner = CloudOwner # NBI -nbi.url = http://localhost:${server.port}${server.contextPath} +nbi.url = http://localhost:${server.port}${server.servlet.context-path} nbi.callForVNF = false # SCHEDULER -- cgit 1.2.3-korg