+#!/bin/bash
################################################################################
# Copyright (c) 2019 AT&T Intellectual Property. #
# Copyright (c) 2019 Nokia. #
# limitations under the License. #
################################################################################
-# ------------------- RIC PLATFORM ---------------------------------------
+# This script deploys RIC auxiliary function components automatically
-# release name helm will use to deploy RIC platform componenets
-ric_platform_helm_release_name=r0
-# namespace that helm will use to deploy RIC
-ric_platform_namespace=ricplt
+ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
+source $ROOT_DIR/../etc/ric.conf
+source $ROOT_DIR/../etc/ric-infra.conf
+
+
+export RICINFRA_RELEASE_NAME=$helm_release_name
+
+export RICPLT_NAMESPACE=$plt_namespace
+export RICXAPP_NAMESPACE=$xapp_namespace
+export RICAUX_NAMESPACE=$aux_namespace
+export RICINFRA_NAMESPACE=$infra_namespace
+
+
+for component in $ROOT_DIR/../ric-infra/*/; do
+ # Will print */ if no directories are available
+ . $component/bin/uninstall
+
+done
-#