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/02/21 08:37:47 UTC

[incubator-streampipes] branch dev updated: [hotfix] Properly instantiate view function

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

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 3a88bfd  [hotfix] Properly instantiate view function
3a88bfd is described below

commit 3a88bfdb2b4e73681494fe7675a2f833351712bb
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Mon Feb 21 09:37:39 2022 +0100

    [hotfix] Properly instantiate view function
---
 .../org/apache/streampipes/manager/setup/CouchDbInstallationStep.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/CouchDbInstallationStep.java b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/CouchDbInstallationStep.java
index c0cce5c..6a2abd3 100644
--- a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/CouchDbInstallationStep.java
+++ b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/CouchDbInstallationStep.java
@@ -163,6 +163,7 @@ public class CouchDbInstallationStep extends InstallationStep {
             "}");
     views.put("all", allPipelinesFunction);
     allPipelinesDocument.setViews(views);
+    Utils.getCouchDbPipelineClient().design().synchronizeWithDb(allPipelinesDocument);
   }
 
   private void addUserView() {