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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 209207de7c [INLONG-875][Doc] Pick #869 and #863 to 1.9.0 (#876)
209207de7c is described below

commit 209207de7cc417893acbddc395248a84b38bdbdb
Author: Charles Zhang <[email protected]>
AuthorDate: Sun Oct 8 19:48:16 2023 +0800

    [INLONG-875][Doc] Pick #869 and #863 to 1.9.0 (#876)
---
 .../version-1.9.0/data_node/load_node/sqlserver.md | 26 +++++++++++-----------
 .../version-1.9.0/development/api.md               | 25 +++++++++++++++++++++
 .../version-1.9.0/data_node/load_node/sqlserver.md | 10 ++++-----
 versioned_docs/version-1.9.0/development/api.md    | 25 +++++++++++++++++++++
 4 files changed, 68 insertions(+), 18 deletions(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/data_node/load_node/sqlserver.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/data_node/load_node/sqlserver.md
index 547f217237..e0b7e4a790 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/data_node/load_node/sqlserver.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/data_node/load_node/sqlserver.md
@@ -7,7 +7,7 @@ import {siteVariables} from '../../version';
 
 ## 概览
 
-`SQLServer Load` 节点支持将数据写入 MySQL 数据库。 本文档介绍如何设置 SQLServer Load 节点以对 SQLServer 
数据库运行 SQL 查询。
+`SQLServer Load` 节点支持将数据写入 SQLServer 数据库。 本文档介绍如何设置 SQLServer Load 节点以对 
SQLServer 数据库运行 SQL 查询。
 
 ## 支持的版本
 
@@ -36,19 +36,19 @@ import {siteVariables} from '../../version';
 
 ```sql
 
--- MySQL Extract 节点
-CREATE TABLE `mysql_extract_table`(
-  PRIMARY KEY (`id`) NOT ENFORCED,
-  `id` BIGINT,
-  `name` STRING,
-  `age` INT
+-- SQLServer extract node
+CREATE TABLE `sqlserver_extract_table`(
+      PRIMARY KEY (`id`) NOT ENFORCED,
+      `id` BIGINT,
+      `name` STRING,
+      `age` INT
 ) WITH (
-  'connector' = 'mysql-cdc-inlong',
-  'url' = 'jdbc:mysql://localhost:3306/read',
-  'username' = 'inlong',
-  'password' = 'inlong',
-  'table-name' = 'user'
-)
+      'connector' = 'sqlserver-cdc-inlong',
+      'url' = 'jdbc:sqlserver://localhost:1433/read',
+      'username' = 'inlong',
+      'password' = 'inlong',
+      'table-name' = 'dbo.user'
+      )
 
 -- SQLServer Load 节点
 CREATE TABLE `sqlserver_load_table`(
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/development/api.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/development/api.md
new file mode 100644
index 0000000000..5d00e10ab8
--- /dev/null
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.9.0/development/api.md
@@ -0,0 +1,25 @@
+---
+title: REST API
+sidebar_position: 4
+---
+
+<!-- 为了保持显示一致,请删除原始 `api.json` 中的 `info` 和 `host` 内容 -->
+
+import { lazy, Suspense } from 'react'
+import useIsBrowser from '@docusaurus/useIsBrowser';
+import 'swagger-ui-react/swagger-ui.css';
+
+export function APIPage() {
+    const isBrowser = useIsBrowser();
+    const LazySwaggerUI = lazy(() => import('swagger-ui-react'));
+    return isBrowser ?(
+        <div>
+            <p>This file is generated by Swagger, and you can also access 
dashboard_address/inlong/manager/doc.html directly.</p>
+            <Suspense fallback={null}>
+                <LazySwaggerUI url="https://inlong.apache.org/file/api.json"; />
+            </Suspense>
+        </div>
+    ) : 'Sorry, ssr is not currently supported.';
+}
+
+export default APIPage;
diff --git a/versioned_docs/version-1.9.0/data_node/load_node/sqlserver.md 
b/versioned_docs/version-1.9.0/data_node/load_node/sqlserver.md
index fe928c6caa..d6de795e8e 100644
--- a/versioned_docs/version-1.9.0/data_node/load_node/sqlserver.md
+++ b/versioned_docs/version-1.9.0/data_node/load_node/sqlserver.md
@@ -38,18 +38,18 @@ build automation tool (such as Maven or SBT) and SQL Client 
with Sort Connectors
 
 ```sql
 
--- MySQL extract node
-CREATE TABLE `mysql_extract_table`(
+-- SQLServer extract node
+CREATE TABLE `sqlserver_extract_table`(
   PRIMARY KEY (`id`) NOT ENFORCED,
   `id` BIGINT,
   `name` STRING,
   `age` INT
 ) WITH (
-  'connector' = 'mysql-cdc-inlong',
-  'url' = 'jdbc:mysql://localhost:3306/read',
+  'connector' = 'sqlserver-cdc-inlong',
+  'url' = 'jdbc:sqlserver://localhost:1433/read',
   'username' = 'inlong',
   'password' = 'inlong',
-  'table-name' = 'user'
+  'table-name' = 'dbo.user'
 )
 
 -- SQLServer load node
diff --git a/versioned_docs/version-1.9.0/development/api.md 
b/versioned_docs/version-1.9.0/development/api.md
new file mode 100644
index 0000000000..14c633dd8f
--- /dev/null
+++ b/versioned_docs/version-1.9.0/development/api.md
@@ -0,0 +1,25 @@
+---
+title: REST API
+sidebar_position: 4
+---
+
+<!-- To maintain consistent display, please remove the `info` and `host` 
content from the original `api.json` -->
+
+import { lazy, Suspense } from 'react'
+import useIsBrowser from '@docusaurus/useIsBrowser';
+import 'swagger-ui-react/swagger-ui.css';
+
+export function APIPage() {
+    const isBrowser = useIsBrowser();
+    const LazySwaggerUI = lazy(() => import('swagger-ui-react'));
+    return isBrowser ? (
+        <div>
+            <p>This file is generated by Swagger, and you can also access 
dashboard_address/inlong/manager/doc.html directly.</p>
+            <Suspense fallback="loading">
+                <LazySwaggerUI url="https://inlong.apache.org/file/api.json"; />
+            </Suspense>
+        </div>
+    ) : 'Sorry, ssr is not currently supported.';
+}
+
+export default APIPage;

Reply via email to