wrap exampleservice onboarding with disable-onboarding / enable-onboarding.
Change-Id: Ib61a6c06508c190a69a62be7b59e821665988962
diff --git a/cord-pod/Makefile b/cord-pod/Makefile
index 582f014..952fa84 100644
--- a/cord-pod/Makefile
+++ b/cord-pod/Makefile
@@ -116,8 +116,10 @@
onboard-exampleservice:
sudo cp id_rsa key_import/exampleservice_rsa
sudo cp id_rsa.pub key_import/exampleservice_rsa.pub
+ $(RUN_TOSCA_BOOTSTRAP) ../common/disable-onboarding.yaml
$(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/exampleservice/xos/exampleservice-onboard.yaml
$(RUN_TOSCA_BOOTSTRAP) exampleservice-synchronizer.yaml
+ $(RUN_TOSCA_BOOTSTRAP) ../common/enable-onboarding.yaml
bash ../common/wait_for_onboarding_ready.sh 81 services/exampleservice
bash ../common/wait_for_onboarding_ready.sh 81 xos
bash ../common/wait_for_xos_port.sh 80