SDNC DG Builder Health Check using consul
Issue-ID: OOM-43
Change-Id: I46b1582de29c5d39e3f66e5c354960eab086d91a
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json
new file mode 100644
index 0000000..051c4ab
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json
@@ -0,0 +1,22 @@
+{
+ "service": {
+ "name": "Health Check: SDNC - DGBuilder",
+ "checks": [
+ {
+ "id": "sdnc-dgbuilder",
+ "name": "SDNC-DGbuilder Health Check",
+ "http": "http://sdnc-dgbuilder.onap-sdnc:3000/",
+ "method": "HEAD",
+ "header": {
+ "Authorization": ["Basic ZGd1c2VyOnRlc3QxMjM="],
+ "Cache-Control": ["no-cache"],
+ "Content-Type": ["application/json"],
+ "Accept": ["application/json"]
+ },
+ "tls_skip_verify": true,
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}