You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2023/04/04 09:16:56 UTC

[flink-connector-rabbitmq] branch main updated (eab2cab -> 64bdc46)

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

martijnvisser pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git


    from eab2cab   [hotfix] Add release workflow to build against final versions
     new 650e8fc  [FLINK-31701][Connector/RabbitMQ] Include local `DockerImageVersions` instead of relying on the one from the Flink repository
     new 4b2a198  [FLINK-31701][Connector/RabbitMQ] Upgrade and sync related dependencies from Flink 1.16.0 to Flink 1.17.0 / Flink 1.17.0-SNAPSHOT
     new 2c0afa4  [FLINK-31701][Connector/RabbitMQ] Upgrade Archunit to 1.0.0
     new c5ee71a  [hotfix] Allow manual triggering of nightly builds
     new 0a4c5be  [FLINK-31701][Connector/RabbitMQ] Set `japicmp.referenceVersion` to the version of the latest released connector
     new 64bdc46  [hotfix] Use `org.apache.flink` for `flink-connector-parent`

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/push_pr.yml                      |  2 +-
 .github/workflows/release.yml                      | 31 ----------------------
 .github/workflows/weekly.yml                       |  5 ++--
 ...7ab23e => 54a3d1fc-24ac-4bdc-bf15-56e8d7831aed} |  0
 ...64a2e4 => 675cade4-c44e-4b2b-aacf-0c23d2032e4a} |  0
 ...826fe7 => 6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe} |  0
 ...00de12 => 7f91844b-8c84-41e0-af5f-0554eae1f7a3} |  0
 ...a43ccb => 871721c9-4c5f-4523-b8f6-a419e8a0085f} |  0
 ...d0d530 => deb59a69-6a64-49f2-8aa3-84985ee63d70} |  0
 ...4ee776 => f67f70fc-4a24-448c-a247-354e7ce69167} |  0
 ...6d22f8 => f968a79f-e5e4-4d60-b360-f03ce1b4e6d4} |  0
 .../archunit-violations/stored.rules               | 18 ++++++-------
 .../connectors/rabbitmq/RMQSourceITCase.java       |  2 +-
 .../rabbitmq/test/DockerImageVersions.java}        | 24 ++++++-----------
 .../src/test/resources/archunit.properties         |  3 +++
 pom.xml                                            | 16 +++++------
 16 files changed, 33 insertions(+), 68 deletions(-)
 delete mode 100644 .github/workflows/release.yml
 rename flink-connector-rabbitmq/archunit-violations/{22086d11-ddf8-434e-96c5-fa40a17ab23e => 54a3d1fc-24ac-4bdc-bf15-56e8d7831aed} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{5a2e5113-39c5-4eb6-909f-112ea364a2e4 => 675cade4-c44e-4b2b-aacf-0c23d2032e4a} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{621a723f-8a32-41f8-b2a5-9af8e4826fe7 => 6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{812e4273-9fd1-4c6b-8c29-26820f00de12 => 7f91844b-8c84-41e0-af5f-0554eae1f7a3} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{307488e0-e1a9-4cf2-b553-927354a43ccb => 871721c9-4c5f-4523-b8f6-a419e8a0085f} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{8c639c33-2f7a-4162-8b5d-de800dd0d530 => deb59a69-6a64-49f2-8aa3-84985ee63d70} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{c24c7b04-08c8-464c-b627-44e9ce4ee776 => f67f70fc-4a24-448c-a247-354e7ce69167} (100%)
 rename flink-connector-rabbitmq/archunit-violations/{d421b256-1055-4fec-a856-2a40f96d22f8 => f968a79f-e5e4-4d60-b360-f03ce1b4e6d4} (100%)
 copy flink-connector-rabbitmq/src/{main/java/org/apache/flink/streaming/connectors/rabbitmq/Util.java => test/java/org/apache/flink/streaming/connectors/rabbitmq/test/DockerImageVersions.java} (57%)


[flink-connector-rabbitmq] 05/06: [FLINK-31701][Connector/RabbitMQ] Set `japicmp.referenceVersion` to the version of the latest released connector

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit 0a4c5be21eeea0d7ef45602a5b8ff200b6b5c5bb
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Tue Apr 4 10:48:17 2023 +0200

    [FLINK-31701][Connector/RabbitMQ] Set `japicmp.referenceVersion` to the version of the latest released connector
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index f2335b5..bcc3ff4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,7 +58,7 @@ under the License.
         <hamcrest.version>1.3</hamcrest.version>
 
         <japicmp.skip>false</japicmp.skip>
-        <japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
+        <japicmp.referenceVersion>3.0.0</japicmp.referenceVersion>
 
         <slf4j.version>1.7.36</slf4j.version>
         <log4j.version>2.17.2</log4j.version>


[flink-connector-rabbitmq] 06/06: [hotfix] Use `org.apache.flink` for `flink-connector-parent`

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit 64bdc46f2d02916af1d63e1a41c31310557fc042
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Tue Apr 4 10:50:06 2023 +0200

    [hotfix] Use `org.apache.flink` for `flink-connector-parent`
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index bcc3ff4..7a3e1c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,9 +20,9 @@ under the License.
         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
     <parent>
-        <groupId>io.github.zentol.flink</groupId>
+        <groupId>org.apache.flink</groupId>
         <artifactId>flink-connector-parent</artifactId>
-        <version>1.0</version>
+        <version>1.0.0</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>


[flink-connector-rabbitmq] 02/06: [FLINK-31701][Connector/RabbitMQ] Upgrade and sync related dependencies from Flink 1.16.0 to Flink 1.17.0 / Flink 1.17.0-SNAPSHOT

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit 4b2a19868fcdde8de1bb8cbd9464869501b63a86
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Mon Apr 3 13:51:13 2023 +0200

    [FLINK-31701][Connector/RabbitMQ] Upgrade and sync related dependencies from Flink 1.16.0 to Flink 1.17.0 / Flink 1.17.0-SNAPSHOT
---
 .github/workflows/push_pr.yml |  2 +-
 .github/workflows/release.yml | 31 -------------------------------
 .github/workflows/weekly.yml  |  4 ++--
 pom.xml                       | 10 +++++-----
 4 files changed, 8 insertions(+), 39 deletions(-)

diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml
index e1ba2d4..e84ea7d 100644
--- a/.github/workflows/push_pr.yml
+++ b/.github/workflows/push_pr.yml
@@ -25,4 +25,4 @@ jobs:
   compile_and_test:
     uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
     with:
-      flink_version: 1.16.0
+      flink_version: 1.17.0
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index e080288..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-################################################################################
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-# limitations under the License.
-################################################################################
-
-name: Release Build
-on:
-  workflow_dispatch:
-jobs:
-  compile_and_test:
-    if: github.repository_owner == 'apache'
-    strategy:
-      matrix:
-        flink: [1.16.1, 1.17.0]
-    uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
-    with:
-      flink_version: ${{ matrix.flink }}
-      run_dependency_convergence: false
diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index 76c0f74..ce3fd41 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -25,8 +25,8 @@ jobs:
     if: github.repository_owner == 'apache'
     strategy:
       matrix:
-        flink: [1.16-SNAPSHOT, 1.17-SNAPSHOT]
+        flink: [1.16-SNAPSHOT, 1.17-SNAPSHOT, 1.18-SNAPSHOT]
     uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink }}
-      run_dependency_convergence: false
+      run_dependency_convergence: false
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index cc7ae65..3393da4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,17 +48,17 @@ under the License.
     </modules>
 
     <properties>
-        <flink.version>1.16.0</flink.version>
+        <flink.version>1.17.0</flink.version>
 
-        <junit5.version>5.8.1</junit5.version>
+        <junit5.version>5.9.1</junit5.version>
         <assertj.version>3.23.1</assertj.version>
         <archunit.version>0.22.0</archunit.version>
         <testcontainers.version>1.17.2</testcontainers.version>
-        <mockito.version>2.21.0</mockito.version>
+        <mockito.version>3.4.6</mockito.version>
         <hamcrest.version>1.3</hamcrest.version>
 
         <japicmp.skip>false</japicmp.skip>
-        <japicmp.referenceVersion>1.16.0</japicmp.referenceVersion>
+        <japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
 
         <slf4j.version>1.7.36</slf4j.version>
         <log4j.version>2.17.2</log4j.version>
@@ -261,7 +261,7 @@ under the License.
             <dependency>
                 <groupId>org.junit.platform</groupId>
                 <artifactId>junit-platform-engine</artifactId>
-                <version>1.8.1</version>
+                <version>1.9.1</version>
             </dependency>
 
             <!-- For dependency convergence -->


[flink-connector-rabbitmq] 01/06: [FLINK-31701][Connector/RabbitMQ] Include local `DockerImageVersions` instead of relying on the one from the Flink repository

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit 650e8fceaab6ffcaa53f8fd83a61f4b4dcc39122
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Mon Apr 3 13:44:59 2023 +0200

    [FLINK-31701][Connector/RabbitMQ] Include local `DockerImageVersions` instead of relying on the one from the Flink repository
---
 .../connectors/rabbitmq/RMQSourceITCase.java       |  2 +-
 .../rabbitmq/test/DockerImageVersions.java         | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSourceITCase.java b/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSourceITCase.java
index 402d659..a245d54 100644
--- a/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSourceITCase.java
+++ b/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSourceITCase.java
@@ -34,8 +34,8 @@ import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
 import org.apache.flink.streaming.api.functions.sink.DiscardingSink;
 import org.apache.flink.streaming.api.functions.sink.SinkFunction;
 import org.apache.flink.streaming.connectors.rabbitmq.common.RMQConnectionConfig;
+import org.apache.flink.streaming.connectors.rabbitmq.test.DockerImageVersions;
 import org.apache.flink.test.util.MiniClusterWithClientResource;
-import org.apache.flink.util.DockerImageVersions;
 
 import com.rabbitmq.client.AMQP;
 import com.rabbitmq.client.Channel;
diff --git a/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/test/DockerImageVersions.java b/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/test/DockerImageVersions.java
new file mode 100644
index 0000000..4c365ba
--- /dev/null
+++ b/flink-connector-rabbitmq/src/test/java/org/apache/flink/streaming/connectors/rabbitmq/test/DockerImageVersions.java
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.streaming.connectors.rabbitmq.test;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the Java
+ * tests. The names/versions are centralised here in order to make testing version updates easier,
+ * as well as to provide a central file to use as a key when caching testing Docker files.
+ */
+public class DockerImageVersions {
+
+    public static final String RABBITMQ = "rabbitmq:3.9.8-management-alpine";
+}


[flink-connector-rabbitmq] 03/06: [FLINK-31701][Connector/RabbitMQ] Upgrade Archunit to 1.0.0

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit 2c0afa421ac74ce70b8a48ddc82bea62745bb122
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Mon Apr 3 14:21:10 2023 +0200

    [FLINK-31701][Connector/RabbitMQ] Upgrade Archunit to 1.0.0
    
    This upgrade is necessary because Flink 1.17 is upgraded to 1.0.0 too. Upgrading this requires to add `archRule.failOnEmptyShould = false` and then once run with `freeze.store.default.allowStoreCreation=true` before disabling this again. This recreates the initial store with archunit violations which can be used by Archunit 1.0.0
---
 ...40a17ab23e => 54a3d1fc-24ac-4bdc-bf15-56e8d7831aed} |  0
 ...2ea364a2e4 => 675cade4-c44e-4b2b-aacf-0c23d2032e4a} |  0
 ...f8e4826fe7 => 6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe} |  0
 ...820f00de12 => 7f91844b-8c84-41e0-af5f-0554eae1f7a3} |  0
 ...7354a43ccb => 871721c9-4c5f-4523-b8f6-a419e8a0085f} |  0
 ...800dd0d530 => deb59a69-6a64-49f2-8aa3-84985ee63d70} |  0
 ...e9ce4ee776 => f67f70fc-4a24-448c-a247-354e7ce69167} |  0
 ...40f96d22f8 => f968a79f-e5e4-4d60-b360-f03ce1b4e6d4} |  0
 .../archunit-violations/stored.rules                   | 18 +++++++++---------
 .../src/test/resources/archunit.properties             |  3 +++
 pom.xml                                                |  2 +-
 11 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/flink-connector-rabbitmq/archunit-violations/22086d11-ddf8-434e-96c5-fa40a17ab23e b/flink-connector-rabbitmq/archunit-violations/54a3d1fc-24ac-4bdc-bf15-56e8d7831aed
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/22086d11-ddf8-434e-96c5-fa40a17ab23e
rename to flink-connector-rabbitmq/archunit-violations/54a3d1fc-24ac-4bdc-bf15-56e8d7831aed
diff --git a/flink-connector-rabbitmq/archunit-violations/5a2e5113-39c5-4eb6-909f-112ea364a2e4 b/flink-connector-rabbitmq/archunit-violations/675cade4-c44e-4b2b-aacf-0c23d2032e4a
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/5a2e5113-39c5-4eb6-909f-112ea364a2e4
rename to flink-connector-rabbitmq/archunit-violations/675cade4-c44e-4b2b-aacf-0c23d2032e4a
diff --git a/flink-connector-rabbitmq/archunit-violations/621a723f-8a32-41f8-b2a5-9af8e4826fe7 b/flink-connector-rabbitmq/archunit-violations/6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/621a723f-8a32-41f8-b2a5-9af8e4826fe7
rename to flink-connector-rabbitmq/archunit-violations/6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe
diff --git a/flink-connector-rabbitmq/archunit-violations/812e4273-9fd1-4c6b-8c29-26820f00de12 b/flink-connector-rabbitmq/archunit-violations/7f91844b-8c84-41e0-af5f-0554eae1f7a3
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/812e4273-9fd1-4c6b-8c29-26820f00de12
rename to flink-connector-rabbitmq/archunit-violations/7f91844b-8c84-41e0-af5f-0554eae1f7a3
diff --git a/flink-connector-rabbitmq/archunit-violations/307488e0-e1a9-4cf2-b553-927354a43ccb b/flink-connector-rabbitmq/archunit-violations/871721c9-4c5f-4523-b8f6-a419e8a0085f
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/307488e0-e1a9-4cf2-b553-927354a43ccb
rename to flink-connector-rabbitmq/archunit-violations/871721c9-4c5f-4523-b8f6-a419e8a0085f
diff --git a/flink-connector-rabbitmq/archunit-violations/8c639c33-2f7a-4162-8b5d-de800dd0d530 b/flink-connector-rabbitmq/archunit-violations/deb59a69-6a64-49f2-8aa3-84985ee63d70
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/8c639c33-2f7a-4162-8b5d-de800dd0d530
rename to flink-connector-rabbitmq/archunit-violations/deb59a69-6a64-49f2-8aa3-84985ee63d70
diff --git a/flink-connector-rabbitmq/archunit-violations/c24c7b04-08c8-464c-b627-44e9ce4ee776 b/flink-connector-rabbitmq/archunit-violations/f67f70fc-4a24-448c-a247-354e7ce69167
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/c24c7b04-08c8-464c-b627-44e9ce4ee776
rename to flink-connector-rabbitmq/archunit-violations/f67f70fc-4a24-448c-a247-354e7ce69167
diff --git a/flink-connector-rabbitmq/archunit-violations/d421b256-1055-4fec-a856-2a40f96d22f8 b/flink-connector-rabbitmq/archunit-violations/f968a79f-e5e4-4d60-b360-f03ce1b4e6d4
similarity index 100%
rename from flink-connector-rabbitmq/archunit-violations/d421b256-1055-4fec-a856-2a40f96d22f8
rename to flink-connector-rabbitmq/archunit-violations/f968a79f-e5e4-4d60-b360-f03ce1b4e6d4
diff --git a/flink-connector-rabbitmq/archunit-violations/stored.rules b/flink-connector-rabbitmq/archunit-violations/stored.rules
index 903aa92..14d465e 100644
--- a/flink-connector-rabbitmq/archunit-violations/stored.rules
+++ b/flink-connector-rabbitmq/archunit-violations/stored.rules
@@ -1,10 +1,10 @@
 #
-#Tue Dec 13 10:12:23 CET 2022
-Return\ and\ argument\ types\ of\ methods\ annotated\ with\ @Public\ must\ be\ annotated\ with\ @Public.=c24c7b04-08c8-464c-b627-44e9ce4ee776
-Connector\ production\ code\ must\ not\ depend\ on\ non-public\ API\ outside\ of\ connector\ packages=812e4273-9fd1-4c6b-8c29-26820f00de12
-ITCASE\ tests\ should\ use\ a\ MiniCluster\ resource\ or\ extension=621a723f-8a32-41f8-b2a5-9af8e4826fe7
-Production\ code\ must\ not\ call\ methods\ annotated\ with\ @VisibleForTesting=d421b256-1055-4fec-a856-2a40f96d22f8
-Tests\ inheriting\ from\ AbstractTestBase\ should\ have\ name\ ending\ with\ ITCase=22086d11-ddf8-434e-96c5-fa40a17ab23e
-Options\ for\ connectors\ and\ formats\ should\ reside\ in\ a\ consistent\ package\ and\ be\ public\ API.=8c639c33-2f7a-4162-8b5d-de800dd0d530
-Return\ and\ argument\ types\ of\ methods\ annotated\ with\ @PublicEvolving\ must\ be\ annotated\ with\ @Public(Evolving).=307488e0-e1a9-4cf2-b553-927354a43ccb
-Classes\ in\ API\ packages\ should\ have\ at\ least\ one\ API\ visibility\ annotation.=5a2e5113-39c5-4eb6-909f-112ea364a2e4
+#Mon Apr 03 14:18:47 CEST 2023
+Return\ and\ argument\ types\ of\ methods\ annotated\ with\ @Public\ must\ be\ annotated\ with\ @Public.=f67f70fc-4a24-448c-a247-354e7ce69167
+Connector\ production\ code\ must\ not\ depend\ on\ non-public\ API\ outside\ of\ connector\ packages=deb59a69-6a64-49f2-8aa3-84985ee63d70
+ITCASE\ tests\ should\ use\ a\ MiniCluster\ resource\ or\ extension=6fdbfe74-a937-4a8a-8e1b-9f0a3391f3fe
+Production\ code\ must\ not\ call\ methods\ annotated\ with\ @VisibleForTesting=f968a79f-e5e4-4d60-b360-f03ce1b4e6d4
+Options\ for\ connectors\ and\ formats\ should\ reside\ in\ a\ consistent\ package\ and\ be\ public\ API.=7f91844b-8c84-41e0-af5f-0554eae1f7a3
+Tests\ inheriting\ from\ AbstractTestBase\ should\ have\ name\ ending\ with\ ITCase=675cade4-c44e-4b2b-aacf-0c23d2032e4a
+Return\ and\ argument\ types\ of\ methods\ annotated\ with\ @PublicEvolving\ must\ be\ annotated\ with\ @Public(Evolving).=871721c9-4c5f-4523-b8f6-a419e8a0085f
+Classes\ in\ API\ packages\ should\ have\ at\ least\ one\ API\ visibility\ annotation.=54a3d1fc-24ac-4bdc-bf15-56e8d7831aed
diff --git a/flink-connector-rabbitmq/src/test/resources/archunit.properties b/flink-connector-rabbitmq/src/test/resources/archunit.properties
index 15be88c..bcd0408 100644
--- a/flink-connector-rabbitmq/src/test/resources/archunit.properties
+++ b/flink-connector-rabbitmq/src/test/resources/archunit.properties
@@ -29,3 +29,6 @@ freeze.store.default.allowStoreUpdate=true
 #freeze.refreeze=true
 
 freeze.store.default.path=archunit-violations
+
+# To allow all rules to be evaluated without checking any classes you can set the following property
+archRule.failOnEmptyShould = false
diff --git a/pom.xml b/pom.xml
index 3393da4..f2335b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,7 +52,7 @@ under the License.
 
         <junit5.version>5.9.1</junit5.version>
         <assertj.version>3.23.1</assertj.version>
-        <archunit.version>0.22.0</archunit.version>
+        <archunit.version>1.0.0</archunit.version>
         <testcontainers.version>1.17.2</testcontainers.version>
         <mockito.version>3.4.6</mockito.version>
         <hamcrest.version>1.3</hamcrest.version>


[flink-connector-rabbitmq] 04/06: [hotfix] Allow manual triggering of nightly builds

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-rabbitmq.git

commit c5ee71acffff968257f9ac30a75a0b49f8159dd5
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Mon Apr 3 14:21:47 2023 +0200

    [hotfix] Allow manual triggering of nightly builds
---
 .github/workflows/weekly.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index ce3fd41..89f5ec8 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -20,6 +20,7 @@ name: Nightly
 on:
   schedule:
     - cron: "0 0 * * 0"
+  workflow_dispatch:
 jobs:
   compile_and_test:
     if: github.repository_owner == 'apache'