adjust msb integration
[externalapi/nbi.git] / src / main / resources / application.properties
index 11638c1..a6184f0 100644 (file)
 #     limitations under the License.
 #
 
+nbi.version=v3
+
 # SERVER
-server.contextPath=/nbi/api/v3
+server.contextPath=/nbi/api/${nbi.version}
 server.port=8080
 
 # LOGGING
@@ -27,9 +29,12 @@ 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
+scheduler.pollingDurationInMins=360
+
 # SDC
 sdc.host=http://10.0.3.1:8080
 sdc.header.ecompInstanceId=demo
@@ -53,11 +58,10 @@ so.project.name=Project-generic
 msb.enabled=true
 msb.discovery.host=msb_discovery
 msb.discovery.port=10081
+msb.discovery.retry=5
+msb.discovery.retry_interval=5000
 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