summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 347d855..c6289fa 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -14,8 +14,10 @@
# limitations under the License.
#
+nbi.version=v3
+
# SERVER
-server.contextPath=/nbi/api/v3
+server.contextPath=/nbi/api/${nbi.version}
server.port=8080
# LOGGING
@@ -27,7 +29,7 @@ onap.tenantId=6e97a2bd51d74f6db5671d8dc1517d82
onap.cloudOwner=CloudOwner
# NBI
-nbi.url=http://localhost:8080/nbi/api/v3
+nbi.url=http://localhost:${server.port}${server.contextPath}
nbi.callForVNF=false
# SCHEDULER
@@ -57,10 +59,7 @@ msb.enabled=true
msb.discovery.host=msb_discovery
msb.discovery.port=10081
msb.service.host=
-msb.service.port=${server.port}
msb.service.name=nbi
-msb.service.version=v1
-msb.service.url=${server.contextPath}
msb.service.custom_path=
msb.service.protocol=REST
msb.service.visual_range=1