[SDNC] change comment style 12/114112/1
authorJakub Latusek <j.latusek@samsung.com>
Wed, 21 Oct 2020 11:36:29 +0000 (13:36 +0200)
committerJakub Latusek <j.latusek@samsung.com>
Wed, 21 Oct 2020 12:03:20 +0000 (14:03 +0200)
Signed-off-by: Jakub Latusek <j.latusek@samsung.com>
Change-Id: Ia390319f744931f435615af49246c0e13cdb8564
Issue-ID: OOM-2562

29 files changed:
kubernetes/sdnc/components/dmaap-listener/resources/config/dblib.properties
kubernetes/sdnc/components/sdnc-ansible-server/resources/config/RestServer_config
kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncActive.sh
kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncStandby.sh
kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
kubernetes/sdnc/components/sdnc-prom/resources/bin/sdnc.cluster
kubernetes/sdnc/components/sdnc-prom/resources/bin/sdnc.dnsswitch
kubernetes/sdnc/components/sdnc-prom/resources/bin/sdnc.failover
kubernetes/sdnc/components/sdnc-prom/resources/bin/sdnc.monitor
kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh
kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
kubernetes/sdnc/components/ueb-listener/resources/config/dblib.properties
kubernetes/sdnc/resources/config/bin/installSdncDb.sh
kubernetes/sdnc/resources/config/bin/startODL.oom.sh
kubernetes/sdnc/resources/config/bin/startODL.sh
kubernetes/sdnc/resources/config/conf/aaiclient.properties
kubernetes/sdnc/resources/config/conf/blueprints-processor-adaptor.properties
kubernetes/sdnc/resources/config/conf/dblib.properties
kubernetes/sdnc/resources/config/conf/netbox.properties
kubernetes/sdnc/resources/config/conf/setenv
kubernetes/sdnc/resources/config/conf/svclogic.properties
kubernetes/sdnc/resources/config/log/org.ops4j.pax.logging.cfg
kubernetes/sdnc/resources/env.yaml
kubernetes/sdnc/resources/geo/bin/sdnc.cluster
kubernetes/sdnc/resources/geo/bin/sdnc.isPrimaryCluster
kubernetes/sdnc/resources/geo/bin/sdnc.makeActive
kubernetes/sdnc/resources/geo/bin/sdnc.monitor
kubernetes/sdnc/resources/geo/bin/switchVoting.sh
kubernetes/sdnc/templates/sdnrdb-init-job.yaml

index beb514e..846abc2 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # ============LICENSE_START=======================================================
 # Copyright (C) 2018 ONAP Intellectual Property. All rights reserved.
@@ -15,6 +16,7 @@
 # limitations under the License.
 # ============LICENSE_END=========================================================
 ###
+*/}}
 org.onap.ccsdk.sli.dbtype=jdbc
 org.onap.ccsdk.sli.jdbc.hosts=sdnctldb01
 org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://{{include "common.mariadbService" $}}:{{include "common.mariadbPort" $}}/{{index $.Values "mariadb-galera" "config" "mysqlDatabase"}}
index 7dc5c19..ce20cc9 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2017 AT&T, Amdocs, Bell Canada
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 # Host definition
 ip:     0.0.0.0
index fb24653..5a53fa1 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 debugLog(){
   if [ "$enableDebugLogging" == true ]; then
index 8dd84bd..9c81069 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 debugLog(){
   if [ "$enableDebugLogging" == true ]; then
index c93ba24..7764d00 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 if [ "${SDNC_IS_PRIMARY_CLUSTER:-true}" = "true" ];then
   id=sdnc01
index bdfa1a4..5e81547 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 # query ODL cluster state
 USERNAME="{{.Values.odl.jolokia.username}}"
index 209352c..b6fcf16 100755 (executable)
@@ -1,4 +1,5 @@
 #! /bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -17,6 +18,7 @@
 ####################################################################################################
 # sdncDnsSwitchWrapper.bash: Wrapper script to invoke SDNC DNS Switch for domain: sdnc.example.com #
 ####################################################################################################
+*/}}
 ssh -i {{.Values.coreDNS.sshKeyFile}} -o StrictHostKeyChecking=no {{.Values.coreDNS.sshUser}}@{{.Values.coreDNS.host}} "{{.Values.coreDNS.switchScript}} $SDNC_LOCAL_K8S_CLUSTER_MASTER {{.Values.config.deployment}}"
 
 exit $?
index e78b7ee..d9133e8 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 LOGFILE="/app/geo.log"
 enableDebugLogging=true
index 0042ac3..7eac9a3 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python2
+{{/*
 # encoding: utf-8
 
 # Copyright © 2018 Amdocs
@@ -14,6 +15,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 import sys
 import os
index f13196e..091643f 100755 (executable)
@@ -1,3 +1,4 @@
+{{/*
 #/bin/sh
 
 # Copyright © 2018 Amdocs
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 set -e
 primary=${SDNC_IS_PRIMARY_CLUSTER:-true}
index 96f499a..52345de 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2020 highstreet technologies GmbH
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 nclude "common.repository" . }}apiVersion: apps/v1
 kind: Deployment
index b4e69d3..5d8c449 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # ============LICENSE_START=======================================================
 # openECOMP : SDN-C
@@ -18,6 +19,7 @@
 # limitations under the License.
 # ============LICENSE_END=========================================================
 ###
+*/}}
 
 # dblib.properties
 org.onap.ccsdk.sli.dbtype=jdbc
index 754ff2c..caf745c 100755 (executable)
@@ -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}
index 721f340..4fb1af7 100644 (file)
@@ -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
index a83fc92..1f00439 100755 (executable)
@@ -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
index 5d4473c..7021990 100755 (executable)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # ============LICENSE_START=======================================================
 # openECOMP : SDN-C
@@ -17,6 +18,7 @@
 # limitations under the License.
 # ============LICENSE_END=========================================================
 ###
+*/}}
 
 #
 # Configuration file for A&AI Client
@@ -78,4 +80,4 @@ org.onap.ccsdk.sli.adaptors.aai.path.vnf.image.query=/aai/v13/service-design-and
 org.onap.ccsdk.sli.adaptors.aai.param.format=filter=%s:%s
 org.onap.ccsdk.sli.adaptors.aai.param.vnf_type=vnf-type
 org.onap.ccsdk.sli.adaptors.aai.param.physical.location.id=physical-location-id
-org.onap.ccsdk.sli.adaptors.aai.param.service.type=service-type
\ No newline at end of file
+org.onap.ccsdk.sli.adaptors.aai.param.service.type=service-type
index 224e84b..4ce1851 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # Copyright � 2017-2018 AT&T Intellectual Property.
 # Modifications Copyright � 2018 IBM.
@@ -17,6 +18,7 @@
 #
 # Configuration file for SDNC Controller Module
 #
+*/}}
 
 org.onap.ccsdk.features.blueprints.adaptors.envtype=solo
 
index 1fb6fb8..97daec0 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # ============LICENSE_START=======================================================
 # Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
@@ -15,6 +16,7 @@
 # limitations under the License.
 # ============LICENSE_END=========================================================
 ###
+*/}}
 org.onap.ccsdk.sli.dbtype=jdbc
 org.onap.ccsdk.sli.jdbc.hosts=sdnctldb01
 org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://{{include "common.mariadbService" $}}:{{include "common.mariadbPort" $}}/{{$.Values.config.dbSdnctlDatabase}}
index a768041..c94e060 100755 (executable)
@@ -1,3 +1,4 @@
+{{/*
 #
 # Copyright (C) 2018 AT&T, Bell Canada.
 #
@@ -13,6 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+*/}}
 
 # Configuration file for Netbox client
 org.onap.ccsdk.sli.adaptors.netbox.url=http://netbox-app.{{.Release.Namespace}}:8001
index 52c9ff7..85af48a 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/sh
+{{/*
 #
 #    Licensed to the Apache Software Foundation (ASF) under one or more
 #    contributor license agreements.  See the NOTICE file distributed with
@@ -50,6 +51,7 @@
 # export KARAF_DEBUG # Enable debug mode
 # export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start
 # export KARAF_NOROOT # Prevent execution as root if set to true
+*/}}
 if [ "x$JAVA_MAX_MEM" = "x" ]; then
     export JAVA_MAX_MEM="2048m"
 fi
index adbba66..298bbcc 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ###
 # ============LICENSE_START=======================================================
 # openECOMP : SDN-C
@@ -17,6 +18,7 @@
 # limitations under the License.
 # ============LICENSE_END=========================================================
 ###
+*/}}
 
 org.onap.ccsdk.sli.dbtype = jdbc
 org.onap.ccsdk.sli.jdbc.url = jdbc:mysql://{{include "common.mariadbService" $}}:{{include "common.mariadbPort" $}}/{{$.Values.config.dbSdnctlDatabase}}
index 8a608f0..685a285 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ################################################################################
 #
 #    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,7 @@
 #
 ################################################################################
 # Properties used as default values in MDC
+*/}}
 log4j2.property.ServiceName = INTERNAL
 log4j2.property.ErrorCode = 900
 log4j2.property.ErrorDesc = UnknownError
index 6e38ae9..f02f8ae 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2018 Amdocs
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 SDNC_AAF_ENABLED: "{{ .Values.global.aafEnabled }}"
 SDNC_GEO_ENABLED: "{{ .Values.config.geoEnabled }}"
index 87cdeff..bc285fb 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 if ! [ "$(command -v jq)" ]; then
   echo "Error: jq is not installed."
index 7a4f6a7..ffd0448 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 dir=$( dirname $0 )
 
index 76eca48..88f57b1 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 if [ $# -lt 1 ];then
   echo "Usage: makeactive <release> [namespace]"
index b14bd73..3f9f401 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 if [ $# -lt 1 ];then
   echo "Usage: $(basename $0) [--debug] <release> [namespace]"
index 7a1c193..076f1ea 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+{{/*
 
 # Copyright © 2018 Amdocs
 #
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 function usage()
 {
index 42b3f25..7975b70 100755 (executable)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2020 highstreet technologies GmbH
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 {{ if .Values.config.sdnr.enabled -}}
 apiVersion: batch/v1
 kind: Job