From c47f40b7c53cd564a401ecf7f56c8fc21dd47738 Mon Sep 17 00:00:00 2001 From: Denes Nemeth Date: Tue, 18 Sep 2018 09:04:50 +0200 Subject: Fix driver startup in OOM Signed-off-by: Denes Nemeth Issue-ID: VFC-1159 Change-Id: Ibefd567b0f29d84e5d3c5f7cfd7dd5f77fb4dc2b --- nokiav2/deployment/src/main/resources/application.properties | 7 ++++++- nokiav2/deployment/src/main/resources/docker-entrypoint.sh | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'nokiav2/deployment/src/main') diff --git a/nokiav2/deployment/src/main/resources/application.properties b/nokiav2/deployment/src/main/resources/application.properties index 299213d4..85da61f1 100644 --- a/nokiav2/deployment/src/main/resources/application.properties +++ b/nokiav2/deployment/src/main/resources/application.properties @@ -37,6 +37,8 @@ vnfmId=5e65fe25-bdad-46dc-bba8-b7878fcee264 ############################################################################### # The TCP port of the server server.port=8089 +# The port on which the service is visible from external systems +externalPort=8089 # the base path of the server server.context-path= # the IP address to which the erver binds to @@ -52,7 +54,10 @@ skipCertificateVerification=true # the collection of trusted certificates for SSL on CBAM LCN, LCM and authorization interface # in PEM format encoded in BASE64 to a single line trustedCertificates= - +#skip LCN subscription from VNFM +skipLcnSubscription=false +#skip self registration in MSB +skipSelfRegistration=false ############################################################################### # Configuration parameters for direct integration ############################################################################### diff --git a/nokiav2/deployment/src/main/resources/docker-entrypoint.sh b/nokiav2/deployment/src/main/resources/docker-entrypoint.sh index 79ccd05b..20fa5a5e 100755 --- a/nokiav2/deployment/src/main/resources/docker-entrypoint.sh +++ b/nokiav2/deployment/src/main/resources/docker-entrypoint.sh @@ -50,6 +50,7 @@ function configure(){ if [ ! -z "$CONFIGURE" ] ; then switchLine driverMsbExternalIp $EXTERNAL_IP switchLine driverVnfmExternalIp $EXTERNAL_IP + switchLine externalPort $EXTERNAL_PORT switchLine messageBusIp $MSB_IP switchLine vnfmId $VNFM_ID switchLine ipMap $IP_MAP -- cgit 1.2.3-korg