From 9df39f13b350bbd8a10bf1784b75bd2cbef66b35 Mon Sep 17 00:00:00 2001 From: Remco Westerhoud Date: Wed, 16 Feb 2022 09:35:02 +0100 Subject: [PATCH 1/2] ci: create filters module A new module "filters" has been introduced. This module will be responsible for filtering the record stream to find specific records. It has been extracted because this is a shared functionality, regardless of where the record stream comes from. In the future this might move to Zeebe as we have a similar functionality in that project which we could reuse. --- assertions/pom.xml | 5 +++++ filters/pom.xml | 35 +++++++++++++++++++++++++++++++++++ pom.xml | 7 +++++++ 3 files changed, 47 insertions(+) create mode 100644 filters/pom.xml diff --git a/assertions/pom.xml b/assertions/pom.xml index ac969dca..8234f9e5 100644 --- a/assertions/pom.xml +++ b/assertions/pom.xml @@ -31,6 +31,11 @@ 1.3.4-SNAPSHOT + + io.camunda + zeebe-process-test-filters + + org.assertj assertj-core diff --git a/filters/pom.xml b/filters/pom.xml new file mode 100644 index 00000000..de86ffd9 --- /dev/null +++ b/filters/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + io.camunda + zeebe-process-test-root + 1.3.4-SNAPSHOT + ../pom.xml + + + zeebe-process-test-filters + 1.3.4-SNAPSHOT + + Zeebe Process Test Filters + + + 8 + + + + + io.camunda + zeebe-process-test-api + + + + io.camunda + zeebe-protocol + + + + diff --git a/pom.xml b/pom.xml index c7984c17..41fe2b53 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,7 @@ engine engine-agent extension + filters qa @@ -95,6 +96,12 @@ 1.3.4-SNAPSHOT + + io.camunda + zeebe-process-test-filters + 1.3.4-SNAPSHOT + + org.junit junit-bom From 6226444f789e07418b48e3f12eb778175db8b314 Mon Sep 17 00:00:00 2001 From: Remco Westerhoud Date: Wed, 16 Feb 2022 09:35:31 +0100 Subject: [PATCH 2/2] ci: move filters to filters module Moved all filters to the filters module. No code changes have been made. --- .../zeebe/process/test/filters/IncidentRecordStreamFilter.java | 0 .../camunda/zeebe/process/test/filters/JobRecordStreamFilter.java | 0 .../zeebe/process/test/filters/MessageRecordStreamFilter.java | 0 .../test/filters/MessageStartEventSubscriptionStreamFilter.java | 0 .../process/test/filters/ProcessEventRecordStreamFilter.java | 0 .../process/test/filters/ProcessInstanceRecordStreamFilter.java | 0 .../filters/ProcessMessageSubscriptionRecordStreamFilter.java | 0 .../java/io/camunda/zeebe/process/test/filters/StreamFilter.java | 0 .../zeebe/process/test/filters/TimerRecordStreamFilter.java | 0 .../zeebe/process/test/filters/VariableRecordStreamFilter.java | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/IncidentRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/JobRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/MessageRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/MessageStartEventSubscriptionStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/ProcessEventRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/ProcessInstanceRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/ProcessMessageSubscriptionRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/StreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/TimerRecordStreamFilter.java (100%) rename {assertions => filters}/src/main/java/io/camunda/zeebe/process/test/filters/VariableRecordStreamFilter.java (100%) diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/IncidentRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/IncidentRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/IncidentRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/IncidentRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/JobRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/JobRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/JobRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/JobRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/MessageRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/MessageRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/MessageRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/MessageRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/MessageStartEventSubscriptionStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/MessageStartEventSubscriptionStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/MessageStartEventSubscriptionStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/MessageStartEventSubscriptionStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessEventRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessEventRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessEventRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessEventRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessInstanceRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessInstanceRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessInstanceRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessInstanceRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessMessageSubscriptionRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessMessageSubscriptionRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/ProcessMessageSubscriptionRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/ProcessMessageSubscriptionRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/StreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/StreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/StreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/StreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/TimerRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/TimerRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/TimerRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/TimerRecordStreamFilter.java diff --git a/assertions/src/main/java/io/camunda/zeebe/process/test/filters/VariableRecordStreamFilter.java b/filters/src/main/java/io/camunda/zeebe/process/test/filters/VariableRecordStreamFilter.java similarity index 100% rename from assertions/src/main/java/io/camunda/zeebe/process/test/filters/VariableRecordStreamFilter.java rename to filters/src/main/java/io/camunda/zeebe/process/test/filters/VariableRecordStreamFilter.java