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/10/02 08:56:26 UTC
[incubator-streampipes] 02/02: [STREAMPIPES-436] Fix bug in client
resolver
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch STREAMPIPES-426
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 6456656e0afbbdddb612a18da7f6ce44a677c47f
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Sat Oct 2 10:56:13 2021 +0200
[STREAMPIPES-436] Fix bug in client resolver
---
.../wrapper/utils/StreamPipesClientRuntimeConnectionResolver.java | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/streampipes-wrapper/src/main/java/org/apache/streampipes/wrapper/utils/StreamPipesClientRuntimeConnectionResolver.java b/streampipes-wrapper/src/main/java/org/apache/streampipes/wrapper/utils/StreamPipesClientRuntimeConnectionResolver.java
index 149df66..fc18e98 100644
--- a/streampipes-wrapper/src/main/java/org/apache/streampipes/wrapper/utils/StreamPipesClientRuntimeConnectionResolver.java
+++ b/streampipes-wrapper/src/main/java/org/apache/streampipes/wrapper/utils/StreamPipesClientRuntimeConnectionResolver.java
@@ -42,13 +42,7 @@ public class StreamPipesClientRuntimeConnectionResolver implements ClientConnect
@Override
public String getBaseUrl() {
- String endpoint = findClientServices().get(0);
- System.out.println(endpoint);
- return endpoint;
- }
-
- private String findClientService() {
- return findClientServices().get(0);
+ return findClientServices().size() > 0 ? findClientServices().get(0) : "";
}
private String getClientApiUser() {