summaryrefslogtreecommitdiffstats
path: root/mod/onboardingapi/start.sh
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-08-03 18:15:21 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-03 18:15:21 +0000
commitba3d7306c1773ea78ad7a87468fc66b9b4f18551 (patch)
treebd39a59806e9772d6b597b0e0db48d5b9035fcbf /mod/onboardingapi/start.sh
parent9f7c742ea64a6acb4f5ce2b8df885750c68a2ed3 (diff)
parent711d4eae913f34e78aa10e8cd511f3b8e43cd54f (diff)
Merge "Pull JSON schemas at build/test not run time"
Diffstat (limited to 'mod/onboardingapi/start.sh')
-rwxr-xr-xmod/onboardingapi/start.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/onboardingapi/start.sh b/mod/onboardingapi/start.sh
index a938c98..5fae389 100755
--- a/mod/onboardingapi/start.sh
+++ b/mod/onboardingapi/start.sh
@@ -9,8 +9,7 @@ fi
mkdir -p ~/.config/dcae-cli
if [ ! -f ~/.config/dcae-cli/config.json ]; then
echo "Creating dcae-cli config"
- # TODO: Make this into a variable that gets fed in via docker run
- echo "{\"server_url\": \"https://git.onap.org/dcaegen2/platform/plain/mod\", \"user\": \"api\", \"db_url\": \"$PG_CONN\", \"cli_version\": \"2.12.0\", \"path_component_spec\": \"/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json\", \"path_data_format\": \"/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json\"}" > ~/.config/dcae-cli/config.json
+ echo "{\"server_url\": \"$SERVER_URL\", \"db_url\": \"$PG_CONN\", \"path_component_spec\": \"$PATH_COMPONENT_SPEC\", \"path_data_format\": \"$PATH_DATA_FORMAT\"}" > ~/.config/dcae-cli/config.json
fi
dcae_cli http --live