You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/01/10 21:38:24 UTC
[incubator-streampipes] 02/08: [hotfix] Add TreeInput to pipeline template visitor
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch STREAMPIPES-505
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 2e90b69eb3401e6747e5ad25147280bd75e640eb
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Fri Jan 7 23:39:03 2022 +0100
[hotfix] Add TreeInput to pipeline template visitor
---
.../streampipes/manager/template/PipelineElementTemplateVisitor.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/template/PipelineElementTemplateVisitor.java b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/template/PipelineElementTemplateVisitor.java
index 591bba2..5da9a2b 100644
--- a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/template/PipelineElementTemplateVisitor.java
+++ b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/template/PipelineElementTemplateVisitor.java
@@ -166,6 +166,11 @@ public class PipelineElementTemplateVisitor implements StaticPropertyVisitor {
}
}
+ @Override
+ public void visit(RuntimeResolvableTreeInputStaticProperty treeInputStaticProperty) {
+ // TODO support templates for tree input
+ }
+
private Object getValue(StaticProperty sp) {
return ((Map<String, Object>) configs.get(sp.getInternalName())).get("value");
}