-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·30 lines (24 loc) · 1.01 KB
/
test.sh
File metadata and controls
executable file
·30 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#echo "Front-end App Login: app_user_1/App_User_111" > foo.txt
# RUN_CREATE_CACHE=1
# if [[ $RUN_CREATE_CACHE -eq 1 ]]; then
# echo "equal to one"
# fi
# Set the timeseries and asset information to query the services
# if [[ "$USE_WINDDATA_SERVICE" == "1" ]]; then
# getUrlForAppName $WINDDATA_SERVICE_APP_NAME WINDDATA_SERVICE_URL "https"
# __find_and_replace "\#windServiceURL: .*" "windServiceURL: $WINDDATA_SERVICE_URL" "manifest.yml" "$logDir"
# fi
PROXY_HOST_PORT=$(echo $http_proxy | awk -F"//" '{print $2}')
if [[ -z "$PROXY_HOST_PORT" ]]; then
PROXY_HOST_PORT=$(echo $https_proxy | awk -F"//" '{print $2}')
fi
if [[ -z "$PROXY_HOST_PORT" ]]; then
PROXY_HOST_PORT=$(echo $HTTP_PROXY | awk -F"//" '{print $2}')
fi
if [[ -z "$PROXY_HOST_PORT" ]]; then
PROXY_HOST_PORT=$(echo $HTTPS_PROXY | awk -F"//" '{print $2}')
fi
PROXY_HOST=$(echo $PROXY_HOST_PORT | awk -F":" '{print $1}')
PROXY_PORT=$(echo $PROXY_HOST_PORT | awk -F":" '{print $2}')
echo "PROXY_HOST : $PROXY_HOST"
echo "PROXY_PORT : $PROXY_PORT"