Skip to content

Commit

Permalink
fix sensitive info
Browse files Browse the repository at this point in the history
  • Loading branch information
xlinliu committed Nov 27, 2024
1 parent d1714ee commit 8157a91
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ -110,7 +110,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();

@Override
public DSSFlow getFlowByID(Long id) {
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
2 changes: 1 addition & 1 deletion web/packages/exts/scriptisGuide/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"ext": {
"scriptisGuide": {
"uninitTitle": "User initialization not completed",
"uninitContent": "Please go to the data map ***REMOVED*** to submit the relevant service ticket application.<br>If you have already submitted the application, please make sure that your approval ticket status is completed.",
"uninitContent": "Please go to the data map to submit the relevant service ticket application.<br>If you have already submitted the application, please make sure that your approval ticket status is completed.",
"gotit": "I got it",
"viewGuide": "View Application Guide",
"setParams": "Set parameters",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/exts/scriptisGuide/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"ext": {
"scriptisGuide": {
"uninitTitle": "用户初始化未完成",
"uninitContent": "请前往数据地图(***REMOVED***)提交相关服务单申请。<br>若您已提交申请,请确保您的审批单状态为已完成。",
"uninitContent": "请前往数据地图提交相关服务单申请。<br>若您已提交申请,请确保您的审批单状态为已完成。",
"gotit": "我知道了",
"viewGuide": "查看申请指引",
"setParams": "设置参数",
Expand Down

0 comments on commit 8157a91

Please sign in to comment.