Changes to enable monitoring for exampleservice
Change-Id: I2758b6caf803561bc182ceb747c4d8ca3af2cb9a
diff --git a/cord-pod/Makefile b/cord-pod/Makefile
index e8368c1..c630693 100644
--- a/cord-pod/Makefile
+++ b/cord-pod/Makefile
@@ -119,6 +119,10 @@
bash $(COMMON_DIR)/rebuild.sh $(XOS_BOOTSTRAP_PORT) monitoring
bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+rebuild-exampleservice:
+ bash $(COMMON_DIR)/rebuild.sh $(XOS_BOOTSTRAP_PORT) exampleservice
+ bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+
install-inframonitoring-agents:
bash $(SERVICE_DIR)/monitoring/xos/synchronizer/ceilometer/monitoring_agent/install_monitoring_ceilometer.sh
@@ -134,6 +138,8 @@
enable-exampleservicemonitoring:
$(RUN_TOSCA) exampleservicemonitoring.yaml
+ @echo "Validate if exampleservice metrics are available...."
+ ansible-playbook -i local $(SERVICE_DIR)/monitoring/xos/test/monitoring_test_exampleservicemetrics.yaml
inframonitoring_yaml:
export SETUPDIR=$(CONFIG_DIR); bash ./make-inframonitoring-yaml.sh