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 0a4e2ac commit 0c7cd08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assembly/bin/appconn-refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ -z $1 ];then
else
echo "You chose to wait for 5 minutes."
echo "Now try to call dss-framework-project to reload the plugin of $APPCONN_NAME AppConn."
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
isSuccess "reload the plugin of $APPCONN_NAME AppConn in dss-framework-project."
echo "Now please wait for 5 minutes, then all of the DSS micro-services will refresh the ${APPCONN_NAME} AppConn plugin."
echo ""
Expand All @@ -49,7 +49,7 @@ if [ -z $1 ];then
else
APPCONN_NAME=$1
echo "Now try to call dss-framework-project to reload the plugin of $APPCONN_NAME AppConn."
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
isSuccess "reload the plugin of $APPCONN_NAME AppConn in dss-framework-project."
echo "Now please wait for 5 minutes, then all of the DSS micro-services will refresh the ${APPCONN_NAME} AppConn plugin."
echo ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ object DwLayerRemoteClientTest {
.retryEnabled(false)
.readTimeout(30000L)
.setAuthenticationStrategy(new StaticAuthenticationStrategy())
.setAuthTokenKey("BML-AUTH")
.setAuthTokenValue("BML-AUTH")
.setAuthTokenKey("")
.setAuthTokenValue("")
.setDWSVersion("v1")
.build()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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

0 comments on commit 0c7cd08

Please sign in to comment.