summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunil unnava <sunil.unnava@att.com>2018-09-20 20:19:47 -0400
committersunil unnava <su622b@att.com>2018-09-21 00:36:27 +0000
commitb359bf2fbf023feb2477adb69c19fe9223695378 (patch)
tree51f483cffc9411a961e9b3fc14de13008435f313
parent9733421dbe8eb679bfc406f899ca8e68b768bc3c (diff)
updated the etc/hosts
Issue-ID: DMAAP-520 Change-Id: I3b43a9bff9dd3ef5ff2a7bea44f70cd39e1d3786 Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r--bundleconfig-local/etc/appprops/MsgRtrApi.properties4
-rw-r--r--src/main/resources/docker/startup.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/bundleconfig-local/etc/appprops/MsgRtrApi.properties b/bundleconfig-local/etc/appprops/MsgRtrApi.properties
index 160cc0b..4509159 100644
--- a/bundleconfig-local/etc/appprops/MsgRtrApi.properties
+++ b/bundleconfig-local/etc/appprops/MsgRtrApi.properties
@@ -37,7 +37,7 @@
## Both Cambria and Kafka make use of Zookeeper.
##
#config.zk.servers=172.18.1.1
-config.zk.servers=10.12.5.108
+config.zk.servers=<zookeeper_host>
#config.zk.root=/fe3c/cambria/config
@@ -49,7 +49,7 @@ config.zk.servers=10.12.5.108
## configurations (after removing "kafka.")
## if you want to change request.required.acks it can take this one value
#kafka.metadata.broker.list=localhost:9092,localhost:9093
-kafka.metadata.broker.list=10.12.5.108:9092
+kafka.metadata.broker.list=<kafka_host>:<kafka_port>
##kafka.request.required.acks=-1
#kafka.client.zookeeper=${config.zk.servers}
consumer.timeout.ms=100
diff --git a/src/main/resources/docker/startup.sh b/src/main/resources/docker/startup.sh
index 792d87a..a857a20 100644
--- a/src/main/resources/docker/startup.sh
+++ b/src/main/resources/docker/startup.sh
@@ -27,4 +27,6 @@ echo "AJSC HOME directory is " $root_directory
echo "AJSC Conf Directory is" $config_directory
echo "Starting using" $runner_file
+
+echo "10.12.6.214 aaf-onap-beijing-test aaf-onap-beijing-test.osaaf.org aaf-onap-test.osaaf.org" >> /etc/hosts
java -jar -XX:MaxPermSize=256m -XX:PermSize=32m -DSOACLOUD_SERVICE_VERSION=0.0.1 -DAJSC_HOME=$root_directory -DAJSC_CONF_HOME=$config_directory -DAJSC_SHARED_CONFIG=$config_directory -DAJSC_HTTPS_PORT=3905 -Dplatform=NON-PROD -DPid=1306 -Dlogback.configurationFile=/appl/dmaapMR1/bundleconfig/etc/logback.xml -Xmx512m -Xms512m $runner_file context=/ port=3904 sslport=3905