Update to Spring Boot 2
[externalapi/nbi.git] / src / main / resources / application.properties
index 6a66737..633e029 100644 (file)
@@ -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