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 0be5f73 commit a0aa00e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion assembly/bin/appconn-refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function isSuccess(){

function refresh() {
while true; do
response=$(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)
response=$(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)
if [[ $response == *"not appconn manager node"* ]]; then
echo 'not appconn manager node, we will try again 5 seconds later'
sleep 5
Expand Down
2 changes: 1 addition & 1 deletion assembly/config/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GATEWAY_INSTALL_IP=127.0.0.1
GATEWAY_PORT=9001

### Linkis BML Token
BML_AUTH=BML-AUTH
BML_AUTH=

################### The install Configuration of all Micro-Services start #####################
#
Expand Down
8 changes: 4 additions & 4 deletions conf/dss.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ wds.linkis.mysql.is.encrypt=false
wds.linkis.server.mybatis.datasource.url=
wds.linkis.server.mybatis.datasource.username=
***REMOVED***
wds.linkis.bml.auth.token.value=BML-AUTH
linkis.configuration.linkisclient.auth.token.value=BML-AUTH
wds.linkis.context.client.auth.value=BML-AUTH
wds.linkis.errorcode.auth.token=BML-AUTH
wds.linkis.bml.auth.token.value=
linkis.configuration.linkisclient.auth.token.value=
wds.linkis.context.client.auth.value=
wds.linkis.errorcode.auth.token=

wds.dss.check.server.active.period=30

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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","admin-kmsnd");
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
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public class DSSFlowServiceImpl implements DSSFlowService {

private static ContextService contextService = ContextServiceImpl.getInstance();

private static final String TOKEN = CommonVars.apply("wds.dss.workspace.token", "BML-AUTH").getValue();
private static final String TOKEN = CommonVars.apply("wds.dss.workspace.token", "").getValue();

protected Sender getOrchestratorSender() {
return DSSSenderServiceFactory.getOrCreateServiceInstance().getOrcSender();
Expand Down
2 changes: 1 addition & 1 deletion next-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ wnpm run dev

浏览器插件 SwitchyOmega 配置规则,非接口的资源转发至 http://localhost:5173,开发时访问目标域名即可
网址正则示例:
^http://sit.dss.bdap.weoa.com(?!/api)._
^http://***REMOVED***(?!/api)._
^http://***REMOVED***:8088(?!/api)._

## 代码提交规范
Expand Down
2 changes: 1 addition & 1 deletion next-web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
cookie: '',
// cookie:
// 'linkis_user_session_ticket_id_v1=FmzyJmP2DGUzEo5Hy/D0OqyinoWZ4+L52vOV55MqIl4=; workspaceId=104; workspaceName=bdapWorkspace_move',
TokenCode: 'admin-kmsnd',
TokenCode: '',
TokenUser: 'stacyyan',
TokenAlive: 'true',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

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=admin-kmsnd
wds.linkis.client.flow.author.user.token=
wds.linkis.flow.job.creator=scheduler
wds.linkis.flow.job.creator.v1=schedulis

0 comments on commit a0aa00e

Please sign in to comment.