add changes for dbtestapp

Change-Id: I7ce23863b22a434fec75132b698b4cd33417fc77
diff --git a/5g-test-apps-values.yaml b/5g-test-apps-values.yaml
new file mode 100644
index 0000000..430ed0c
--- /dev/null
+++ b/5g-test-apps-values.yaml
@@ -0,0 +1,7 @@
+# Copyright 2019-present Open Networking Foundation
+#
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+config:
+  dbtestapp:
+    replica: 2
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 474108c..50fb387 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@
 RANSIM_VALUES  ?= $(MAKEDIR)/ransim-values.yaml
 ROC_4G_MODELS  ?= $(MAKEDIR)/roc-4g-models-v4.json
 ROC_5G_MODELS  ?= $(MAKEDIR)/roc-5g-models-v4.json
+TEST_APP_VALUES?= $(MAKEDIR)/5g-test-apps-values.yaml
 
 KUBESPRAY_VERSION ?= release-2.17
 DOCKER_VERSION	?= '20.10'
@@ -351,6 +352,19 @@
 reset-5g-test: cleanup-omec
 	cd $(M); rm -f 5g-core
 
+reset-dbtestapp:
+	helm uninstall --namespace omec 5g-test-app
+
+dbtestapp:
+	helm repo update
+	if [ "$(CHARTS)" == "local" ]; then helm dep up $(5G_TEST_APPS_CHART); fi
+	helm upgrade --install --wait $(HELM_GLOBAL_ARGS) \
+		--namespace omec \
+		5g-test-app \
+		--values $(TEST_APP_VALUES) \
+		$(5G_TEST_APPS_CHART)
+	@echo "Finished to dbtestapp"
+
 clean:
 	kubectl delete po router || true
 	kubectl delete net-attach-def core-net || true
diff --git a/configs/local b/configs/local
index b2cd2ea..0ffdc58 100644
--- a/configs/local
+++ b/configs/local
@@ -8,6 +8,7 @@
 OMEC_SUB_PROVISION_CHART := $(WORKSPACE)/cord/sdcore-helm-charts/omec-sub-provision
 5GC_CONTROL_PLANE_CHART  := $(WORKSPACE)/cord/sdcore-helm-charts/5g-control-plane
 5G_RAN_SIM_CHART         := $(WORKSPACE)/cord/sdcore-helm-charts/5g-ran-sim
+5G_TEST_APPS_CHART       := $(WORKSPACE)/cord/sdcore-helm-charts/5g-test-apps
 
 # Support testing aether-roc-umbrella chart
 AETHER_ROC_UMBRELLA_CHART := $(WORKSPACE)/cord/roc-helm-charts/aether-roc-umbrella
diff --git a/configs/local-sdcore b/configs/local-sdcore
index 2078457..bb35edb 100644
--- a/configs/local-sdcore
+++ b/configs/local-sdcore
@@ -8,6 +8,7 @@
 OMEC_SUB_PROVISION_CHART := $(WORKSPACE)/cord/sdcore-helm-charts/omec-sub-provision
 5GC_CONTROL_PLANE_CHART  := $(WORKSPACE)/cord/sdcore-helm-charts/5g-control-plane
 5G_RAN_SIM_CHART         := $(WORKSPACE)/cord/sdcore-helm-charts/5g-ran-sim
+5G_TEST_APPS_CHART       := $(WORKSPACE)/cord/sdcore-helm-charts/5g-test-apps
 
 # Support testing aether-roc-umbrella chart
 AETHER_ROC_UMBRELLA_CHART := $(WORKSPACE)/cord/roc-helm-charts/aether-roc-umbrella