From b8a8e14ea1d86ad570189f9eda9c0c0eea591bb4 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 27 Jun 2020 16:28:26 +0800 Subject: [PATCH] bump connector version to 2.0.0 for TDengine 2.0 [TD-769] --- src/connector/grafana/tdengine/package.json | 2 +- src/connector/jdbc/CMakeLists.txt | 2 +- src/connector/jdbc/pom.xml | 2 +- src/connector/jdbc/src/test/java/TestAsyncTSDBSubscribe.java | 2 +- src/connector/jdbc/src/test/java/TestTSDBSubscribe.java | 2 +- src/connector/nodejs/package.json | 2 +- src/connector/python/linux/python2/setup.py | 2 +- src/connector/python/linux/python2/taos.egg-info/PKG-INFO | 2 +- src/connector/python/linux/python3/setup.py | 2 +- src/connector/python/linux/python3/taos.egg-info/PKG-INFO | 2 +- src/connector/python/windows/python2/setup.py | 2 +- src/connector/python/windows/python2/taos.egg-info/PKG-INFO | 2 +- src/connector/python/windows/python3/setup.py | 2 +- src/connector/python/windows/python3/taos.egg-info/PKG-INFO | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/connector/grafana/tdengine/package.json b/src/connector/grafana/tdengine/package.json index 0eb7a76be6..678278ec47 100644 --- a/src/connector/grafana/tdengine/package.json +++ b/src/connector/grafana/tdengine/package.json @@ -1,7 +1,7 @@ { "name": "TDengine", "private": false, - "version": "1.0.0", + "version": "2.0.0", "description": "grafana datasource plugin for tdengine", "scripts": { "build": "./node_modules/grunt-cli/bin/grunt", diff --git a/src/connector/jdbc/CMakeLists.txt b/src/connector/jdbc/CMakeLists.txt index 05c8bebafe..7f823b97b2 100644 --- a/src/connector/jdbc/CMakeLists.txt +++ b/src/connector/jdbc/CMakeLists.txt @@ -8,7 +8,7 @@ IF (TD_MVN_INSTALLED) ADD_CUSTOM_COMMAND(OUTPUT ${JDBC_CMD_NAME} POST_BUILD COMMAND mvn -Dmaven.test.skip=true install -f ${CMAKE_CURRENT_SOURCE_DIR}/pom.xml - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/target/taos-jdbcdriver-1.0.3-dist.jar ${LIBRARY_OUTPUT_PATH} + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/target/taos-jdbcdriver-2.0.0-dist.jar ${LIBRARY_OUTPUT_PATH} COMMAND mvn -Dmaven.test.skip=true clean -f ${CMAKE_CURRENT_SOURCE_DIR}/pom.xml COMMENT "build jdbc driver") ADD_CUSTOM_TARGET(${JDBC_TARGET_NAME} ALL WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH} DEPENDS ${JDBC_CMD_NAME}) diff --git a/src/connector/jdbc/pom.xml b/src/connector/jdbc/pom.xml index 5aa4f6a2e3..2f0c3c78e7 100755 --- a/src/connector/jdbc/pom.xml +++ b/src/connector/jdbc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.taosdata.jdbc taos-jdbcdriver - 1.0.3 + 2.0.0 jar JDBCDriver https://github.com/taosdata/TDengine/tree/master/src/connector/jdbc diff --git a/src/connector/jdbc/src/test/java/TestAsyncTSDBSubscribe.java b/src/connector/jdbc/src/test/java/TestAsyncTSDBSubscribe.java index 55ab2fdc52..03a4761b91 100644 --- a/src/connector/jdbc/src/test/java/TestAsyncTSDBSubscribe.java +++ b/src/connector/jdbc/src/test/java/TestAsyncTSDBSubscribe.java @@ -8,7 +8,7 @@ import java.util.Properties; public class TestAsyncTSDBSubscribe { public static void main(String[] args) throws SQLException { - String usage = "java -cp taos-jdbcdriver-1.0.3_dev-dist.jar com.taosdata.jdbc.TSDBSubscribe -db dbName -topic topicName " + + String usage = "java -cp taos-jdbcdriver-2.0.0_dev-dist.jar com.taosdata.jdbc.TSDBSubscribe -db dbName -topic topicName " + "-tname tableName -h host"; if (args.length < 2) { System.err.println(usage); diff --git a/src/connector/jdbc/src/test/java/TestTSDBSubscribe.java b/src/connector/jdbc/src/test/java/TestTSDBSubscribe.java index f628f3cada..598ef4bbc0 100644 --- a/src/connector/jdbc/src/test/java/TestTSDBSubscribe.java +++ b/src/connector/jdbc/src/test/java/TestTSDBSubscribe.java @@ -10,7 +10,7 @@ import java.util.Properties; public class TestTSDBSubscribe { public static void main(String[] args) throws Exception { - String usage = "java -cp taos-jdbcdriver-1.0.3_dev-dist.jar com.taosdata.jdbc.TSDBSubscribe -db dbName " + + String usage = "java -cp taos-jdbcdriver-2.0.0_dev-dist.jar com.taosdata.jdbc.TSDBSubscribe -db dbName " + "-topic topicName -tname tableName -h host"; if (args.length < 2) { System.err.println(usage); diff --git a/src/connector/nodejs/package.json b/src/connector/nodejs/package.json index 8d7a971aa3..2bc4a2453d 100644 --- a/src/connector/nodejs/package.json +++ b/src/connector/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "td-connector", - "version": "1.6.1", + "version": "2.0.0", "description": "A Node.js connector for TDengine.", "main": "tdengine.js", "scripts": { diff --git a/src/connector/python/linux/python2/setup.py b/src/connector/python/linux/python2/setup.py index ae5ebad671..2e4f80b8f0 100644 --- a/src/connector/python/linux/python2/setup.py +++ b/src/connector/python/linux/python2/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="taos", - version="1.4.15", + version="2.0.0", author="Taosdata Inc.", author_email="support@taosdata.com", description="TDengine python client package", diff --git a/src/connector/python/linux/python2/taos.egg-info/PKG-INFO b/src/connector/python/linux/python2/taos.egg-info/PKG-INFO index ce6d8c58b2..96bf9059fd 100644 --- a/src/connector/python/linux/python2/taos.egg-info/PKG-INFO +++ b/src/connector/python/linux/python2/taos.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: taos -Version: 1.4.15 +Version: 2.0.0 Summary: TDengine python client package Home-page: https://github.com/pypa/sampleproject Author: Taosdata Inc. diff --git a/src/connector/python/linux/python3/setup.py b/src/connector/python/linux/python3/setup.py index 0669953ca3..03a49fc1c5 100644 --- a/src/connector/python/linux/python3/setup.py +++ b/src/connector/python/linux/python3/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="taos", - version="1.4.15", + version="2.0.0", author="Taosdata Inc.", author_email="support@taosdata.com", description="TDengine python client package", diff --git a/src/connector/python/linux/python3/taos.egg-info/PKG-INFO b/src/connector/python/linux/python3/taos.egg-info/PKG-INFO index b1a77c8ac7..1e6c829ef1 100644 --- a/src/connector/python/linux/python3/taos.egg-info/PKG-INFO +++ b/src/connector/python/linux/python3/taos.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: taos -Version: 1.4.15 +Version: 2.0.0 Summary: TDengine python client package Home-page: https://github.com/pypa/sampleproject Author: Taosdata Inc. diff --git a/src/connector/python/windows/python2/setup.py b/src/connector/python/windows/python2/setup.py index cace06f443..fd82a55650 100644 --- a/src/connector/python/windows/python2/setup.py +++ b/src/connector/python/windows/python2/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="taos", - version="1.4.15", + version="2.0.0", author="Taosdata Inc.", author_email="support@taosdata.com", description="TDengine python client package", diff --git a/src/connector/python/windows/python2/taos.egg-info/PKG-INFO b/src/connector/python/windows/python2/taos.egg-info/PKG-INFO index 9673ab6c5c..9babb669a7 100644 --- a/src/connector/python/windows/python2/taos.egg-info/PKG-INFO +++ b/src/connector/python/windows/python2/taos.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: taos -Version: 1.4.15 +Version: 2.0.0 Summary: TDengine python client package Home-page: https://github.com/pypa/sampleproject Author: Taosdata Inc. diff --git a/src/connector/python/windows/python3/setup.py b/src/connector/python/windows/python3/setup.py index 7cac04b723..9abdace5a9 100644 --- a/src/connector/python/windows/python3/setup.py +++ b/src/connector/python/windows/python3/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="taos", - version="1.4.15", + version="2.0.0", author="Taosdata Inc.", author_email="support@taosdata.com", description="TDengine python client package", diff --git a/src/connector/python/windows/python3/taos.egg-info/PKG-INFO b/src/connector/python/windows/python3/taos.egg-info/PKG-INFO index 191327092b..6213b0d165 100644 --- a/src/connector/python/windows/python3/taos.egg-info/PKG-INFO +++ b/src/connector/python/windows/python3/taos.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: taos -Version: 1.4.15 +Version: 2.0.0 Summary: TDengine python client package Home-page: https://github.com/pypa/sampleproject Author: Hongze Cheng -- GitLab