This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 5fd9427870 update 1.3.2 feature (#696)
5fd9427870 is described below
commit 5fd942787026cbe8e3affd64c94b9d2fbe5ef375
Author: aiceflower <[email protected]>
AuthorDate: Fri Apr 28 11:30:11 2023 +0800
update 1.3.2 feature (#696)
* update 1.3.2 feature
* update desc
---------
Co-authored-by: aiceflower <[email protected]>
---
docs/feature/overview.md | 2 +
docs/feature/remove-dss-support.md | 17 +++++
docs/feature/update-token.md | 78 ++++++++++++++++++++++
.../current/feature/overview.md | 2 +
.../current/feature/remove-dss-support.md | 17 +++++
.../current/feature/update-token.md | 78 ++++++++++++++++++++++
.../version-1.3.2/feature/overview.md | 2 +
.../version-1.3.2/feature/remove-dss-support.md | 17 +++++
.../version-1.3.2/feature/update-token.md | 78 ++++++++++++++++++++++
versioned_docs/version-1.3.2/feature/overview.md | 2 +
.../version-1.3.2/feature/remove-dss-support.md | 17 +++++
.../version-1.3.2/feature/update-token.md | 78 ++++++++++++++++++++++
12 files changed, 388 insertions(+)
diff --git a/docs/feature/overview.md b/docs/feature/overview.md
index 535dfebc35..05f681ad80 100644
--- a/docs/feature/overview.md
+++ b/docs/feature/overview.md
@@ -7,6 +7,8 @@ sidebar_position: 0.1
- [Supports loading specific UDF by UDF ID](./load-udf-by-udfid.md)
- [Multi-task fixed EC execution](./ec-fix-label.md)
- [Eureka version metadata reporting](./eureka-version-metadata.md)
+- [Remove the dss-gateway-support dependency](./remove-dss-support.md)
+- [Modify the system to initialize the default Token](./update-token.md)
- [Linkis Integration with
OceanBase](/blog/2023/03/08/linkis-integration-with-oceanbase)
- [version of Release-Notes](/download/release-notes-1.3.2)
diff --git a/docs/feature/remove-dss-support.md
b/docs/feature/remove-dss-support.md
new file mode 100644
index 0000000000..ec3e40e6d7
--- /dev/null
+++ b/docs/feature/remove-dss-support.md
@@ -0,0 +1,17 @@
+---
+title: Remove DSS Support dependency
+sidebar_position: 0.4
+---
+
+## 1. Requirement background
+The Linkis microservice module relies on the dss-gateway-support jar package,
and jar package conflicts may occur when compiling with versions earlier than
scala 2.12. So consider removing the dss-gateway-support module dependency.
+
+## 2. Instructions for use
+
+After removing the dss-gateway-support dependency, Linkis will not be affected.
+
+## 3. Precautions
+
+- Linkis >= 1.3.2 version, if you encounter an error related to dss support,
you can check whether there is a jar package related to dss support in the
$LINKIS_HOME/lib/linkis-spring-cloud-services/linkis-mg-gateway directory, and
delete it if so Relevant jar packages, just restart the service.
+
+- The reason for the conflict is that the dss support package is installed
under linkis-mg-gateway during the one-click installation of dss. The specific
jar package is dSS-gateway-support-xxx.jar
\ No newline at end of file
diff --git a/docs/feature/update-token.md b/docs/feature/update-token.md
new file mode 100644
index 0000000000..89120e74f8
--- /dev/null
+++ b/docs/feature/update-token.md
@@ -0,0 +1,78 @@
+---
+title: Modify the system initialization default Token
+sidebar_position: 0.4
+---
+
+## 1. Requirement background
+
+Linkis's original default Token is fixed and the length is too short, posing
security risks. Therefore, Linkis 1.3.2 changes the original fixed Token to
random generation, and increases the length of the Token.
+
+Modified Token format: application abbreviation - 32-bit random number, such
as BML-928a721518014ba4a28735ec2a0da799
+
+Token may be used in the Linkis service itself, such as executing tasks
through Shell, uploading BML, etc., or it may be used in other applications,
such as DSS, Qualitis and other applications to access Linkis.
+
+
+## 2. Instructions for use
+
+### Token configuration required when Linkis uploads BML
+When the Linkis service itself uses Token, the Token in the configuration file
must be consistent with the Token in the database. Match by applying the short
name prefix.
+
+The token generated in the database can be queried by the following statement:
+
+```sql
+select * from linkis_mg_gateway_auth_token;
+```
+
+**$LINKIS_HOME/conf/linkis.properites file Token configuration**
+
+```
+linkis.configuration.linkisclient.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.bml.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.context.client.auth.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.errorcode.auth.token=BML-928a721518014ba4a28735ec2a0da799
+
+wds.linkis.client.test.common.tokenValue=LINKIS_CLI-215af9e265ae437ca1f070b17d6a540d
+
+wds.linkis.filesystem.token.value=WS-52bce72ed51741c7a2a9544812b45725
+wds.linkis.gateway.access.token=WS-52bce72ed51741c7a2a9544812b45725
+
+wds.linkis.server.dsm.auth.token.value=DSM-65169e8e1b564c0d8a04ee861ca7df6e
+```
+
+### Use the linkis-cli command to execute task Token configuration
+
+Modify $LINKIS_HOME/conf/linkis-cli/linkis-cli.properties file Token
configuration
+```properties
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+```
+
+## 3. Precautions
+
+### Full installation
+
+For the full installation of the new version of Linkis, the install.sh script
will automatically process the configuration file and keep the database Token
consistent. Therefore, the Token of the Linkis service itself does not need to
be modified. Each application can query and use the new token through the
management console.
+
+### version upgrade
+
+When the version is upgraded, the database Token is not modified, so there is
no need to modify the configuration file and application Token.
+
+### Token expiration problem
+
+When the Token token is invalid or has expired, query the Token through the
management console or sql statement. Check whether the Token used by the client
is consistent with the database. If not, there are two solutions.
+
+1. Modify the client configuration to make the Token settings consistent with
the database.
+
+2. Modify the Token configuration value of each application in the database.
The old version database Token configuration reference is as follows
+
+```sql
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('BML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('WS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('dss-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QUALITIS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('VALIDATOR-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKISCLI-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('DSM-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKIS_CLI_TEST','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+```
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/overview.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/overview.md
index a9aedff574..2e96162978 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/overview.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/overview.md
@@ -7,6 +7,8 @@ sidebar_position: 0.1
- [支持通过UDF ID 加载特定的 UDF](./load-udf-by-udfid.md)
- [多任务固定 EC 执行](./ec-fix-label.md)
- [Eureka 版本元数据上报](./eureka-version-metadata.md)
+- [移除 dss-gateway-support 依赖](./remove-dss-support.md)
+- [修改系统初始化默认 Token](./update-token.md)
- [Linkis 整合 OceanBase](/blog/2023/03/08/linkis-integration-with-oceanbase)
- [版本的 Release-Notes](/download/release-notes-1.3.2)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/remove-dss-support.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/remove-dss-support.md
new file mode 100644
index 0000000000..c85ad2f2ec
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/remove-dss-support.md
@@ -0,0 +1,17 @@
+---
+title: 移除 DSS Support 依赖
+sidebar_position: 0.4
+---
+
+## 1. 需求背景
+Linkis 微服务模块中依赖了 dss-gateway-support jar 包,在使用 scala 2.12 之前的版本编译时会出现 jar
包冲突的情况。因此考虑去掉 dss-gateway-support 模块依赖。
+
+## 2. 使用说明
+
+移除 dss-gateway-support 依赖后,不影响 Linkis 使用。
+
+## 3. 注意事项
+
+- Linkis >= 1.3.2 版本,遇到 dss support 相关的错误,可查看
$LINKIS_HOME/lib/linkis-spring-cloud-services/linkis-mg-gateway 目录下是否有 dss
support 相关的 jar包,如果有删除相关 jar 包,重启服务即可。
+
+- 出现冲突的原因为 DSS 的一键安装过程中会安装 dss support 包至linkis-mg-gateway下,具体jar包为
dss-gateway-support-xxx.jar
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/update-token.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/update-token.md
new file mode 100644
index 0000000000..ea5b2eee68
--- /dev/null
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/feature/update-token.md
@@ -0,0 +1,78 @@
+---
+title: 修改系统初始化默认 Token
+sidebar_position: 0.4
+---
+
+## 1. 需求背景
+
+Linkis 原有默认 Token 固定且长度太短存在安全隐患。因此 Linkis 1.3.2 将原有固定 Token 改为随机生成,并增加 Token
长度。
+
+修改后 Token 格式:应用简称-32 位随机数,如BML-928a721518014ba4a28735ec2a0da799
+
+Token 可能在 Linkis 服务自身使用,如通过 Shell 方式执行任务、BML 上传等,也可能在其它应用中使用,如 DSS、Qualitis
等应用访问 Linkis。
+
+
+## 2. 使用说明
+
+### Linkis 上传 BML 时所需 Token 配置
+Linkis 服务本身使用 Token 时,配置文件中 Token 需与数据库中 Token 一致。通过应用简称前缀匹配。
+
+数据库中生成的 token 可通过如下语句查询:
+
+```sql
+select * from linkis_mg_gateway_auth_token;
+```
+
+**$LINKIS_HOME/conf/linkis.properites 文件 Token 配置**
+
+```
+linkis.configuration.linkisclient.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.bml.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.context.client.auth.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.errorcode.auth.token=BML-928a721518014ba4a28735ec2a0da799
+
+wds.linkis.client.test.common.tokenValue=LINKIS_CLI-215af9e265ae437ca1f070b17d6a540d
+
+wds.linkis.filesystem.token.value=WS-52bce72ed51741c7a2a9544812b45725
+wds.linkis.gateway.access.token=WS-52bce72ed51741c7a2a9544812b45725
+
+wds.linkis.server.dsm.auth.token.value=DSM-65169e8e1b564c0d8a04ee861ca7df6e
+```
+
+### 使用 linkis-cli 命令执行任务 Token 配置
+
+修改 $LINKIS_HOME/conf/linkis-cli/linkis-cli.properties文件 Token 配置
+```properties
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+```
+
+## 3. 注意事项
+
+### 全量安装
+
+对于全量安装新版本 Linkis 时, install.sh 脚本中会自动处理配置文件和数据库 Token 保持一致。因此 Linkis 服务自身
Token 无需修改。各应用可通过管理台查询并使用新 Token。
+
+### 版本升级
+
+版本升级时,数据库 Token 并未修改,因此无需修改配置文件和应用 Token。
+
+### Token 过期问题
+
+当遇到 Token 令牌无效或已过期问题时,通过管理台或者 sql 语句查询 Token。检查客户端使用的 Token
是否与数据库一致,若不一致有两种解决办法。
+
+1. 修改客户端配置,将 Token 设置位与数据库一致。
+
+2. 修改数据库各应用 Token 配置值。旧版本数据库 Token 配置参考如下
+
+```sql
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('BML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('WS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('dss-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QUALITIS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('VALIDATOR-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKISCLI-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('DSM-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKIS_CLI_TEST','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+```
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/overview.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/overview.md
index a9aedff574..2e96162978 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/overview.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/overview.md
@@ -7,6 +7,8 @@ sidebar_position: 0.1
- [支持通过UDF ID 加载特定的 UDF](./load-udf-by-udfid.md)
- [多任务固定 EC 执行](./ec-fix-label.md)
- [Eureka 版本元数据上报](./eureka-version-metadata.md)
+- [移除 dss-gateway-support 依赖](./remove-dss-support.md)
+- [修改系统初始化默认 Token](./update-token.md)
- [Linkis 整合 OceanBase](/blog/2023/03/08/linkis-integration-with-oceanbase)
- [版本的 Release-Notes](/download/release-notes-1.3.2)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/remove-dss-support.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/remove-dss-support.md
new file mode 100644
index 0000000000..7ec0c58ce1
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/remove-dss-support.md
@@ -0,0 +1,17 @@
+---
+title: 移除 DSS Support 依赖
+sidebar_position: 0.4
+---
+
+## 1. 需求背景
+Linkis 微服务模块中依赖了 dss-gateway-support jar 包,在使用 scala 2.12 之前的版本编译时会出现 jar
包冲突的情况。因此考虑去掉 dss-gateway-support 模块依赖。
+
+## 2. 使用说明
+
+移除 dss-gateway-support 依赖后,不影响 Linkis 使用。
+
+## 3. 注意事项
+
+- Linkis >= 1.3.2 版本,遇到 dss support 相关的错误,可查看
$LINKIS_HOME/lib/linkis-spring-cloud-services/linkis-mg-gateway 目录下是否有 dss
support 相关的 jar包,如果有删除相关 jar 包,重启服务即可。
+
+- 出现冲突的原因为 DSS 的一键安装过程中会安装 dss support 包至linkis-mg-gateway下,具体jar包为
dss-gateway-support-xxx.jar
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/update-token.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/update-token.md
new file mode 100644
index 0000000000..ea5b2eee68
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/feature/update-token.md
@@ -0,0 +1,78 @@
+---
+title: 修改系统初始化默认 Token
+sidebar_position: 0.4
+---
+
+## 1. 需求背景
+
+Linkis 原有默认 Token 固定且长度太短存在安全隐患。因此 Linkis 1.3.2 将原有固定 Token 改为随机生成,并增加 Token
长度。
+
+修改后 Token 格式:应用简称-32 位随机数,如BML-928a721518014ba4a28735ec2a0da799
+
+Token 可能在 Linkis 服务自身使用,如通过 Shell 方式执行任务、BML 上传等,也可能在其它应用中使用,如 DSS、Qualitis
等应用访问 Linkis。
+
+
+## 2. 使用说明
+
+### Linkis 上传 BML 时所需 Token 配置
+Linkis 服务本身使用 Token 时,配置文件中 Token 需与数据库中 Token 一致。通过应用简称前缀匹配。
+
+数据库中生成的 token 可通过如下语句查询:
+
+```sql
+select * from linkis_mg_gateway_auth_token;
+```
+
+**$LINKIS_HOME/conf/linkis.properites 文件 Token 配置**
+
+```
+linkis.configuration.linkisclient.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.bml.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.context.client.auth.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.errorcode.auth.token=BML-928a721518014ba4a28735ec2a0da799
+
+wds.linkis.client.test.common.tokenValue=LINKIS_CLI-215af9e265ae437ca1f070b17d6a540d
+
+wds.linkis.filesystem.token.value=WS-52bce72ed51741c7a2a9544812b45725
+wds.linkis.gateway.access.token=WS-52bce72ed51741c7a2a9544812b45725
+
+wds.linkis.server.dsm.auth.token.value=DSM-65169e8e1b564c0d8a04ee861ca7df6e
+```
+
+### 使用 linkis-cli 命令执行任务 Token 配置
+
+修改 $LINKIS_HOME/conf/linkis-cli/linkis-cli.properties文件 Token 配置
+```properties
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+```
+
+## 3. 注意事项
+
+### 全量安装
+
+对于全量安装新版本 Linkis 时, install.sh 脚本中会自动处理配置文件和数据库 Token 保持一致。因此 Linkis 服务自身
Token 无需修改。各应用可通过管理台查询并使用新 Token。
+
+### 版本升级
+
+版本升级时,数据库 Token 并未修改,因此无需修改配置文件和应用 Token。
+
+### Token 过期问题
+
+当遇到 Token 令牌无效或已过期问题时,通过管理台或者 sql 语句查询 Token。检查客户端使用的 Token
是否与数据库一致,若不一致有两种解决办法。
+
+1. 修改客户端配置,将 Token 设置位与数据库一致。
+
+2. 修改数据库各应用 Token 配置值。旧版本数据库 Token 配置参考如下
+
+```sql
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('BML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('WS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('dss-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QUALITIS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('VALIDATOR-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKISCLI-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('DSM-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKIS_CLI_TEST','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+```
\ No newline at end of file
diff --git a/versioned_docs/version-1.3.2/feature/overview.md
b/versioned_docs/version-1.3.2/feature/overview.md
index 535dfebc35..05f681ad80 100644
--- a/versioned_docs/version-1.3.2/feature/overview.md
+++ b/versioned_docs/version-1.3.2/feature/overview.md
@@ -7,6 +7,8 @@ sidebar_position: 0.1
- [Supports loading specific UDF by UDF ID](./load-udf-by-udfid.md)
- [Multi-task fixed EC execution](./ec-fix-label.md)
- [Eureka version metadata reporting](./eureka-version-metadata.md)
+- [Remove the dss-gateway-support dependency](./remove-dss-support.md)
+- [Modify the system to initialize the default Token](./update-token.md)
- [Linkis Integration with
OceanBase](/blog/2023/03/08/linkis-integration-with-oceanbase)
- [version of Release-Notes](/download/release-notes-1.3.2)
diff --git a/versioned_docs/version-1.3.2/feature/remove-dss-support.md
b/versioned_docs/version-1.3.2/feature/remove-dss-support.md
new file mode 100644
index 0000000000..ec3e40e6d7
--- /dev/null
+++ b/versioned_docs/version-1.3.2/feature/remove-dss-support.md
@@ -0,0 +1,17 @@
+---
+title: Remove DSS Support dependency
+sidebar_position: 0.4
+---
+
+## 1. Requirement background
+The Linkis microservice module relies on the dss-gateway-support jar package,
and jar package conflicts may occur when compiling with versions earlier than
scala 2.12. So consider removing the dss-gateway-support module dependency.
+
+## 2. Instructions for use
+
+After removing the dss-gateway-support dependency, Linkis will not be affected.
+
+## 3. Precautions
+
+- Linkis >= 1.3.2 version, if you encounter an error related to dss support,
you can check whether there is a jar package related to dss support in the
$LINKIS_HOME/lib/linkis-spring-cloud-services/linkis-mg-gateway directory, and
delete it if so Relevant jar packages, just restart the service.
+
+- The reason for the conflict is that the dss support package is installed
under linkis-mg-gateway during the one-click installation of dss. The specific
jar package is dSS-gateway-support-xxx.jar
\ No newline at end of file
diff --git a/versioned_docs/version-1.3.2/feature/update-token.md
b/versioned_docs/version-1.3.2/feature/update-token.md
new file mode 100644
index 0000000000..89120e74f8
--- /dev/null
+++ b/versioned_docs/version-1.3.2/feature/update-token.md
@@ -0,0 +1,78 @@
+---
+title: Modify the system initialization default Token
+sidebar_position: 0.4
+---
+
+## 1. Requirement background
+
+Linkis's original default Token is fixed and the length is too short, posing
security risks. Therefore, Linkis 1.3.2 changes the original fixed Token to
random generation, and increases the length of the Token.
+
+Modified Token format: application abbreviation - 32-bit random number, such
as BML-928a721518014ba4a28735ec2a0da799
+
+Token may be used in the Linkis service itself, such as executing tasks
through Shell, uploading BML, etc., or it may be used in other applications,
such as DSS, Qualitis and other applications to access Linkis.
+
+
+## 2. Instructions for use
+
+### Token configuration required when Linkis uploads BML
+When the Linkis service itself uses Token, the Token in the configuration file
must be consistent with the Token in the database. Match by applying the short
name prefix.
+
+The token generated in the database can be queried by the following statement:
+
+```sql
+select * from linkis_mg_gateway_auth_token;
+```
+
+**$LINKIS_HOME/conf/linkis.properites file Token configuration**
+
+```
+linkis.configuration.linkisclient.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.bml.auth.token.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.context.client.auth.value=BML-928a721518014ba4a28735ec2a0da799
+wds.linkis.errorcode.auth.token=BML-928a721518014ba4a28735ec2a0da799
+
+wds.linkis.client.test.common.tokenValue=LINKIS_CLI-215af9e265ae437ca1f070b17d6a540d
+
+wds.linkis.filesystem.token.value=WS-52bce72ed51741c7a2a9544812b45725
+wds.linkis.gateway.access.token=WS-52bce72ed51741c7a2a9544812b45725
+
+wds.linkis.server.dsm.auth.token.value=DSM-65169e8e1b564c0d8a04ee861ca7df6e
+```
+
+### Use the linkis-cli command to execute task Token configuration
+
+Modify $LINKIS_HOME/conf/linkis-cli/linkis-cli.properties file Token
configuration
+```properties
+wds.linkis.client.common.tokenValue=BML-928a721518014ba4a28735ec2a0da799
+```
+
+## 3. Precautions
+
+### Full installation
+
+For the full installation of the new version of Linkis, the install.sh script
will automatically process the configuration file and keep the database Token
consistent. Therefore, the Token of the Linkis service itself does not need to
be modified. Each application can query and use the new token through the
management console.
+
+### version upgrade
+
+When the version is upgraded, the database Token is not modified, so there is
no need to modify the configuration file and application Token.
+
+### Token expiration problem
+
+When the Token token is invalid or has expired, query the Token through the
management console or sql statement. Check whether the Token used by the client
is consistent with the database. If not, there are two solutions.
+
+1. Modify the client configuration to make the Token settings consistent with
the database.
+
+2. Modify the Token configuration value of each application in the database.
The old version database Token configuration reference is as follows
+
+```sql
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('BML-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('WS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('dss-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('QUALITIS-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('VALIDATOR-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKISCLI-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('DSM-AUTH','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+INSERT INTO
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
VALUES ('LINKIS_CLI_TEST','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
+```
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]