summaryrefslogtreecommitdiffstats
path: root/tca-cdap-container
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-04-05 20:34:40 +0000
committervagrant <vv770d@att.com>2018-04-05 21:42:28 +0000
commit61c202d9b8ba132b90d6770c5dab7147b60db019 (patch)
tree4276d903ade50e7ea78d9543f7aec51ffe7123d9 /tca-cdap-container
parentac864ceb9f1eeef6057d105e7a670ad064701750 (diff)
update default configuration for heat deploy
Change-Id: I0ca2db24c757a5a8372e83ba1b7dbf5eb67b7d69 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-434
Diffstat (limited to 'tca-cdap-container')
-rwxr-xr-xtca-cdap-container/restart.sh5
-rw-r--r--tca-cdap-container/tca_app_preferences.json2
2 files changed, 4 insertions, 3 deletions
diff --git a/tca-cdap-container/restart.sh b/tca-cdap-container/restart.sh
index 95a41d2..32c920e 100755
--- a/tca-cdap-container/restart.sh
+++ b/tca-cdap-container/restart.sh
@@ -48,7 +48,8 @@ CBS_PORT=$(curl -s "${CONSUL_HOST}:${CONSUL_PORT}/v1/catalog/service/${CBS_SERVI
CBS_HOST=${CBS_HOST:-config_binding_service}
CBS_PORT=${CBS_PORT:-10000}
-MY_NAME=${SERVICE_NAME:-tca}
+#Changing to HOSTNAME parameter for consistency with k8s deploy
+MY_NAME=${HOSTNAME:-tca}
echo "TCA environment: I am ${MY_NAME}, consul at ${CONSUL_HOST}:${CONSUL_PORT}, CBS at ${CBS_HOST}:${CBS_PORT}, service name ${CBS_SERVICE_NAME}"
@@ -141,7 +142,7 @@ function tca_status {
function tca_poll_policy {
- MY_NAME=${SERVICE_NAME:-tca}
+ MY_NAME=${HOSTNAME:-tca}
URL1="${CBS_HOST}:${CBS_PORT}/service_component/${MY_NAME}"
URL2="$URL1:preferences"
diff --git a/tca-cdap-container/tca_app_preferences.json b/tca-cdap-container/tca_app_preferences.json
index 76fa8c2..a2c3bf7 100644
--- a/tca-cdap-container/tca_app_preferences.json
+++ b/tca-cdap-container/tca_app_preferences.json
@@ -7,7 +7,7 @@
"aaiEnrichmentUserPassword": "DCAE",
"aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query",
"aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf",
- "enableAAIEnrichment": "false",
+ "enableAAIEnrichment": "true",
"enableAlertCEFFormat": "false",
"enableRedisCaching": "{{REDISCACHING}}",
"redisHosts": "{{REDISHOSTPORT}}",