Revise deployment tools to better reflect the repo structure.

Signed-off-by: Zhe Huang <zhehuang@research.att.com>
Change-Id: I7273d520aa3b1b6260ea5872411263ab2e0dc0e0
diff --git a/bin/deploy-ric-platform b/bin/deploy-ric-platform
index 1d2f837..a16b67c 100755
--- a/bin/deploy-ric-platform
+++ b/bin/deploy-ric-platform
@@ -58,19 +58,7 @@
     nohup helm serve >& /dev/null &
 fi
 
-# Package ric-common and serve it using Helm local repo
-HELM_HOME=$(helm home)
-COMMON_CHART_VERSION=$(cat $ROOT_DIR/../ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}')
-helm package -d /tmp $ROOT_DIR/../ric-common/Common-Template/helm/ric-common
-cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/
-helm repo index $HELM_HOME/repository/local/
-
-
-# Make sure that helm local repo is added
-helm repo remove local
-helm repo add local http://127.0.0.1:8879/charts
-
-
+$ROOT_DIR/prepare-common-templates
 
 $ROOT_DIR/../ric-dep/bin/install -f $OVERRIDEYAML