2 ################################################################################
3 # Copyright (c) 2019 AT&T Intellectual Property. #
4 # Copyright (c) 2019 Nokia. #
6 # Licensed under the Apache License, Version 2.0 (the "License"); #
7 # you may not use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
10 # http://www.apache.org/licenses/LICENSE-2.0 #
12 # Unless required by applicable law or agreed to in writing, software #
13 # distributed under the License is distributed on an "AS IS" BASIS, #
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15 # See the License for the specific language governing permissions and #
16 # limitations under the License. #
17 ################################################################################
19 # This script deploys RIC aux components automatically
23 if [ -z "$OVERRIDEYAML" ];then
24 echo "****************************************************************************************************************"
26 echo "****************************************************************************************************************"
27 echo "Deploying RIC auxiliary without deployment recipe. Default configurations are used."
28 echo "****************************************************************************************************************"
33 ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
35 source $ROOT_DIR/../etc/ric.conf
38 export RICAUX_RELEASE_NAME=$helm_release_name
40 export RICPLT_NAMESPACE=$plt_namespace
41 export RICXAPP_NAMESPACE=$xapp_namespace
42 export RICAUX_NAMESPACE=$aux_namespace
43 export RICINFRA_NAMESPACE=$infra_namespace
45 for component in $ROOT_DIR/../ric-aux/*/; do
46 # Will print */ if no directories are available
47 . $component/bin/install $OVERRIDEYAML