This is an automated email from the ASF dual-hosted git repository.

casion 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 446778c114 Dev jdbc delete data sources (#686)
446778c114 is described below

commit 446778c1148f9516181cae67d71b3afe9f06ec4a
Author: binbincheng <[email protected]>
AuthorDate: Fri Mar 17 21:50:58 2023 +0800

    Dev jdbc delete data sources (#686)
    
    * Remove dataSources from the parameter instance in the data source 
connection test part of the jdbc document
---
 docs/engine-usage/images/muti-data-source.png      | Bin 65562 -> 0 bytes
 docs/engine-usage/jdbc.md                          |  34 ++++++++++--------
 .../engine-usage/images/muti-data-source.png       | Bin 65562 -> 0 bytes
 .../current/engine-usage/jdbc.md                   |  34 ++++++++++--------
 .../version-1.2.0/engine-usage/jdbc.md             |  37 +++++++++++---------
 .../version-1.3.0/engine-usage/jdbc.md             |  34 ++++++++++--------
 .../engine-usage/images/muti-data-source.png       | Bin 65562 -> 0 bytes
 .../version-1.3.1/current/engine-usage/jdbc.md     |  34 +++++++++++-------
 .../engine-usage/images/muti-data-source.png       | Bin 65562 -> 0 bytes
 .../version-1.3.1/engine-usage/jdbc.md             |  34 ++++++++++--------
 versioned_docs/version-1.2.0/engine-usage/jdbc.md  |  38 ++++++++++++---------
 versioned_docs/version-1.3.0/engine-usage/jdbc.md  |  38 ++++++++++++---------
 .../engine-usage/images/muti-data-source.png       | Bin 65562 -> 0 bytes
 versioned_docs/version-1.3.1/engine-usage/jdbc.md  |  34 ++++++++++--------
 14 files changed, 185 insertions(+), 132 deletions(-)

diff --git a/docs/engine-usage/images/muti-data-source.png 
b/docs/engine-usage/images/muti-data-source.png
deleted file mode 100644
index 4cc0f2b554..0000000000
Binary files a/docs/engine-usage/images/muti-data-source.png and /dev/null 
differ
diff --git a/docs/engine-usage/jdbc.md b/docs/engine-usage/jdbc.md
index dd4525efeb..536a6c6796 100644
--- a/docs/engine-usage/jdbc.md
+++ b/docs/engine-usage/jdbc.md
@@ -123,24 +123,30 @@ Figure 3-3 Data source management
 Figure 3-4 Data source connection test
 
 After the data source is added, you can use the multi-data source switching 
function of the `JDBC` engine. There are two ways:
-1. Specify the data source name parameter through the interface parameter, as 
shown below:
-![](./images/muti-data-source.png)
-
+1. Specify the data source name parameter through the interface parameter
 Example parameters:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       {
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/images/muti-data-source.png
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/images/muti-data-source.png
deleted file mode 100644
index 4cc0f2b554..0000000000
Binary files 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/images/muti-data-source.png
 and /dev/null differ
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/jdbc.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/jdbc.md
index d685d65a16..1301ba1582 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/jdbc.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/jdbc.md
@@ -123,24 +123,30 @@ labels.put(LabelKeyConstant.CODE_TYPE_KEY, "jdbc"); // 
required codeType
 图3-4 数据源连接测试
 
 数据源添加完成之后,就可以使用 `JDBC` 引擎的多数据源切换功能,有两种方式:
-1、 通过接口参数指定数据源名称参数,如下图:
-![](./images/muti-data-source.png)
-
+1、 通过接口参数指定数据源名称参数
 参数示例:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.0/engine-usage/jdbc.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.0/engine-usage/jdbc.md
index 4852464bf7..c0bbe48750 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.0/engine-usage/jdbc.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.0/engine-usage/jdbc.md
@@ -133,27 +133,30 @@ JDBC的执行原理是通过加载JDBC的Driver然后提交sql到SQL的server去
 图3-4 数据源连接测试
 
 数据源添加完成之后(还需要点击数据源的版本按钮进行发布操作,只有发布了的数据源才能正式使用),就可以使用JDBC引擎的多数据源切换功能,有两种方式:
-1、通过接口参数指定数据源名称参数,如下图:
-![](/Images-zh/EngineUsage/muti-data-source.png)
-
+1、 通过接口参数指定数据源名称参数
 参数示例:
 ```json
 {
-    "executionContent": {"code": "show tables", "runType":  "jdbc"},
-    "params": {
-        "variable": {}, 
-        "configuration": {
-            "startup":{}, 
-            "runtime":{ 
-                "wds.linkis.engine.runtime.datasource": "mysql-test"
-            }
-        }
-    },
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.0/engine-usage/jdbc.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.0/engine-usage/jdbc.md
index 4ec01b513d..92524b3d56 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.0/engine-usage/jdbc.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.0/engine-usage/jdbc.md
@@ -133,24 +133,30 @@ JDBC的执行原理是通过加载JDBC的Driver然后提交sql到SQL的server去
 图3-4 数据源连接测试
 
 数据源添加完成之后,就可以使用JDBC引擎的多数据源切换功能,有两种方式:
-1、通过接口参数指定数据源名称参数,如下图:
-![](/Images-zh/EngineUsage/muti-data-source.png)
-
+1、 通过接口参数指定数据源名称参数
 参数示例:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "linkis-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/images/muti-data-source.png
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/images/muti-data-source.png
deleted file mode 100644
index 4cc0f2b554..0000000000
Binary files 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/images/muti-data-source.png
 and /dev/null differ
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/jdbc.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/jdbc.md
index d685d65a16..aa8cde0c79 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/jdbc.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/current/engine-usage/jdbc.md
@@ -123,24 +123,32 @@ labels.put(LabelKeyConstant.CODE_TYPE_KEY, "jdbc"); // 
required codeType
 图3-4 数据源连接测试
 
 数据源添加完成之后,就可以使用 `JDBC` 引擎的多数据源切换功能,有两种方式:
-1、 通过接口参数指定数据源名称参数,如下图:
-![](./images/muti-data-source.png)
+1、 通过接口参数指定数据源名称参数
 
 参数示例:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/images/muti-data-source.png
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/images/muti-data-source.png
deleted file mode 100644
index 4cc0f2b554..0000000000
Binary files 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/images/muti-data-source.png
 and /dev/null differ
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/jdbc.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/jdbc.md
index d685d65a16..1301ba1582 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/jdbc.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.1/engine-usage/jdbc.md
@@ -123,24 +123,30 @@ labels.put(LabelKeyConstant.CODE_TYPE_KEY, "jdbc"); // 
required codeType
 图3-4 数据源连接测试
 
 数据源添加完成之后,就可以使用 `JDBC` 引擎的多数据源切换功能,有两种方式:
-1、 通过接口参数指定数据源名称参数,如下图:
-![](./images/muti-data-source.png)
-
+1、 通过接口参数指定数据源名称参数
 参数示例:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 
diff --git a/versioned_docs/version-1.2.0/engine-usage/jdbc.md 
b/versioned_docs/version-1.2.0/engine-usage/jdbc.md
index 3424779019..354fd249d4 100644
--- a/versioned_docs/version-1.2.0/engine-usage/jdbc.md
+++ b/versioned_docs/version-1.2.0/engine-usage/jdbc.md
@@ -109,24 +109,30 @@ Figure 3-3 DataSource Manage
 Figure 3-4 DataSource Conn Test
 
 After the data source is completed, you can use the JDBC multi-data source 
switch to add, there are functional methods:
-1. Specify the data source name parameter through the interface parameter, as 
shown below:
-![](/Images/EngineUsage/muti-data-source.png)
-
-Parameter example:
+1. Specify the data source name parameter through the interface parameter
+   Example parameters:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "linkis-IDE"
-    }
+   "executionContent": {
+      "code": "show databases",
+      "runType": "jdbc"
+   },
+   "params": {
+      "variable": {},
+      "configuration": {
+         "startup": {},
+         "runtime": {
+            "wds.linkis.engine.runtime.datasource": "test_mysql"
+         }
+      }
+   },
+   "source": {
+      "scriptPath": ""
+   },
+   "labels": {
+      "engineType": "jdbc-4",
+      "userCreator": "hadoop-IDE"
+   }
 }
 ```
 
diff --git a/versioned_docs/version-1.3.0/engine-usage/jdbc.md 
b/versioned_docs/version-1.3.0/engine-usage/jdbc.md
index 7f78c798c7..da756af376 100644
--- a/versioned_docs/version-1.3.0/engine-usage/jdbc.md
+++ b/versioned_docs/version-1.3.0/engine-usage/jdbc.md
@@ -109,24 +109,30 @@ Figure 3-3 DataSource Manage
 Figure 3-4 DataSource Conn Test
 
 After the data source is completed, you can use the JDBC multi-data source 
switch to add, there are functional methods:
-1. Specify the data source name parameter through the interface parameter, as 
shown below:
-![](/Images/EngineUsage/muti-data-source.png)
-
-Parameter example:
+1. Specify the data source name parameter through the interface parameter
+   Example parameters:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       { 
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "linkis-IDE"
-    }
+   "executionContent": {
+      "code": "show databases",
+      "runType": "jdbc"
+   },
+   "params": {
+      "variable": {},
+      "configuration": {
+         "startup": {},
+         "runtime": {
+            "wds.linkis.engine.runtime.datasource": "test_mysql"
+         }
+      }
+   },
+   "source": {
+      "scriptPath": ""
+   },
+   "labels": {
+      "engineType": "jdbc-4",
+      "userCreator": "hadoop-IDE"
+   }
 }
 ```
 
diff --git 
a/versioned_docs/version-1.3.1/engine-usage/images/muti-data-source.png 
b/versioned_docs/version-1.3.1/engine-usage/images/muti-data-source.png
deleted file mode 100644
index 4cc0f2b554..0000000000
Binary files 
a/versioned_docs/version-1.3.1/engine-usage/images/muti-data-source.png and 
/dev/null differ
diff --git a/versioned_docs/version-1.3.1/engine-usage/jdbc.md 
b/versioned_docs/version-1.3.1/engine-usage/jdbc.md
index dd4525efeb..536a6c6796 100644
--- a/versioned_docs/version-1.3.1/engine-usage/jdbc.md
+++ b/versioned_docs/version-1.3.1/engine-usage/jdbc.md
@@ -123,24 +123,30 @@ Figure 3-3 Data source management
 Figure 3-4 Data source connection test
 
 After the data source is added, you can use the multi-data source switching 
function of the `JDBC` engine. There are two ways:
-1. Specify the data source name parameter through the interface parameter, as 
shown below:
-![](./images/muti-data-source.png)
-
+1. Specify the data source name parameter through the interface parameter
 Example parameters:
 ```json
 {
-    "executionContent": {"code": "show databases", "runType":  "jdbc"},
-    "params": {"variable": {}, "configuration": {"startup":{}, 
-    "runtime": 
-       {
-               "dataSources": {"wds.linkis.engine.runtime.datasource": 
"test_mysql"
-       }
-    }}},
-    "source":  {"scriptPath": ""},
-    "labels": {
-        "engineType": "jdbc-4",
-        "userCreator": "hadoop-IDE"
+  "executionContent": {
+    "code": "show databases",
+    "runType": "jdbc"
+  },
+  "params": {
+    "variable": {},
+    "configuration": {
+      "startup": {},
+      "runtime": {
+        "wds.linkis.engine.runtime.datasource": "test_mysql"
+      }
     }
+  },
+  "source": {
+    "scriptPath": ""
+  },
+  "labels": {
+    "engineType": "jdbc-4",
+    "userCreator": "hadoop-IDE"
+  }
 }
 ```
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to