Skip to content

Commit 5ceb098

Browse files
author
xlinliu
committed
fix info
1 parent bbcfaef commit 5ceb098

File tree

18 files changed

+26
-26
lines changed

18 files changed

+26
-26
lines changed

assembly/bin/appconn-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ executeSQL
105105
echo ""
106106

107107
echo "step4:refresh appconn load"
108-
curl -H "Token-Code:BML-AUTH" -H "Token-User:hadoop" -X GET http://${GATEWAY_INSTALL_IP}:${GATEWAY_PORT}/api/rest_j/v1/dss/framework/project/appconn/${APPCONN_NAME}/load
108+
curl -H "Token-Code:" -H "Token-User:hadoop" -X GET http://${GATEWAY_INSTALL_IP}:${GATEWAY_PORT}/api/rest_j/v1/dss/framework/project/appconn/${APPCONN_NAME}/load
109109
echo ""
110110

111111
echo ""

conf/dss-flow-execution-server.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ wds.linkis.server.version=v1
4343
wds.linkis.server.socket.mode=true
4444

4545
wds.linkis.client.flow.adminuser=ws
46-
wds.linkis.client.flow.author.user.token=WS-AUTH
46+
wds.linkis.client.flow.author.user.token=
4747

4848
wds.linkis.server.component.exclude.classes=org.apache.linkis.entranceclient.conf.ClientForEntranceSpringConfiguration,org.apache.linkis.entranceclient.conf.ClientSpringConfiguration
4949

conf/dss-framework-orchestrator-server.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.server.
3737
wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.framework.appconn.dao,com.webank.wedatasphere.dss.orchestrator.core.dao,com.webank.wedatasphere.dss.server.dao,com.webank.wedatasphere.dss.application.dao,com.webank.wedatasphere.dss.workspace.mapper,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.orchestrator.db.dao
3838

3939
wds.dss.appconn.scheduler.project.store.dir=file:///appcom/tmp/wds/scheduler
40-
wds.dss.appconn.scheduler.azkaban.login.passwd=userpwd
40+
wds.dss.appconn.scheduler.azkaban.login.passwd=
4141
##export file dir
4242
wds.dss.server.export.url=/appcom/tmp/dss

docs/en_US/ch2/Azkaban_LinkisJobType_Deployment_Manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ cd linkis/bin/
2121
##Linkis gateway url
2222
LINKIS_GATEWAY_URL=http://127.0.0.1:9001 ## Linkis' GateWay address
2323
24-
##Linkis gateway token defaultWS-AUTH
25-
LINKIS_GATEWAY_TOKEN=WS-AUTH ## Linkis proxy token, this parameter can use the default
24+
##Linkis gateway token default
25+
LINKIS_GATEWAY_TOKEN= ## Linkis proxy token, this parameter can use the default
2626
2727
##Azkaban executor host
2828
AZKABAN_EXECUTOR_HOST=127.0.0.1 ## AZKABAN actuator machine IP

docs/zh_CN/ch2/Azkaban_LinkisJobType_Deployment_Manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ cd linkis/bin/
2121
##Linkis gateway url
2222
LINKIS_GATEWAY_URL=http://127.0.0.1:9001 ## linkis的GateWay地址
2323
24-
##Linkis gateway token defaultWS-AUTH
25-
LINKIS_GATEWAY_TOKEN=WS-AUTH ## Linkis的代理Token,该参数可以用默认值
24+
##Linkis gateway token default
25+
LINKIS_GATEWAY_TOKEN= ## Linkis的代理Token,该参数可以用默认值
2626
2727
##Azkaban executor host
2828
AZKABAN_EXECUTOR_HOST=127.0.0.1 ## 如果Azkaban是单机安装则该IP就是机器IP,如果是分布式安装为Azkaban执行器机器IP,

docs/zh_CN/ch4/第三方系统接入DSS指南.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class VisualisSecurityService extends AppJointUrlImpl implements Security
6767
VisualisSession visualisSession = new VisualisSession();
6868
visualisSession.setUser(user);
6969
visualisSession.getParameters().put("Token-User",user);
70-
visualisSession.getParameters().put("Token-Code","WS-AUTH");
70+
visualisSession.getParameters().put("Token-Code","");
7171
return visualisSession;
7272
}
7373

dss-appconn/appconns/dss-schedulis-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/schedulis/conf/AzkabanConf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
public class AzkabanConf {
2323
public static final CommonVars<String> DEFAULT_STORE_PATH = CommonVars.apply("wds.dss.appconn.scheduler.project.store.dir", "/appcom/tmp/wds/dss");
24-
public static final CommonVars<String> AZKABAN_LOGIN_PWD = CommonVars.apply("wds.dss.appconn.scheduler.azkaban.login.passwd", "userpwd");
24+
public static final CommonVars<String> AZKABAN_LOGIN_PWD = CommonVars.apply("wds.dss.appconn.scheduler.azkaban.login.passwd", "");
2525
public static final CommonVars<String> LINKIS_VERSION = CommonVars.apply("wds.dss.appconn.scheduler.linkis.version", "1.0.0");
2626
public static final CommonVars<String> JOB_LABEL = CommonVars.apply("wds.dss.appconn.scheduler.job.label", "prod");
2727

dss-appconn/appconns/dss-visualis-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/visualis/utils/HttpUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static String sendPostReq(String url, String params,
4242
HttpPost httpPost = new HttpPost(url);
4343
httpPost.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
4444
httpPost.addHeader("Token-User",user);
45-
httpPost.addHeader("Token-Code", "WS-AUTH");
45+
httpPost.addHeader("Token-Code", "");
4646
CookieStore cookieStore = new BasicCookieStore();
4747
logger.info("Http request params is :"+params);
4848
StringEntity entity = entity = new StringEntity(params);
@@ -73,7 +73,7 @@ public static String sendHttpDelete(String url,String user) throws Exception {
7373
logger.info("sendDeleteReq url is: "+url);
7474
httpdelete.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
7575
httpdelete.addHeader("Token-User",user);
76-
httpdelete.addHeader("Token-Code","WS-AUTH");
76+
httpdelete.addHeader("Token-Code","");
7777
CookieStore cookieStore = new BasicCookieStore();
7878
CloseableHttpClient httpClient = null;
7979
CloseableHttpResponse response = null;
@@ -100,7 +100,7 @@ public static String sendHttpPut(String url, String params,
100100
HttpPut httpPut = new HttpPut(url);
101101
httpPut.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
102102
httpPut.addHeader("Token-User",user);
103-
httpPut.addHeader("Token-Code","WS-AUTH");
103+
httpPut.addHeader("Token-Code","");
104104
CookieStore cookieStore = new BasicCookieStore();
105105
logger.info("Http put params is :"+params);
106106
StringEntity entity = null;

dss-appconn/dss-appconn-manager/dss-appconn-manager-client/src/main/java/com/webank/wedatasphere/dss/appconn/manager/conf/AppConnManagerClientConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
public class AppConnManagerClientConfiguration {
2222

23-
public final static CommonVars<String> DSS_APPCONN_CLIENT_TOKEN = CommonVars.apply("wds.dss.appconn.client.user.token","WS-AUTH");
23+
public final static CommonVars<String> DSS_APPCONN_CLIENT_TOKEN = CommonVars.apply("wds.dss.appconn.client.user.token","");
2424
public final static CommonVars<String> LINKIS_ADMIN_USER = CommonVars.apply("wds.dss.appconn.client.user","ws");
2525

2626

dss-apps/dss-apiservice-server/src/main/java/com/webank/wedatasphere/dss/apiservice/core/config/ApiServiceConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
public class ApiServiceConfiguration {
23-
public final static CommonVars<String> LINKIS_AUTHOR_USER_TOKEN = CommonVars.apply("wds.linkis.client.api.service.author.user.token","WS-AUTH");
23+
public final static CommonVars<String> LINKIS_AUTHOR_USER_TOKEN = CommonVars.apply("wds.linkis.client.api.service.author.user.token","");
2424
public final static CommonVars<String> LINKIS_ADMIN_USER = CommonVars.apply("wds.linkis.client.api.service.adminuser","ws");
2525

2626
public final static CommonVars<Integer> LINKIS_CONNECTION_TIMEOUT = CommonVars.apply("wds.linkis.flow.connection.timeout",30000);

0 commit comments

Comments
 (0)