Commit 538e7037 authored by Roque's avatar Roque

Change ingestion policy url

parent 80ca41d2
......@@ -3,7 +3,8 @@
DATA_LAKE_URL='https://wendelin.io/'
DOWN_URL="$DATA_LAKE_URL/"
ING_URL="$DATA_LAKE_URL/portal_ingestion_policies/wendelin_embulk"
ING_POLICY="portal_ingestion_policies/default_embulk"
ING_URL="$DATA_LAKE_URL$ING_POLICY"
EBULK_VERSION="0.9.7"
EBULK_DATA_PATH=~/.ebulk
......@@ -48,7 +49,7 @@ if [ -f "$DATA_LAKE_URL_FILE" ]; then
URL=$(cat "$DATA_LAKE_URL_FILE" 2>/dev/null)
if [[ "$URL" != "" ]]; then
DOWN_URL="$URL/"
ING_URL="$URL/portal_ingestion_policies/wendelin_embulk"
ING_URL="$URL$ING_POLICY"
fi
fi
......@@ -225,7 +226,7 @@ function setDataLakeUrl {
function defaultDataLakeUrl {
echo "" > "$DATA_LAKE_URL_FILE" 2>/dev/null
DOWN_URL="$DATA_LAKE_URL/"
ING_URL="$DATA_LAKE_URL/portal_ingestion_policies/wendelin_embulk"
ING_URL="$DATA_LAKE_URL$ING_POLICY"
}
function updateConfigFile {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment