summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/scripts/_functions.sh
diff options
context:
space:
mode:
authorRitu Sood <Ritu.Sood@intel.com>2020-02-19 22:20:54 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-19 22:20:54 +0000
commit38df1b0ee0f1d6cd3bf11f94adf7c952f32c191c (patch)
treecec497029ee03ac626bcdc45d5cbd4542ae15412 /src/orchestrator/scripts/_functions.sh
parent260be59a550c865ce5be6b127e198c40fb45714d (diff)
parente1997606ab2174df37330b9a3ee6e213cf7e378f (diff)
Merge "Add docker dev scripts expose mongo port"
Diffstat (limited to 'src/orchestrator/scripts/_functions.sh')
-rwxr-xr-xsrc/orchestrator/scripts/_functions.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/orchestrator/scripts/_functions.sh b/src/orchestrator/scripts/_functions.sh
index cba65d94..1200f71f 100755
--- a/src/orchestrator/scripts/_functions.sh
+++ b/src/orchestrator/scripts/_functions.sh
@@ -28,9 +28,17 @@ function start_etcd {
function generate_config {
cat << EOF > config.json
{
+ "ca-file": "ca.cert",
+ "server-cert": "server.cert",
+ "server-key": "server.key",
+ "password": "",
"database-ip": "${DATABASE_IP}",
"database-type": "mongo",
"plugin-dir": "plugins",
+ "etcd-ip": "127.0.0.1",
+ "etcd-cert": "",
+ "etcd-key": "",
+ "etcd-ca-file": "",
"service-port": "9015"
}
EOF