From: dglFromAtt Date: Sat, 13 Oct 2018 18:18:58 +0000 (+0000) Subject: Optionally set properties from configmap X-Git-Tag: 1.0.22~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=commitdiff_plain;h=6350b1e1587249643371cbb5f1f91e7fb1317587 Optionally set properties from configmap Change-Id: Id0746bc49637321f17a4225795bc652f1827e100 Signed-off-by: dglFromAtt Issue-ID: DMAAP-829 --- diff --git a/misc/dmaapbc b/misc/dmaapbc index cef472e..0dff4d6 100644 --- a/misc/dmaapbc +++ b/misc/dmaapbc @@ -74,8 +74,17 @@ config() { $APP_ROOT/misc/cert-client-init.sh . misc/havecert.tmpl > etc/havecert chmod +x etc/havecert - . misc/dmaapbc.properties.tmpl > etc/dmaapbc.properties - . misc/PolicyEngineApi.properties.tmpl > config/PolicyEngineApi.properties + + # These files might be better provided in kubernetes configmaps + # so if they are already there, don't overwrite. + if [ ! -f etc/dmaapbc.properties ] + then + . misc/dmaapbc.properties.tmpl > etc/dmaapbc.properties + fi + if [ ! -f config/PolicyEngineApi.properties ] + then + . misc/PolicyEngineApi.properties.tmpl > config/PolicyEngineApi.properties + fi set +x } diff --git a/pom.xml b/pom.xml index ccf82e2..2a0474f 100644 --- a/pom.xml +++ b/pom.xml @@ -365,7 +365,7 @@ UTF-8 9.3.8.RC0 0.0.1 - 1.0.21 + 1.0.22 0.7.7.201606060606 3.2 diff --git a/version.properties b/version.properties index acfc935..7408ce8 100644 --- a/version.properties +++ b/version.properties @@ -27,7 +27,7 @@ major=1 minor=0 -patch=21 +patch=22 base_version=${major}.${minor}.${patch} # Release must be completed with git revision # in Jenkins