summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config/bin
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/resources/config/bin')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/installSdncDb.sh2
-rw-r--r--kubernetes/sdnc/resources/config/bin/startODL.oom.sh2
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/startODL.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
index 754ff2c5cc..caf745c9d3 100755
--- a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
+++ b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+{{/*
###
# ============LICENSE_START=======================================================
@@ -20,6 +21,7 @@
# limitations under the License.
# ============LICENSE_END=========================================================
###
+*/}}
SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
ETC_DIR=${ETC_DIR:-${SDNC_HOME}/data}
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.oom.sh b/kubernetes/sdnc/resources/config/bin/startODL.oom.sh
index 721f3407d5..4fb1af75be 100644
--- a/kubernetes/sdnc/resources/config/bin/startODL.oom.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.oom.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+{{/*
###
# ============LICENSE_START=======================================================
@@ -25,6 +26,7 @@
# Install SDN-C platform components if not already installed and start container
# List of used constants, that are provided during container initialization
+*/}}
ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
ODL_FEATURES_BOOT_FILE=$ODL_HOME/etc/org.apache.karaf.features.cfg
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.sh b/kubernetes/sdnc/resources/config/bin/startODL.sh
index a83fc92890..1f004396b6 100755
--- a/kubernetes/sdnc/resources/config/bin/startODL.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+{{/*
###
# ============LICENSE_START=======================================================
@@ -24,6 +25,7 @@
# Append features to karaf boot feature configuration
# $1 additional feature to be added
# $2 repositories to be added (optional)
+*/}}
function addToFeatureBoot() {
CFG=$ODL_HOME/etc/org.apache.karaf.features.cfg
ORIG=$CFG.orig