This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
The following commit(s) were added to refs/heads/dev by this push:
new 179d596 Fix state processors
179d596 is described below
commit 179d596a28d5cabad4e2e76e730b0fa0afa943a4
Author: Philipp Zehnder <[email protected]>
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