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 2021/05/22 06:53:30 UTC

[incubator-streampipes] branch dev updated (40dbfd4 -> 3a18374)

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

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


    from 40dbfd4  [STREAMPIPES-369] Improve reloading of widgets after updates
     new 18aa6e6  [STREAMPIPES-370] Remove widget type from DashboardItem
     new 3a18374  [STREAMPIPES-245] Avoid NullPointerException in production config

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/streampipes/model/dashboard/DashboardItem.java | 11 +----------
 .../manager/monitoring/pipeline/TopicInfoCollector.java       |  5 ++++-
 2 files changed, 5 insertions(+), 11 deletions(-)

[incubator-streampipes] 02/02: [STREAMPIPES-245] Avoid NullPointerException in production config

Posted by ri...@apache.org.
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

commit 3a18374427b1dcf2f366d62523800585b12283e3
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Sat May 22 08:42:04 2021 +0200

    [STREAMPIPES-245] Avoid NullPointerException in production config
---
 .../streampipes/manager/monitoring/pipeline/TopicInfoCollector.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/monitoring/pipeline/TopicInfoCollector.java b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/monitoring/pipeline/TopicInfoCollector.java
index a10582a..0e7378d 100644
--- a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/monitoring/pipeline/TopicInfoCollector.java
+++ b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/monitoring/pipeline/TopicInfoCollector.java
@@ -195,7 +195,10 @@ public class TopicInfoCollector {
 
   private String getBrokerUrl() {
     String env = System.getenv("SP_DEBUG");
-    if ("true".equals(env.replaceAll(" ", ""))) {
+    if (env != null) {
+      env = env.replaceAll(" ", "");
+    }
+    if ("true".equals(env)) {
       return "localhost:9094";
     } else {
       return BackendConfig.INSTANCE.getKafkaUrl();

[incubator-streampipes] 01/02: [STREAMPIPES-370] Remove widget type from DashboardItem

Posted by ri...@apache.org.
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

commit 18aa6e62ed2974f4b903b04fe8a269aa23352041
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Sat May 22 08:30:18 2021 +0200

    [STREAMPIPES-370] Remove widget type from DashboardItem
---
 .../org/apache/streampipes/model/dashboard/DashboardItem.java | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/streampipes-model/src/main/java/org/apache/streampipes/model/dashboard/DashboardItem.java b/streampipes-model/src/main/java/org/apache/streampipes/model/dashboard/DashboardItem.java
index aab3ce2..1de237b 100644
--- a/streampipes-model/src/main/java/org/apache/streampipes/model/dashboard/DashboardItem.java
+++ b/streampipes-model/src/main/java/org/apache/streampipes/model/dashboard/DashboardItem.java
@@ -24,7 +24,6 @@ public class DashboardItem {
   private String id;
   private String name;
   private String component;
-  //private String widgetType;
 
   private List<String> settings;
 
@@ -60,15 +59,7 @@ public class DashboardItem {
   public void setComponent(String component) {
     this.component = component;
   }
-
-//  public String getWidgetType() {
-//    return widgetType;
-//  }
-//
-//  public void setWidgetType(String widgetType) {
-//    this.widgetType = widgetType;
-//  }
-
+  
   public List<String> getSettings() {
     return settings;
   }