You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/09/16 10:00:27 UTC
[incubator-streampipes-extensions] branch rel/0.67.0 updated: Fix
state processors
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch rel/0.67.0
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
The following commit(s) were added to refs/heads/rel/0.67.0 by this push:
new 7fdac0c Fix state processors
new 7b59e98 Merge branch 'rel/0.67.0' of github.com:apache/incubator-streampipes-extensions into rel/0.67.0
7fdac0c is described below
commit 7fdac0c33e80c2632b4aadc8e760f23c84cbd08d
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Wed Sep 16 11:59:42 2020 +0200
Fix state processors
---
.../java/org/apache/streampipes/pe/jvm/AllPipelineElementsInit.java | 2 ++
.../strings.en | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/streampipes-pipeline-elements-all-jvm/src/main/java/org/apache/streampipes/pe/jvm/AllPipelineElementsInit.java b/streampipes-pipeline-elements-all-jvm/src/main/java/org/apache/streampipes/pe/jvm/AllPipelineElementsInit.java
index a8d5306..bdcae89 100644
--- a/streampipes-pipeline-elements-all-jvm/src/main/java/org/apache/streampipes/pe/jvm/AllPipelineElementsInit.java
+++ b/streampipes-pipeline-elements-all-jvm/src/main/java/org/apache/streampipes/pe/jvm/AllPipelineElementsInit.java
@@ -72,6 +72,7 @@ import org.apache.streampipes.processors.transformation.jvm.processor.state.buff
import org.apache.streampipes.processors.transformation.jvm.processor.state.labeler.buffer.StateBufferLabelerController;
import org.apache.streampipes.processors.transformation.jvm.processor.state.labeler.number.NumberLabelerController;
import org.apache.streampipes.processors.transformation.jvm.processor.stringoperator.counter.StringCounterController;
+import org.apache.streampipes.processors.transformation.jvm.processor.stringoperator.state.StringToStateController;
import org.apache.streampipes.processors.transformation.jvm.processor.stringoperator.timer.StringTimerController;
import org.apache.streampipes.processors.transformation.jvm.processor.task.TaskDurationController;
import org.apache.streampipes.processors.transformation.jvm.processor.timestampextractor.TimestampExtractorController;
@@ -157,6 +158,7 @@ public class AllPipelineElementsInit extends StandaloneModelSubmitter {
.add(new BooleanTimerController())
.add(new StateBufferController())
.add(new StateBufferLabelerController())
+ .add(new StringToStateController())
.add(new SignalEdgeFilterController())
.add(new BooleanToStateController())
.add(new CsvMetadataEnrichmentController())
diff --git a/streampipes-processors-transformation-jvm/src/main/resources/org.apache.streampipes.processors.transformation.jvm.processor.booloperator.state/strings.en b/streampipes-processors-transformation-jvm/src/main/resources/org.apache.streampipes.processors.transformation.jvm.processor.booloperator.state/strings.en
index f95156d..a6b4cd3 100644
--- a/streampipes-processors-transformation-jvm/src/main/resources/org.apache.streampipes.processors.transformation.jvm.processor.booloperator.state/strings.en
+++ b/streampipes-processors-transformation-jvm/src/main/resources/org.apache.streampipes.processors.transformation.jvm.processor.booloperator.state/strings.en
@@ -10,5 +10,5 @@ collection-id.description=Test
default-state-id.title=Default State
default-state-id.description=Define a default state, when all values are false
-boolean_state.title=Current State
-boolean_state_field.description=
+boolean_state_field.title=Current State
+boolean_state_field.description=When value is true runtime name is added as state to resulting event