aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe
diff options
context:
space:
mode:
authorml636r <ml6364@att.com>2018-04-17 12:48:56 +0300
committerIdan Amit <ia096e@intl.att.com>2018-04-17 11:32:46 +0000
commit757ca27473fd4d713db46fd281ce3f14cb7949d6 (patch)
treee1d80c06c5ac8c0cb87f160cce2f2c8463499751 /catalog-fe
parentbfbe2c38fd1a5e85c2b30a4217015492d586caa2 (diff)
fix miss match in the notification
align the object sent from sdc for distribution with the one in distribution client revert resourceType to resoucreType exclude DMAPP DE and DCAE from failing the health check align the ready probe to check for 200 insted of 500 in FE and BE Change-Id: I1e03660b1e6aded4b6c0cb19fcffe9a821679316 Issue-ID: SDC-1238 Signed-off-by: ml636r <ml6364@att.com>
Diffstat (limited to 'catalog-fe')
-rw-r--r--catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb4
-rw-r--r--catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb
index e4c36ca00b..1a245d24b5 100644
--- a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb
+++ b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb
@@ -109,5 +109,5 @@ kibanaProtocol: http
healthStatusExclude:
- DE
- - ES
- - DMAAP
+ - DMAPP
+ - DCAE
diff --git a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb
index d743900892..f721f9a694 100644
--- a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb
+++ b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb
@@ -1,7 +1,7 @@
#!/bin/bash
health_Check_http_code=$(curl --max-time 5 -o /dev/null -w '%{http_code}' http://127.0.0.1:8181/sdc1/rest/healthCheck)
-if [[ "$health_Check_http_code" -eq 500 ]]; then
+if [[ "$health_Check_http_code" -eq 200 ]]; then
exit 200
else
exit $health_Check_http_code