File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,10 @@ if [ -z $DSS_FILE_NAME ]; then
69
69
fi
70
70
71
71
function replaceCommonIp() {
72
- if [ -z " $DSS_SERVER_INSTALL_IP " ]; then
72
+ if [ -z " $DSS_SERVER_INSTALL_IP " ]; then
73
73
DSS_SERVER_INSTALL_IP=$LOCAL_IP
74
74
fi
75
+
75
76
if [ -z " $DSS_SERVER_PORT " ]; then
76
77
DSS_SERVER_PORT=9002
77
78
fi
@@ -83,12 +84,13 @@ function replaceCommonIp() {
83
84
DSS_APPS_SERVER_PORT=9003
84
85
fi
85
86
86
- if [[ $GATEWAY_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $GATEWAY_INSTALL_IP " ]; then
87
+ if [[ $GATEWAY_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $GATEWAY_INSTALL_IP " ]; then
87
88
GATEWAY_INSTALL_IP=$LOCAL_IP
88
- fi
89
- if [[ $EUREKA_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $EUREKA_INSTALL_IP " ]; then
89
+ fi
90
+
91
+ if [[ $EUREKA_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $EUREKA_INSTALL_IP " ]; then
90
92
EUREKA_INSTALL_IP=$LOCAL_IP
91
- fi
93
+ fi
92
94
}
93
95
# #替换真实的IP
94
96
replaceCommonIp
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ GATEWAY_INSTALL_IP=127.0.0.1
25
25
GATEWAY_PORT=9001
26
26
27
27
# ## Linkis BML Token
28
- BML_AUTH=BML-14ddab34fbd640afa523dd8d1496c3c3
28
+ BML_AUTH=BML-AUTH
29
29
30
30
# ################## The install Configuration of all Micro-Services start #####################
31
31
#
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ wds.linkis.mysql.is.encrypt=false
23
23
wds.linkis.server.mybatis.datasource.url =
24
24
wds.linkis.server.mybatis.datasource.username =
25
25
***REMOVED***
26
- wds.linkis.bml.auth.token.value =
27
- linkis.configuration.linkisclient.auth.token.value =
28
- wds.linkis.context.client.auth.value =
29
- wds.linkis.errorcode.auth.token =
26
+ wds.linkis.bml.auth.token.value =BML-AUTH
27
+ linkis.configuration.linkisclient.auth.token.value =BML-AUTH
28
+ wds.linkis.context.client.auth.value =BML-AUTH
29
+ wds.linkis.errorcode.auth.token =BML-AUTH
30
30
31
31
wds.dss.check.server.active.period =30
32
32
You can’t perform that action at this time.
0 commit comments