aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/components/appc-ansible-server/resources/config/RestServer_config
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-01-13 10:05:46 +0000
committermpriyank <priyank.maheshwari@est.tech>2023-01-13 11:37:45 +0000
commit709ea3f8ba1fc234548d13f818c7ec67e50a9ea8 (patch)
treec1d776b019e66a1802a7da8789efc66259a7160d /kubernetes/appc/components/appc-ansible-server/resources/config/RestServer_config
parentf6bda71b5f76434b09004c5adfc8dab8cf17c1c2 (diff)
[CPS] Add new Topic for CPS-NCMP AVC Events
- Adding new topic dmi-cm-events - added user and topic parameters - changed one of the unreachable link for honolulu ( not relevant for CPS but had to do inorder to make the build pass ) Issue-ID: CPS-1385 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I0037ae727f9f06c3b28a9331c7eb9fd7037f501d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'kubernetes/appc/components/appc-ansible-server/resources/config/RestServer_config')
0 files changed, 0 insertions, 0 deletions
weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash

# Copyright © 2018 Amdocs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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 )

IS_PRIMARY_CLUSTER=`awk '/isPrimaryCluster/ {print $2}' $dir/../../../values.yaml`

if [ "$?" -eq "2" ]; then
      echo "Make sure you are ubuntu user." >&2
fi

case $IS_PRIMARY_CLUSTER in
true|false)
	echo $IS_PRIMARY_CLUSTER
	;;
*)
	echo "NOT CLUSTERED"
	exit 1
	;;
esac