You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2022/08/23 10:45:54 UTC
[incubator-linkis-website] branch dev updated: update docs for v1.2.0 (#490)
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/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 1a7a05a811 update docs for v1.2.0 (#490)
1a7a05a811 is described below
commit 1a7a05a8119104d09476e1d7b257ce8374794841
Author: Casion <ca...@gmail.com>
AuthorDate: Tue Aug 23 18:45:49 2022 +0800
update docs for v1.2.0 (#490)
* update docs
---
.../linkis-ps-publicservice-api/currency-api.md | 2 +-
.../data-source-manager-api.md | 5 +
.../linkis-ps-publicservice-api/file-system-api.md | 2 +-
.../global-variable-api.md | 2 +-
.../instance-management-api.md | 2 +-
.../metadatamanager-api.md | 4 +
...metadatamanager-api.md => metadataquery-api.md} | 175 +++++++++++----------
docs/release.md | 17 +-
.../current/how-to-release.md | 8 +-
.../current/release-notes-1.1.1.md | 4 +-
.../current/release-notes-1.2.0.md | 1 +
.../metadatamanager-api.md | 1 +
...metadatamanager-api.md => metadataquery-api.md} | 141 +++++------------
.../deployment/deploy-linkis-without-hdfs.md | 2 +-
.../deployment/involve-prometheus-into-linkis.md | 2 +-
.../current/deployment/linkis-scriptis-install.md | 2 +-
.../current/engine-usage/openlookeng.md | 2 +-
.../current/release.md | 14 +-
.../deployment/linkis-scriptis-install.md | 2 +-
.../version-1.1.1/engine-usage/openlookeng.md | 2 +-
.../deployment/linkis-scriptis-install.md | 2 +-
.../version-1.1.2/engine-usage/openlookeng.md | 2 +-
.../deployment/involve-prometheus-into-linkis.md | 2 +-
.../deployment/linkis-scriptis-install.md | 2 +-
.../version-1.1.3/engine-usage/openlookeng.md | 2 +-
.../version-1.1.3/release.md | 2 +-
package-lock.json | 26 +--
27 files changed, 196 insertions(+), 232 deletions(-)
diff --git a/docs/api/http/linkis-ps-publicservice-api/currency-api.md b/docs/api/http/linkis-ps-publicservice-api/currency-api.md
index cedfd3ae37..6b2db5d30f 100644
--- a/docs/api/http/linkis-ps-publicservice-api/currency-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/currency-api.md
@@ -1,5 +1,5 @@
---
-title: Ceneric Api
+title: Public Api
sidebar_position: 6
---
** CommonRestfulApi class **
diff --git a/docs/api/http/linkis-ps-publicservice-api/data-source-manager-api.md b/docs/api/http/linkis-ps-publicservice-api/data-source-manager-api.md
index adc953a744..a1b93b1512 100644
--- a/docs/api/http/linkis-ps-publicservice-api/data-source-manager-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/data-source-manager-api.md
@@ -1,3 +1,8 @@
+---
+title: DataSource Api
+sidebar_position: 1
+---
+
# DataSourceAdminRestfulApi
## queryDataSourceEnv
diff --git a/docs/api/http/linkis-ps-publicservice-api/file-system-api.md b/docs/api/http/linkis-ps-publicservice-api/file-system-api.md
index 7c590eb6ff..04ae3e8cde 100644
--- a/docs/api/http/linkis-ps-publicservice-api/file-system-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/file-system-api.md
@@ -1,5 +1,5 @@
---
-title: Filesystem
+title: File System Api
sidebar_position: 27
---
** FsRestfulApi class **
diff --git a/docs/api/http/linkis-ps-publicservice-api/global-variable-api.md b/docs/api/http/linkis-ps-publicservice-api/global-variable-api.md
index 3de94d2434..cad59cf2a7 100644
--- a/docs/api/http/linkis-ps-publicservice-api/global-variable-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/global-variable-api.md
@@ -1,5 +1,5 @@
---
-title: Add Global Variable
+title: Global Variable Api
sidebar_position: 23
---
** VariableRestfulApi class **
diff --git a/docs/api/http/linkis-ps-publicservice-api/instance-management-api.md b/docs/api/http/linkis-ps-publicservice-api/instance-management-api.md
index 442e64a904..103ec1df4a 100644
--- a/docs/api/http/linkis-ps-publicservice-api/instance-management-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/instance-management-api.md
@@ -1,5 +1,5 @@
---
-title: Instance Management
+title: Instance Management Api
sidebar_position: 26
---
** InstanceRestful class **
diff --git a/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md b/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
index 78311edbd6..7925a051b4 100644
--- a/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
@@ -1,3 +1,7 @@
+---
+title: Metadata Query Api
+sidebar_position: 3
+---
# MetadataCoreRestful
diff --git a/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md b/docs/api/http/linkis-ps-publicservice-api/metadataquery-api.md
similarity index 64%
copy from docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
copy to docs/api/http/linkis-ps-publicservice-api/metadataquery-api.md
index 78311edbd6..92c778e420 100644
--- a/docs/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
+++ b/docs/api/http/linkis-ps-publicservice-api/metadataquery-api.md
@@ -1,8 +1,14 @@
+---
+title: Metadata Query Api
+sidebar_position: 3
+---
+> The new interface after the optimization of the metadata query interface, see [Metadata Query API](./metadatamanager-api.md) for the old interface that has been abandoned. Compared with the old interface, mainly adjust the request path and interface parameter naming
-# MetadataCoreRestful
+# MetadataQueryRestful class
## getColumns
-**Interface address**: `/api/rest_j/v1/metadatamanager/columns/{dataSourceId}/db/{database}/table/{table}`
+
+**Interface address**:`/api/rest_j/v1//metadataQuery/getColumns`
**Request method**: `GET`
@@ -16,7 +22,7 @@
| Parameter name | Parameter description | Request type | Required | Data type | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string||
+|dataSourceName|dataSourceName|path|true|string||
|database|database|path|true|string||
|system|system|query|true|string||
|table|table|path|true|string||
@@ -48,78 +54,6 @@
"name": "datasource_desc",
"type": "VARCHAR"
},
- {
- "index": 4,
- "primaryKey": false,
- "name": "datasource_type_id",
- "type": "INT"
- },
- {
- "index": 5,
- "primaryKey": false,
- "name": "create_identify",
- "type": "VARCHAR"
- },
- {
- "index": 6,
- "primaryKey": false,
- "name": "create_system",
- "type": "VARCHAR"
- },
- {
- "index": 7,
- "primaryKey": false,
- "name": "parameter",
- "type": "VARCHAR"
- },
- {
- "index": 8,
- "primaryKey": false,
- "name": "create_time",
- "type": "DATETIME"
- },
- {
- "index": 9,
- "primaryKey": false,
- "name": "modify_time",
- "type": "DATETIME"
- },
- {
- "index": 10,
- "primaryKey": false,
- "name": "create_user",
- "type": "VARCHAR"
- },
- {
- "index": 11,
- "primaryKey": false,
- "name": "modify_user",
- "type": "VARCHAR"
- },
- {
- "index": 12,
- "primaryKey": false,
- "name": "labels",
- "type": "VARCHAR"
- },
- {
- "index": 13,
- "primaryKey": false,
- "name": "version_id",
- "type": "INT"
- },
- {
- "index": 14,
- "primaryKey": false,
- "name": "expire",
- "type": "TINYINT"
- },
- {
- "index": 15,
- "primaryKey": false,
- "name": "published_version_id",
- "type": "INT"
- }
]
}
}
@@ -127,7 +61,7 @@
## getDatabases
-**Interface address**:`/api/rest_j/v1/metadatamanager/dbs/{dataSourceId}`
+**Interface address**:`/api/rest_j/v1//metadataQuery/getDatabases`
**Request method**: `GET`
@@ -141,7 +75,7 @@
| Parameter name | Parameter description | Request type | Required | Data type | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string||
+|dataSourceName|dataSourceName|path|true|string||
|system|system|query|true|string||
**Sample Response**:
@@ -162,7 +96,10 @@
## getPartitions
-**Interface address**:`/api/rest_j/v1/metadatamanager/partitions/{dataSourceId}/db/{database}/table/{table}`
+
+> return value adjusted to props -> partitions
+
+**Interface address**:`/api/rest_j/v1//metadataQuery/getPartitions`
**Request method**: `GET`
@@ -176,7 +113,7 @@
| Parameter name | Parameter description | Request type | Required | Data type | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string||
+|dataSourceName|dataSourceName|path|true|string||
|database|database|path|true|string||
|system|system|query|true|string||
|table|table|path|true|string||
@@ -189,7 +126,7 @@
"status": 0,
"message": "OK",
"data": {
- "props": {
+ "partitions": {
"partKeys": [
"ds"
],
@@ -200,7 +137,8 @@
````
## getTableProps
-**Interface address**:`/api/rest_j/v1/metadatamanager/props/{dataSourceId}/db/{database}/table/{table}`
+
+**Interface address**:`/api/rest_j/v1//metadataQuery/getTableProps`
**Request method**: `GET`
@@ -215,7 +153,7 @@
| Parameter name | Parameter description | Request type | Required | Data type | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string||
+|dataSourceName|dataSourceName|path|true|string||
|database|database|path|true|string||
|system|system|query|true|string||
|table|table|path|true|string||
@@ -250,4 +188,77 @@
}
}
}
+````
+
+
+## getPartitionProps
+**Interface address**:`/api/rest_j/v1//metadataQuery/getPartitionProps`
+
+**Request method**: `GET`
+
+**Request data type**: `application/x-www-form-urlencoded`
+
+**Response data type**: `application/json`
+
+**Interface description**:
+
+**Request Parameters**:
+
+| Parameter name | Parameter description | Request type | Required | Data type | schema |
+| -------- | -------- | ----- | -------- | -------- | ------ |
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|partition|partition|path|true|string||
+|system|system|query|true|string||
+|table|table|path|true|string||
+
+
+**Sample Response**:
+````javascript
+{
+"data": {},
+"message": "",
+"method": "",
+"status": 0
+}
+````
+
+
+## getTables
+**Interface address**:`/api/rest_j/v1//metadataQuery/getTables`
+
+**Request method**: `GET`
+
+**Request data type**: `application/x-www-form-urlencoded`
+
+**Response data type**: `application/json`
+
+**Interface description**: Get the list of data tables of a database of the data source
+
+**Request Parameters**:
+
+| Parameter name | Parameter description | Request type | Required | Data type | schema |
+| -------- | -------- | ----- | -------- | -------- | ------ |
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|system|system|query|true|string||
+
+**Sample Response**:
+````javascript
+{
+ "method": null,
+ "status": 0,
+ "message": "OK",
+ "data": {
+ "tables": [
+ "test",
+ "test_0317a",
+ "test_import_sqoop_1",
+ "test_linkis_sqoop_1",
+ "test_linkis_sqoop_2",
+ "test_linkis_sqoop_3",
+ "upload_test"
+ ]
+ }
+}
````
\ No newline at end of file
diff --git a/docs/release.md b/docs/release.md
index 2bb0cbe3ba..8d21584d5b 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -1,16 +1,15 @@
---
-title: Version overview
+title: Version Overview
sidebar_position: 0.1
---
-- [ElasticSearch Engine usage introduction](/engine-usage/elasticsearch.md)
-- [Presto Engine usage introduction](/engine-usage/presto.md)
-- [Enable Prometheus monitoring](/deployment/involve-prometheus-into-linkis.md)
-- [Custom Variable Design & Built-in Variables](/architecture/commons/variable.md)
-- [EngineConn History Information Recording Features](/architecture/computation-governance-services/engine/engine-conn-history.md)
-- [EngineConn Metrics reporting feature](/architecture/computation-governance-services/engine/engine-conn-metrics.md)
-- [ContextService cleanup interface features](/architecture/public-enhancement-services/context-service/content-service-cleanup.md)
-- [Release-Notes](/download/release-notes-1.1.3)
+- [ElasticSearch engine usage instructions](/engine-usage/elasticsearch.md)
+- [Presto Engine Instructions](/engine-usage/presto.md)
+- [Integrate Knife4j and enable](/deployment/involve-knife4j-into-linkis.md)
+- [Data source function module interface optimization](/api/http/linkis-ps-publicservice-api/metadataquery-api.md)
+- [JDBC engine supports data source schema](/engine-usage/jdbc.md)
+- [version of Release-Notes](/download/release-notes-1.2.0)
+
## Configuration Item
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
index cb0a697e14..e413c65e0d 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
@@ -240,6 +240,7 @@ mvn --encrypt-password <apache password>
</profiles>
</settings>
```
+
:::caution 注意
如果后续执行2.3步进行deploy时,报401,可以运行`mvn help:effective-settings` 检查下生效的maven `settings.xml`配置,
可以尝试将上述的账户密码配置再自己maven环境的conf配置中,如:`D:\apache-maven-3.3.9\conf\setting.xml`
@@ -262,7 +263,7 @@ step1 基于待发布的开发分支,创建release-${release_version}-rc分支
step2 创建新的github release
进入到创建页面 https://github.com/apache/incubator-linkis/releases/new
-基于之前`release-1.1.2-rc1`分支创建名为`1.1.2-rc`的tag,填写标题`Apache Linkis(incubating) Release-1.1.2-Incubating-RC1`,并勾选`This is a pre-release`,将该版本的release notes链接写入
+基于之前`release-1.1.2-rc1`分支创建名为`1.1.2-rc`的tag,填写标题`Apache Linkis(incubating) Release-1.1.2-incubating-RC1`,并勾选`This is a pre-release`,将该版本的release notes链接写入
![image](https://user-images.githubusercontent.com/7869972/180214706-7228e5ae-f810-4e07-80fc-67fcf01688eb.png)
@@ -285,6 +286,7 @@ git clone -b release-1.1.2-rc1 -c core.autocrlf=false git@github.com:apache/in
- 主仓库apache/incubator-linkis准备好发布分支/tag/release notes后,请克隆源码对应的发布分支release-1.1.2-rc1,进行下列步骤
+
:::
### 2.2 版本号确认
@@ -542,7 +544,7 @@ Hello Linkis Community,
This is a call for vote to release Apache Linkis (Incubating) version ${release_version}-${rc_version}.
Release notes:
- https://github.com/apache/incubator-linkis/releases/tag/v${release_version}-${rc_version}
+ https://linkis.apache.org/download/release-notes-${release_version}-${rc_version}
The release candidates:
https://dist.apache.org/repos/dist/dev/incubator/linkis/${release_version}-${rc_version}/
@@ -694,7 +696,7 @@ Hello Incubator Community,
• https://github.com/apache/incubator-linkis/releases/tag/${release_version}-${rc_version}
Release notes:
- • https://github.com/apache/incubator-linkis/releases/tag/${release_version}-${rc_version}
+ • https://linkis.apache.org/download/release-notes-${release_version}
The artifacts signed with PGP key [填写你个人的KEY], corresponding to [填写你个人的邮箱], that can be found in keys file:
• https://downloads.apache.org/incubator/linkis/KEYS
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.1.1.md b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.1.1.md
index ba93b34366..e42dfbfc5f 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.1.1.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.1.1.md
@@ -79,4 +79,6 @@ Apache Linkis(incubating) 1.1.1 包括所有 [Project Linkis-1.1.1](https://gith
## 致谢
-Apache Linkis(incubating) 1.1.1的发布离不开Linkis社区的贡献者,感谢所有的社区贡献者,包括但不仅限于以下Contributors: AbnerHung、Alexkun、barry8023、CCweixiao 、Davidhua1996、Fuu3214、Liveipool、casionone、demonray、husofskyzy、jackxu2011 、legendtkl、lizheng920625、maidangdang44、peacewong、seedscoder
\ No newline at end of file
+Apache Linkis(incubating) 1.1.1的发布离不开Linkis社区的贡献者,感谢所有的社区贡献者,包括但不仅限于以下Contributors:
+AbnerHung、Alexkun、barry8023、CCweixiao 、Davidhua1996、Fuu3214、Liveipool、
+casionone、demonray、husofskyzy、jackxu2011 、legendtkl、lizheng920625、maidangdang44、peacewong、seedscoder
\ No newline at end of file
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
index 40f4145008..9721b4f6ca 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
@@ -18,6 +18,7 @@ Linkis 1.2.0 版本发布主要支持Presto和ElasticSearch引擎;对JDBC引
* 支持SDK客户端任务重试
* 新增单个Entrance任务统计接口
* 管理台资源管理页面支持查看历史引擎信息
+
缩写:
- COMMON: Linkis Common
- EC: Engineconn
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
index 3d1a8edc43..c23802ccfc 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
@@ -2,6 +2,7 @@
title: 元数据查询API
sidebar_position: 3
---
+> 本接口为已废弃的老接口,请使用新接口[元数据查询新API](./metadatamanager-api.md)
** MetadataCoreRestful 类 **
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadataquery-api.md
similarity index 60%
copy from i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
copy to i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadataquery-api.md
index 3d1a8edc43..33671dc680 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadatamanager-api.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/http/linkis-ps-publicservice-api/metadataquery-api.md
@@ -1,12 +1,14 @@
---
-title: 元数据查询API
+title: 元数据查询API(新)
sidebar_position: 3
---
+> 元数据查询接口优化之后的新接口,已废弃的旧接口见[元数据查询API](./metadatamanager-api.md),相对于旧接口,主要调整请求的路径和接口参数命名
-** MetadataCoreRestful 类 **
+** MetadataQueryRestful 类 **
## getColumns
-**接口地址**:`/api/rest_j/v1/metadatamanager/columns/{dataSourceId}/db/{database}/table/{table}`
+
+**接口地址**:`/api/rest_j/v1//metadataQuery/getColumns`
**请求方式**:`GET`
@@ -20,10 +22,10 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|database|database|path|true|string|
-|system|system|query|true|string|
-|table|table|path|true|string|
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|system|system|query|true|string||
+|table|table|path|true|string||
**响应示例**:
@@ -52,78 +54,6 @@ sidebar_position: 3
"name": "datasource_desc",
"type": "VARCHAR"
},
- {
- "index": 4,
- "primaryKey": false,
- "name": "datasource_type_id",
- "type": "INT"
- },
- {
- "index": 5,
- "primaryKey": false,
- "name": "create_identify",
- "type": "VARCHAR"
- },
- {
- "index": 6,
- "primaryKey": false,
- "name": "create_system",
- "type": "VARCHAR"
- },
- {
- "index": 7,
- "primaryKey": false,
- "name": "parameter",
- "type": "VARCHAR"
- },
- {
- "index": 8,
- "primaryKey": false,
- "name": "create_time",
- "type": "DATETIME"
- },
- {
- "index": 9,
- "primaryKey": false,
- "name": "modify_time",
- "type": "DATETIME"
- },
- {
- "index": 10,
- "primaryKey": false,
- "name": "create_user",
- "type": "VARCHAR"
- },
- {
- "index": 11,
- "primaryKey": false,
- "name": "modify_user",
- "type": "VARCHAR"
- },
- {
- "index": 12,
- "primaryKey": false,
- "name": "labels",
- "type": "VARCHAR"
- },
- {
- "index": 13,
- "primaryKey": false,
- "name": "version_id",
- "type": "INT"
- },
- {
- "index": 14,
- "primaryKey": false,
- "name": "expire",
- "type": "TINYINT"
- },
- {
- "index": 15,
- "primaryKey": false,
- "name": "published_version_id",
- "type": "INT"
- }
]
}
}
@@ -131,7 +61,7 @@ sidebar_position: 3
## getDatabases
-**接口地址**:`/api/rest_j/v1/metadatamanager/dbs/{dataSourceId}`
+**接口地址**:`/api/rest_j/v1//metadataQuery/getDatabases`
**请求方式**:`GET`
@@ -145,8 +75,8 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|system|system|query|true|string|
+|dataSourceName|dataSourceName|path|true|string||
+|system|system|query|true|string||
**响应示例**:
```javascript
@@ -166,7 +96,10 @@ sidebar_position: 3
## getPartitions
-**接口地址**:`/api/rest_j/v1/metadatamanager/partitions/{dataSourceId}/db/{database}/table/{table}`
+
+> 返回值调整为 props -> partitions
+
+**接口地址**:`/api/rest_j/v1//metadataQuery/getPartitions`
**请求方式**:`GET`
@@ -180,11 +113,11 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|database|database|path|true|string|
-|system|system|query|true|string|
-|table|table|path|true|string|
-|traverse|traverse|query|false|boolean|
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|system|system|query|true|string||
+|table|table|path|true|string||
+|traverse|traverse|query|false|boolean||
**响应示例**:
```javascript
@@ -193,7 +126,7 @@ sidebar_position: 3
"status": 0,
"message": "OK",
"data": {
- "props": {
+ "partitions": {
"partKeys": [
"ds"
],
@@ -204,7 +137,7 @@ sidebar_position: 3
```
## getTableProps
-**接口地址**:`/api/rest_j/v1/metadatamanager/props/{dataSourceId}/db/{database}/table/{table}`
+**接口地址**:`/api/rest_j/v1//metadataQuery/getTableProps`
**请求方式**:`GET`
@@ -219,10 +152,10 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|database|database|path|true|string|
-|system|system|query|true|string|
-|table|table|path|true|string|
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|system|system|query|true|string||
+|table|table|path|true|string||
**响应示例**:
```javascript
@@ -258,7 +191,7 @@ sidebar_position: 3
## getPartitionProps
-**接口地址**:`/api/rest_j/v1/metadatamanager/props/{dataSourceId}/db/{database}/table/{table}/partition/{partition}`
+**接口地址**:`/api/rest_j/v1//metadataQuery/getPartitionProps`
**请求方式**:`GET`
@@ -272,11 +205,11 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|database|database|path|true|string|
-|partition|partition|path|true|string|
-|system|system|query|true|string|
-|table|table|path|true|string|
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|partition|partition|path|true|string||
+|system|system|query|true|string||
+|table|table|path|true|string||
**响应示例**:
@@ -291,7 +224,7 @@ sidebar_position: 3
## getTables
-**接口地址**:`/api/rest_j/v1/metadatamanager/tables/{dataSourceId}/db/{database}`
+**接口地址**:`/api/rest_j/v1//metadataQuery/getTables`
**请求方式**:`GET`
@@ -305,9 +238,9 @@ sidebar_position: 3
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|dataSourceId|dataSourceId|path|true|string|
-|database|database|path|true|string|
-|system|system|query|true|string|
+|dataSourceName|dataSourceName|path|true|string||
+|database|database|path|true|string||
+|system|system|query|true|string||
**响应示例**:
```javascript
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/deploy-linkis-without-hdfs.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/deploy-linkis-without-hdfs.md
index 191f372a98..43a6ea894a 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/deploy-linkis-without-hdfs.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/deploy-linkis-without-hdfs.md
@@ -1,5 +1,5 @@
---
-title: Linkis 去 HDFS 部署
+title: 无 HDFS 部署
sidebar_position: 8
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/involve-prometheus-into-linkis.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/involve-prometheus-into-linkis.md
index 604d64c0bc..6a4d971a15 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/involve-prometheus-into-linkis.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/involve-prometheus-into-linkis.md
@@ -1,5 +1,5 @@
---
-title: 开启Prometheus监控
+title: 开启 Prometheus 监控
sidebar_position: 11
---
这篇文章描述了如何让Prometheus监控所有正在运行的Linkis服务。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis-scriptis-install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis-scriptis-install.md
index b4ed7a3c02..ba51363515 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis-scriptis-install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis-scriptis-install.md
@@ -1,5 +1,5 @@
---
-title: 工具 scriptis 的安装部署
+title: 工具 Scriptis 的安装部署
sidebar_position: 10
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/openlookeng.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/openlookeng.md
index 7911cb5483..9af044e6ca 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/openlookeng.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/openlookeng.md
@@ -1,5 +1,5 @@
---
-title: openLooKeng 引擎
+title: OpenLooKeng 引擎
sidebar_position: 8
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
index 38ff6e058a..d5c6a168fa 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
@@ -2,14 +2,12 @@
title: 版本总览
sidebar_position: 0.1
---
-- [ElasticSearch引擎使用说明](/engine-usage/elasticsearch.md)
-- [Presto引擎使用说明](/engine-usage/presto.md)
-- [开启Prometheus监控](/deployment/involve-prometheus-into-linkis.md)
-- [自定义变量设计&内置变量](/architecture/commons/variable.md)
-- [EngineConn 历史信息记录特性](/architecture/computation-governance-services/engine/engine-conn-history.md)
-- [EngineConn Metrics 上报特性](/architecture/computation-governance-services/engine/engine-conn-metrics.md)
-- [ContextService 清理接口特性](/architecture/public-enhancement-services/context-service/content-service-cleanup.md)
-- [版本的Release-Notes](/download/release-notes-1.1.3)
+- [ElasticSearch 引擎使用说明](/engine-usage/elasticsearch.md)
+- [Presto 引擎使用说明](/engine-usage/presto.md)
+- [集成 Knife4j 和启用](/deployment/involve-knife4j-into-linkis.md)
+- [数据源功能模块接口优化](/api/http/linkis-ps-publicservice-api/metadataquery-api.md)
+- [JDBC 引擎支持数据源模式](/engine-usage/jdbc.md)
+- [版本的 Release-Notes](/download/release-notes-1.2.0)
## 参数变化
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis-scriptis-install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis-scriptis-install.md
index b4ed7a3c02..ba51363515 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis-scriptis-install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis-scriptis-install.md
@@ -1,5 +1,5 @@
---
-title: 工具 scriptis 的安装部署
+title: 工具 Scriptis 的安装部署
sidebar_position: 10
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/engine-usage/openlookeng.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/engine-usage/openlookeng.md
index 099e1d268f..ccb0139409 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/engine-usage/openlookeng.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/engine-usage/openlookeng.md
@@ -1,5 +1,5 @@
---
-title: openLooKeng 引擎
+title: OpenLooKeng 引擎
sidebar_position: 8
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis-scriptis-install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis-scriptis-install.md
index b4ed7a3c02..ba51363515 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis-scriptis-install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis-scriptis-install.md
@@ -1,5 +1,5 @@
---
-title: 工具 scriptis 的安装部署
+title: 工具 Scriptis 的安装部署
sidebar_position: 10
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/engine-usage/openlookeng.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/engine-usage/openlookeng.md
index 099e1d268f..ccb0139409 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/engine-usage/openlookeng.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/engine-usage/openlookeng.md
@@ -1,5 +1,5 @@
---
-title: openLooKeng 引擎
+title: OpenLooKeng 引擎
sidebar_position: 8
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/involve-prometheus-into-linkis.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/involve-prometheus-into-linkis.md
index 604d64c0bc..6a4d971a15 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/involve-prometheus-into-linkis.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/involve-prometheus-into-linkis.md
@@ -1,5 +1,5 @@
---
-title: 开启Prometheus监控
+title: 开启 Prometheus 监控
sidebar_position: 11
---
这篇文章描述了如何让Prometheus监控所有正在运行的Linkis服务。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/linkis-scriptis-install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/linkis-scriptis-install.md
index b4ed7a3c02..ba51363515 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/linkis-scriptis-install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/deployment/linkis-scriptis-install.md
@@ -1,5 +1,5 @@
---
-title: 工具 scriptis 的安装部署
+title: 工具 Scriptis 的安装部署
sidebar_position: 10
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/engine-usage/openlookeng.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/engine-usage/openlookeng.md
index 099e1d268f..ccb0139409 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/engine-usage/openlookeng.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/engine-usage/openlookeng.md
@@ -1,5 +1,5 @@
---
-title: openLooKeng 引擎
+title: OpenLooKeng 引擎
sidebar_position: 8
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/release.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/release.md
index 617ad357a6..dad0b637a6 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.3/release.md
@@ -2,7 +2,7 @@
title: 版本总览
sidebar_position: 0.1
---
-- [开启Prometheus监控](/deployment/involve-prometheus-into-linkis.md)
+- [开启 Prometheus 监控](/deployment/involve-prometheus-into-linkis.md)
- [自定义变量设计&内置变量](/architecture/commons/variable.md)
- [EngineConn 历史信息记录特性](/architecture/computation-governance-services/engine/engine-conn-history.md)
- [EngineConn Metrics 上报特性](/architecture/computation-governance-services/engine/engine-conn-metrics.md)
diff --git a/package-lock.json b/package-lock.json
index df43dd3a2e..85cfa38c22 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1418,6 +1418,15 @@
"@svgr/plugin-jsx": "^6.1.2",
"@svgr/plugin-svgo": "^6.1.2"
}
+ },
+ "react-loadable": {
+ "version": "npm:@docusaurus/react-loadable@5.5.2",
+ "resolved": "https://registry.npmjs.org/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz",
+ "integrity": "sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==",
+ "requires": {
+ "@types/react": "*",
+ "prop-types": "^15.6.2"
+ }
}
}
},
@@ -2269,6 +2278,14 @@
}
}
},
+ "react-loadable": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/react-loadable/-/react-loadable-5.5.0.tgz",
+ "integrity": "sha512-C8Aui0ZpMd4KokxRdVAm2bQtI03k2RMRNzOB+IipV3yxFTSVICv7WoUr5L9ALB5BmKO1iHgZtWM8EvYG83otdg==",
+ "requires": {
+ "prop-types": "^15.5.0"
+ }
+ },
"readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz",
@@ -19495,15 +19512,6 @@
"resolved": "http://10.107.103.115:8001/react-lifecycles-compat/download/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I="
},
- "react-loadable": {
- "version": "npm:@docusaurus/react-loadable@5.5.2",
- "resolved": "https://registry.npmjs.org/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz",
- "integrity": "sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==",
- "requires": {
- "@types/react": "*",
- "prop-types": "^15.6.2"
- }
- },
"react-loadable-ssr-addon-v5-slorber": {
"version": "1.0.1",
"resolved": "http://10.107.103.115:8001/react-loadable-ssr-addon-v5-slorber/download/react-loadable-ssr-addon-v5-slorber-1.0.1.tgz",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org