You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/12/05 10:33:45 UTC

(plc4x) branch develop updated: build(deps): bump iotdb.version from 0.13.0 to 1.2.2 (#1240)

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

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 707143d8b3 build(deps): bump iotdb.version from 0.13.0 to 1.2.2 (#1240)
707143d8b3 is described below

commit 707143d8b3d421405fe15b7067b8e8cd6ab0ab36
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Dec 5 11:33:34 2023 +0100

    build(deps): bump iotdb.version from 0.13.0 to 1.2.2 (#1240)
    
    * build(deps): bump iotdb.version from 0.13.0 to 1.2.2
    
    Bumps `iotdb.version` from 0.13.0 to 1.2.2.
    
    Updates `org.apache.iotdb:tsfile` from 0.13.0 to 1.2.2
    - [Release notes](https://github.com/thulab/iotdb/releases)
    - [Commits](https://github.com/thulab/iotdb/commits)
    
    Updates `org.apache.iotdb:service-rpc` from 0.13.0 to 1.2.2
    
    Updates `org.apache.iotdb:iotdb-jdbc` from 0.13.0 to 1.2.2
    
    Updates `org.apache.iotdb:iotdb-session` from 0.13.0 to 1.2.2
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.iotdb:tsfile
      dependency-type: direct:production
      update-type: version-update:semver-major
    - dependency-name: org.apache.iotdb:service-rpc
      dependency-type: direct:production
      update-type: version-update:semver-major
    - dependency-name: org.apache.iotdb:iotdb-jdbc
      dependency-type: direct:production
      update-type: version-update:semver-major
    - dependency-name: org.apache.iotdb:iotdb-session
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    
    * fix(plc4j/examples-iotdb): migrate code
    
    ---------
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
    Co-authored-by: Sebastian Rühl <sr...@apache.org>
---
 plc4j/examples/hello-integration-iotdb/pom.xml                        | 2 +-
 .../plc4x/java/examples/integration/iotdb/IoTDBWriterWithSession.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plc4j/examples/hello-integration-iotdb/pom.xml b/plc4j/examples/hello-integration-iotdb/pom.xml
index 4a13e7a849..df5b236ad3 100644
--- a/plc4j/examples/hello-integration-iotdb/pom.xml
+++ b/plc4j/examples/hello-integration-iotdb/pom.xml
@@ -33,7 +33,7 @@
 
   <properties>
     <project.build.outputTimestamp>2023-11-02T07:23:09Z</project.build.outputTimestamp>
-    <iotdb.version>0.13.0</iotdb.version>
+    <iotdb.version>1.2.2</iotdb.version>
 
     <app.main.class>org.apache.plc4x.java.examples.integration.iotdb.PlcLogger</app.main.class>
   </properties>
diff --git a/plc4j/examples/hello-integration-iotdb/src/main/java/org/apache/plc4x/java/examples/integration/iotdb/IoTDBWriterWithSession.java b/plc4j/examples/hello-integration-iotdb/src/main/java/org/apache/plc4x/java/examples/integration/iotdb/IoTDBWriterWithSession.java
index 129c0533f1..1ee0fbc845 100644
--- a/plc4j/examples/hello-integration-iotdb/src/main/java/org/apache/plc4x/java/examples/integration/iotdb/IoTDBWriterWithSession.java
+++ b/plc4j/examples/hello-integration-iotdb/src/main/java/org/apache/plc4x/java/examples/integration/iotdb/IoTDBWriterWithSession.java
@@ -46,7 +46,7 @@ public class IoTDBWriterWithSession implements  IIoTDBWriter {
         } catch (IoTDBConnectionException e) {
             LOGGER.error("Error", e);
         } catch (StatementExecutionException e) {
-            if (e.getStatusCode() != TSStatusCode.PATH_ALREADY_EXIST_ERROR.getStatusCode()) { // 300 means the storage group exist already.
+            if (e.getStatusCode() != TSStatusCode.PATH_ALREADY_EXIST.getStatusCode()) { // 300 means the storage group exist already.
                 LOGGER.error("Error", e);
             }
         }
@@ -79,7 +79,7 @@ public class IoTDBWriterWithSession implements  IIoTDBWriter {
         } catch (IoTDBConnectionException e) {
             LOGGER.error("Error", e);
         } catch (StatementExecutionException e) {
-            if (e.getStatusCode() != TSStatusCode.PATH_ALREADY_EXIST_ERROR.getStatusCode()) { // 300 means the time series exist already.
+            if (e.getStatusCode() != TSStatusCode.PATH_ALREADY_EXIST.getStatusCode()) { // 300 means the time series exist already.
                 LOGGER.error("Error", e);
             }
         }