Skip to content

Commit

Permalink
fix info
Browse files Browse the repository at this point in the history
  • Loading branch information
xlinliu committed Nov 28, 2024
1 parent bbcfaef commit 5ceb098
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion assembly/bin/appconn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ executeSQL
echo ""

echo "step4:refresh appconn load"
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
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
echo ""

echo ""
Expand Down
2 changes: 1 addition & 1 deletion conf/dss-flow-execution-server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ wds.linkis.server.version=v1
wds.linkis.server.socket.mode=true

wds.linkis.client.flow.adminuser=ws
wds.linkis.client.flow.author.user.token=WS-AUTH
wds.linkis.client.flow.author.user.token=

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

Expand Down
2 changes: 1 addition & 1 deletion conf/dss-framework-orchestrator-server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.server.
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

wds.dss.appconn.scheduler.project.store.dir=file:///appcom/tmp/wds/scheduler
wds.dss.appconn.scheduler.azkaban.login.passwd=userpwd
wds.dss.appconn.scheduler.azkaban.login.passwd=
##export file dir
wds.dss.server.export.url=/appcom/tmp/dss
4 changes: 2 additions & 2 deletions docs/en_US/ch2/Azkaban_LinkisJobType_Deployment_Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ cd linkis/bin/
##Linkis gateway url
LINKIS_GATEWAY_URL=http://127.0.0.1:9001 ## Linkis' GateWay address
##Linkis gateway token defaultWS-AUTH
LINKIS_GATEWAY_TOKEN=WS-AUTH ## Linkis proxy token, this parameter can use the default
##Linkis gateway token default
LINKIS_GATEWAY_TOKEN= ## Linkis proxy token, this parameter can use the default
##Azkaban executor host
AZKABAN_EXECUTOR_HOST=127.0.0.1 ## AZKABAN actuator machine IP
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/ch2/Azkaban_LinkisJobType_Deployment_Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ cd linkis/bin/
##Linkis gateway url
LINKIS_GATEWAY_URL=http://127.0.0.1:9001 ## linkis的GateWay地址
##Linkis gateway token defaultWS-AUTH
LINKIS_GATEWAY_TOKEN=WS-AUTH ## Linkis的代理Token,该参数可以用默认值
##Linkis gateway token default
LINKIS_GATEWAY_TOKEN= ## Linkis的代理Token,该参数可以用默认值
##Azkaban executor host
AZKABAN_EXECUTOR_HOST=127.0.0.1 ## 如果Azkaban是单机安装则该IP就是机器IP,如果是分布式安装为Azkaban执行器机器IP,
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/ch4/第三方系统接入DSS指南.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class VisualisSecurityService extends AppJointUrlImpl implements Security
VisualisSession visualisSession = new VisualisSession();
visualisSession.setUser(user);
visualisSession.getParameters().put("Token-User",user);
visualisSession.getParameters().put("Token-Code","WS-AUTH");
visualisSession.getParameters().put("Token-Code","");
return visualisSession;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static String sendPostReq(String url, String params,
HttpPost httpPost = new HttpPost(url);
httpPost.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
httpPost.addHeader("Token-User",user);
httpPost.addHeader("Token-Code", "WS-AUTH");
httpPost.addHeader("Token-Code", "");
CookieStore cookieStore = new BasicCookieStore();
logger.info("Http request params is :"+params);
StringEntity entity = entity = new StringEntity(params);
Expand Down Expand Up @@ -73,7 +73,7 @@ public static String sendHttpDelete(String url,String user) throws Exception {
logger.info("sendDeleteReq url is: "+url);
httpdelete.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
httpdelete.addHeader("Token-User",user);
httpdelete.addHeader("Token-Code","WS-AUTH");
httpdelete.addHeader("Token-Code","");
CookieStore cookieStore = new BasicCookieStore();
CloseableHttpClient httpClient = null;
CloseableHttpResponse response = null;
Expand All @@ -100,7 +100,7 @@ public static String sendHttpPut(String url, String params,
HttpPut httpPut = new HttpPut(url);
httpPut.addHeader(HTTP.CONTENT_ENCODING, "UTF-8");
httpPut.addHeader("Token-User",user);
httpPut.addHeader("Token-Code","WS-AUTH");
httpPut.addHeader("Token-Code","");
CookieStore cookieStore = new BasicCookieStore();
logger.info("Http put params is :"+params);
StringEntity entity = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

public class AppConnManagerClientConfiguration {

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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


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

public final static CommonVars<Integer> LINKIS_CONNECTION_TIMEOUT = CommonVars.apply("wds.linkis.flow.connection.timeout",30000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object TestDataAssetsRemoteClient {
.readTimeout(30000)
.setAuthenticationStrategy(new TokenAuthenticationStrategy())
.setAuthTokenKey("hdfs")
.setAuthTokenValue("BML-AUTH")
.setAuthTokenValue("")
.setDWSVersion("v1")
.build()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ wds.workspace.client.authenticationStrategy=org.apache.linkis.httpclient.dws.aut

wds.workspace.client.discovery.enabled=false

wds.workspace.client.authtoken.value=BML-AUTH
wds.workspace.client.authtoken.value=

wds.workspace.client.dws.version=v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ wds.wedatasphere.linkis.discovery.enabled=false

wds.wedatasphere.linkis.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy

wds.wedatasphere.linkis.authtoken.value=BML-AUTH
wds.wedatasphere.linkis.authtoken.value=

wds.wedatasphere.linkis.dws.version=v1

Expand All @@ -66,7 +66,7 @@ wds.wedatasphere.warehouse.client.authtoken.key=hdfs

wds.wedatasphere.warehouse.client.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy

wds.wedatasphere.warehouse.client.authtoken.value=BML-AUTH
wds.wedatasphere.warehouse.client.authtoken.value=

wds.wedatasphere.warehouse.client.discovery.enabled=false

Expand All @@ -81,7 +81,7 @@ wds.wedatasphere.assets.client.authenticationStrategy=org.apache.linkis.httpclie

wds.wedatasphere.assets.client.discovery.enabled=false

wds.wedatasphere.assets.client.authtoken.value=BML-AUTH
wds.wedatasphere.assets.client.authtoken.value=

wds.wedatasphere.assets.client.dws.version=v1

Expand All @@ -95,7 +95,7 @@ wds.workspace.client.authenticationStrategy=org.apache.linkis.httpclient.dws.aut

wds.workspace.client.discovery.enabled=false

wds.workspace.client.authtoken.value=BML-AUTH
wds.workspace.client.authtoken.value=

wds.workspace.client.dws.version=v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


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

public final static CommonVars<Integer> LINKIS_CONNECTION_TIMEOUT = CommonVars.apply("wds.linkis.flow.connection.timeout",30000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wds.linkis.server.version=v1
## datasource client
wds.datawarehouse.datasource.client.serverurl=http://dss.shineweng.com:8088
wds.datawarehouse.datasource.client.authtoken.key=hdfs
wds.datawarehouse.datasource.client.authtoken.value=BML-AUTH
wds.datawarehouse.datasource.client.authtoken.value=
wds.datawarehouse.datasource.client.dws.version=v1

##restful
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class LinkisJobExecutionConfiguration {
public final static CommonVars<String> LINKIS_ADMIN_USER = CommonVars.apply("wds.linkis.client.flow.adminuser","ws");


public final static CommonVars<String> LINKIS_AUTHOR_USER_TOKEN = CommonVars.apply("wds.linkis.client.flow.author.user.token","WS-AUTH");
public final static CommonVars<String> LINKIS_AUTHOR_USER_TOKEN = CommonVars.apply("wds.linkis.client.flow.author.user.token","");

public final static CommonVars<String> LINKIS_JOB_CREATOR = CommonVars.apply("wds.linkis.flow.job.creator","nodeexecution");

Expand Down
4 changes: 2 additions & 2 deletions plugins/azkaban/linkis-jobtype/bin/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
##Linkis gateway url
LINKIS_GATEWAY_URL=http://127.0.0.1:9001

##Linkis gateway token default WS-AUTH
LINKIS_GATEWAY_TOKEN=WS-AUTH
##Linkis gateway token default
LINKIS_GATEWAY_TOKEN=


##Azkaban executor host
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

wds.linkis.gateway.url.v1=http://127.0.0.1:9001
wds.linkis.gateway.url.v0=http://127.0.0.1:9001
wds.linkis.client.flow.author.user.token=WS-AUTH
wds.linkis.client.flow.author.user.token=
wds.linkis.flow.job.creator=scheduler

0 comments on commit 5ceb098

Please sign in to comment.