From 49470d6b9e2547c721ff89ec6c4f1de44d3ea7af Mon Sep 17 00:00:00 2001 From: Cloud User Date: Thu, 10 Feb 2022 08:11:53 +0000 Subject: [PATCH] fix: moving tests out results in 404 error --- documentation20/cn/08.connector/01.java/docs.md | 6 +++--- documentation20/cn/08.connector/docs.md | 10 +++++----- documentation20/en/08.connector/01.java/docs.md | 6 +++--- documentation20/en/08.connector/docs.md | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/documentation20/cn/08.connector/01.java/docs.md b/documentation20/cn/08.connector/01.java/docs.md index 8198edaf7f..00411057da 100644 --- a/documentation20/cn/08.connector/01.java/docs.md +++ b/documentation20/cn/08.connector/01.java/docs.md @@ -792,8 +792,8 @@ Query OK, 1 row(s) in set (0.000141s) ## 在框架中使用 -* Spring JdbcTemplate 中使用 taos-jdbcdriver,可参考 [SpringJdbcTemplate](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/SpringJdbcTemplate) -* Springboot + Mybatis 中使用,可参考 [springbootdemo](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/springbootdemo) +* Spring JdbcTemplate 中使用 taos-jdbcdriver,可参考 [SpringJdbcTemplate](https://github.com/taosdata/tests/tree/develop/examples/JDBC/SpringJdbcTemplate) +* Springboot + Mybatis 中使用,可参考 [springbootdemo](https://github.com/taosdata/tests/tree/develop/examples/JDBC/springbootdemo) ## 示例程序 @@ -803,7 +803,7 @@ Query OK, 1 row(s) in set (0.000141s) * Springbootdemo:springboot示例源程序 * SpringJdbcTemplate:SpringJDBC模板 -请参考:[JDBC example](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC) +请参考:[JDBC example](https://github.com/taosdata/tests/tree/develop/examples/JDBC) ## 常见问题 * 使用Statement的addBatch和executeBatch来执行“批量写入/更行”,为什么没有带来性能上的提升? diff --git a/documentation20/cn/08.connector/docs.md b/documentation20/cn/08.connector/docs.md index 9423dd97db..a798a4f020 100644 --- a/documentation20/cn/08.connector/docs.md +++ b/documentation20/cn/08.connector/docs.md @@ -164,7 +164,7 @@ C/C++的API类似于MySQL的C API。应用程序使用时,需要包含TDengine ### 示例程序 -使用C/C++连接器的示例代码请参见 https://github.com/taosdata/TDengine/tree/develop/tests/examples/c 。 +使用C/C++连接器的示例代码请参见 https://github.com/taosdata/tests/tree/develop/examples/c 。 示例程序源码也可以在安装目录下的 examples/c 路径下找到: @@ -1080,7 +1080,7 @@ HTTP 请求 URL 采用 `sqlutc` 时,返回结果集的时间戳将采用 UTC 示例程序源码位于 * {client_install_directory}/examples/C# -* [github C# example source code](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523) +* [github C# example source code](https://github.com/taosdata/tests/tree/develop/examples/C%2523) **注意:** TDengineTest.cs C#示例源程序,包含了数据库连接参数,以及如何执行数据插入、查询等操作。 @@ -1112,7 +1112,7 @@ dotnet add package TDengine.Connector ```c# using TDengineDriver; ``` -* 用户可以参考[TDengineTest.cs](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523/TDengineTest)来定义数据库连接参数,以及如何执行数据插入、查询等操作。 +* 用户可以参考[TDengineTest.cs](https://github.com/taosdata/tests/tree/develop/examples/C%2523/TDengineTest)来定义数据库连接参数,以及如何执行数据插入、查询等操作。 **注意:** @@ -1150,7 +1150,7 @@ Go连接器支持的系统有: ### 示例程序 -使用 Go 连接器的示例代码请参考 https://github.com/taosdata/TDengine/tree/develop/tests/examples/go 以及[视频教程](https://www.taosdata.com/blog/2020/11/11/1951.html)。 +使用 Go 连接器的示例代码请参考 https://github.com/taosdata/tests/tree/develop/examples/go 以及[视频教程](https://www.taosdata.com/blog/2020/11/11/1951.html)。 示例程序源码也位于安装目录下的 examples/go/taosdemo.go 文件中。 @@ -1285,7 +1285,7 @@ Node-example-raw.js 验证方法: -1. 新建安装验证目录,例如:`~/tdengine-test`,拷贝github上nodejsChecker.js源程序。下载地址:(https://github.com/taosdata/TDengine/tree/develop/tests/examples/nodejs/nodejsChecker.js)。 +1. 新建安装验证目录,例如:`~/tdengine-test`,拷贝github上nodejsChecker.js源程序。下载地址:(https://github.com/taosdata/tests/tree/develop/examples/nodejs/nodejsChecker.js)。 2. 在命令行中执行以下命令: diff --git a/documentation20/en/08.connector/01.java/docs.md b/documentation20/en/08.connector/01.java/docs.md index 81adb5c8e3..d39423ac01 100644 --- a/documentation20/en/08.connector/01.java/docs.md +++ b/documentation20/en/08.connector/01.java/docs.md @@ -753,12 +753,12 @@ Query OK, 1 row(s) in set (0.000141s) ## Integrated with framework -- Please refer to [SpringJdbcTemplate](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/SpringJdbcTemplate) if using taos-jdbcdriver in Spring JdbcTemplate. -- Please refer to [springbootdemo](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/springbootdemo) if using taos-jdbcdriver in Spring JdbcTemplate. +- Please refer to [SpringJdbcTemplate](https://github.com/taosdata/tests/tree/develop/examples/JDBC/SpringJdbcTemplate) if using taos-jdbcdriver in Spring JdbcTemplate. +- Please refer to [springbootdemo](https://github.com/taosdata/tests/tree/develop/examples/JDBC/springbootdemo) if using taos-jdbcdriver in Spring JdbcTemplate. ## Example Codes -you see sample code here: [JDBC example](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC) +you see sample code here: [JDBC example](https://github.com/taosdata/tests/tree/develop/examples/JDBC) ## FAQ - Why does not addBatch and executeBatch provide a performance benefit for executing "batch writes/updates"? diff --git a/documentation20/en/08.connector/docs.md b/documentation20/en/08.connector/docs.md index 2a5ca8f42a..682e1e0e0f 100644 --- a/documentation20/en/08.connector/docs.md +++ b/documentation20/en/08.connector/docs.md @@ -167,7 +167,7 @@ Note: - The TDengine dynamic library needs to be linked at compiling. The library in Linux is *libtaos.so*, which installed at/usr/local/taos/driver. By Windows, it is taos.dll and installed at C:\ TDengine. - Unless otherwise specified, when the return value of API is an integer, 0 represents success, others are error codes representing the cause of failure, and when the return value is a pointer, NULL represents failure. -More sample codes for using C/C++ connectors, please visit https://github.com/taosdata/TDengine/tree/develop/tests/examples/c. +More sample codes for using C/C++ connectors, please visit https://github.com/taosdata/tests/tree/develop/examples/c. ### Basic API @@ -891,7 +891,7 @@ Only some configuration parameters related to RESTful interface are listed below ### Example Source Code you can find sample code under follow directions: * {client_install_directory}/examples/C# -* [github C# example source code](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523) +* [github C# example source code](https://github.com/taosdata/tests/tree/develop/examples/C%2523) **Tips:** TDengineTest.cs One of C# connector's sample code that include basic examples like connection,sql executions and so on. @@ -924,7 +924,7 @@ dotnet add package TDengine.Connector ```C# using TDengineDriver; ``` -* user can reference from[TDengineTest.cs](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523/TDengineTest) and learn how to define database connection,query,insert and other basic data manipulations. +* user can reference from[TDengineTest.cs](https://github.com/taosdata/tests/tree/develop/examples/C%2523/TDengineTest) and learn how to define database connection,query,insert and other basic data manipulations. **Note:** @@ -951,7 +951,7 @@ https://www.taosdata.com/blog/2020/11/02/1901.html The TDengine provides the GO driver taosSql. taosSql implements the GO language's built-in interface database/sql/driver. Users can access TDengine in the application by simply importing the package as follows, see https://github.com/taosdata/driver-go/blob/develop/taosSql/driver_test.go for details. -Sample code for using the Go connector can be found in https://github.com/taosdata/TDengine/tree/develop/tests/examples/go . +Sample code for using the Go connector can be found in https://github.com/taosdata/tests/tree/develop/examples/go . ```Go import ( @@ -1067,7 +1067,7 @@ After installing the TDengine client, the nodejsChecker.js program can verify wh Steps: -1. Create a new installation verification directory, for example: `~/tdengine-test`, copy the nodejsChecker.js source program on github. Download address: (https://github.com/taosdata/TDengine/tree/develop/tests/examples/nodejs/nodejsChecker.js). +1. Create a new installation verification directory, for example: `~/tdengine-test`, copy the nodejsChecker.js source program on github. Download address: (https://github.com/taosdata/tests/tree/develop/examples/nodejs/nodejsChecker.js). 2. Execute the following command: -- GitLab