From c9927edd94446ff79e0ce39caf30d83a14a50d41 Mon Sep 17 00:00:00 2001
From: Joze RIHTARSIC <joze.rihtarsic@ext.ec.europa.eu>
Date: Sun, 29 Mar 2020 12:30:54 +0200
Subject: [PATCH] - fix issues sonar warning

---
 smp-docker/images/tomcat-mysql-smp-sml/entrypoint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smp-docker/images/tomcat-mysql-smp-sml/entrypoint.sh b/smp-docker/images/tomcat-mysql-smp-sml/entrypoint.sh
index 3f8b61271..99c90316c 100755
--- a/smp-docker/images/tomcat-mysql-smp-sml/entrypoint.sh
+++ b/smp-docker/images/tomcat-mysql-smp-sml/entrypoint.sh
@@ -76,7 +76,7 @@ init_smp_properties() {
       echo "bdmsl.integration.physical.address=0.0.0.0"
       echo "bdmsl.participant.multidomain.enabled=false"
       echo "bdmsl.integration.url=http://localhost:8080/edelivery-sml/"
-      echo "bdmsl.integration.logical.address=${SMP_LOGICAL_ADDRESS}"
+      echo "bdmsl.integration.logical.address=${SMP_LOGICAL_ADDRESS:-http://localhost:8080/smp/}"
     } >>  "$SMP_HOME/apache-tomcat-$TOMCAT_VERSION/classes/smp.config.properties"
 
     addOrReplaceProperties  "$SMP_HOME/apache-tomcat-$TOMCAT_VERSION/classes/smp.config.properties" "$SMP_INIT_PROPERTIES" "$SMP_INIT_PROPERTY_DELIMITER"
-- 
GitLab