You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/08/27 20:22:52 UTC

[incubator-streampipes-extensions] branch dev updated: Remove nginx host from sinks internal jvm container

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 f047eb8  Remove nginx host from sinks internal jvm container
f047eb8 is described below

commit f047eb86589735b83540d145bfe5fb3bd2469d5d
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Thu Aug 27 22:22:15 2020 +0200

    Remove nginx host from sinks internal jvm container
---
 .../streampipes/sinks/internal/jvm/config/ConfigKeys.java    |  2 --
 .../sinks/internal/jvm/config/SinksInternalJvmConfig.java    | 12 ------------
 2 files changed, 14 deletions(-)

diff --git a/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/ConfigKeys.java b/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/ConfigKeys.java
index 7396ae5..fba1b64 100644
--- a/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/ConfigKeys.java
+++ b/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/ConfigKeys.java
@@ -25,8 +25,6 @@ public class ConfigKeys {
     final static String COUCHDB_PORT = "SP_COCHDB_PORT";
     final static String JMS_HOST = "SP_JMS_HOST";
     final static String JMS_PORT = "SP_JMS_PORT";
-    final static String NGINX_HOST = "SP_NGINX_HOST";
-    final static String NGINX_PORT = "SP_NGINX_PORT";
     final static String DATA_LAKE_HOST = "SP_DATA_LAKE_HOST";
     final static String DATA_LAKE_PROTOCOL = "SP_DATA_LAKE_PROTOCOL";
     final static String DATA_LAKE_PORT = "SP_DATA_LAKE_PORT";
diff --git a/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/SinksInternalJvmConfig.java b/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/SinksInternalJvmConfig.java
index c3f41ec..d2a6668 100644
--- a/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/SinksInternalJvmConfig.java
+++ b/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/config/SinksInternalJvmConfig.java
@@ -39,9 +39,6 @@ public enum SinksInternalJvmConfig implements PeConfig {
 		config.register(ConfigKeys.HOST, service_container_name, "Hostname for the pe esper");
 		config.register(ConfigKeys.PORT, 8090, "Port for the pe esper");
 
-		config.register(ConfigKeys.NGINX_HOST, System.getenv("STREAMPIPES_HOST"), "External hostname of " +
-						"StreamPipes Nginx");
-		config.register(ConfigKeys.NGINX_PORT, 80, "External port of StreamPipes Nginx");
 		config.register(ConfigKeys.COUCHDB_HOST, "couchdb", "Host for couchdb of the pe sinks project");
 		config.register(ConfigKeys.COUCHDB_PORT, 5984, "Port for couchdb of the pe sinks project");
 		config.register(ConfigKeys.JMS_HOST, "activemq", "Hostname for pe actions service for active mq");
@@ -95,15 +92,6 @@ public enum SinksInternalJvmConfig implements PeConfig {
 		return getJmsHost() + ":" + getJmsPort();
 	}
 
-	public String getNginxHost() {
-		return config.getString(ConfigKeys.NGINX_HOST);
-	}
-
-	public Integer getNginxPort() {
-	    
-		return config.getInteger(ConfigKeys.NGINX_PORT);
-	}
-
 	public String getDataLakeHost() {
 		return config.getString(ConfigKeys.DATA_LAKE_HOST);
 	}