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 2020/05/05 20:43:06 UTC

[incubator-streampipes] branch dev updated: [STREAMPIPES-117] Use environment variables instead of env file

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 fd44a52  [STREAMPIPES-117] Use environment variables instead of env file
fd44a52 is described below

commit fd44a525d7838d61925c6e55a69ecb2feab74b46
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Tue May 5 22:42:49 2020 +0200

    [STREAMPIPES-117] Use environment variables instead of env file
---
 .../Apache_StreamPipes___Connect_Master.xml           |  6 ++++++
 .idea/runConfigurations/Apache_StreamPipes___Core.xml | 19 ++++++++-----------
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/.idea/runConfigurations/Apache_StreamPipes___Connect_Master.xml b/.idea/runConfigurations/Apache_StreamPipes___Connect_Master.xml
index b7fca95..f053ace 100644
--- a/.idea/runConfigurations/Apache_StreamPipes___Connect_Master.xml
+++ b/.idea/runConfigurations/Apache_StreamPipes___Connect_Master.xml
@@ -1,5 +1,11 @@
 <component name="ProjectRunConfigurationManager">
   <configuration default="false" name="Apache StreamPipes - Connect Master" type="Application" factoryName="Application">
+    <envs>
+      <env name="SP_BACKEND_HOST" value="localhost" />
+      <env name="SP_KAFKA_HOST" value="localhost" />
+      <env name="SP_CONNECT_CONTAINER_HOST" value="localhost" />
+      <env name="SP_COUCHDB_HOST" value="localhost" />
+    </envs>
     <option name="MAIN_CLASS_NAME" value="org.apache.streampipes.connect.container.master.init.AdapterMasterContainer" />
     <module name="streampipes-connect-container-master" />
     <extension name="net.ashald.envfile">
diff --git a/.idea/runConfigurations/Apache_StreamPipes___Core.xml b/.idea/runConfigurations/Apache_StreamPipes___Core.xml
index 5b118f9..aa91de0 100644
--- a/.idea/runConfigurations/Apache_StreamPipes___Core.xml
+++ b/.idea/runConfigurations/Apache_StreamPipes___Core.xml
@@ -1,18 +1,15 @@
 <component name="ProjectRunConfigurationManager">
   <configuration default="false" name="Apache StreamPipes - Core" type="Application" factoryName="Application">
+    <envs>
+      <env name="SP_COUCHDB_HOST" value="localhost" />
+      <env name="SP_BACKEND_HOST" value="localhost" />
+      <env name="SP_INFLUX_HOST" value="localhost" />
+      <env name="SP_INFLUX_PORT" value="8086" />
+      <env name="SP_JMS_HOST" value="localhost" />
+      <env name="SP_DEBUG" value="true" />
+    </envs>
     <option name="MAIN_CLASS_NAME" value="org.apache.streampipes.backend.StreamPipesBackendApplication" />
     <module name="streampipes-backend" />
-    <extension name="net.ashald.envfile">
-      <option name="IS_ENABLED" value="true" />
-      <option name="IS_SUBST" value="false" />
-      <option name="IS_PATH_MACRO_SUPPORTED" value="false" />
-      <option name="IS_IGNORE_MISSING_FILES" value="false" />
-      <option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
-      <ENTRIES>
-        <ENTRY IS_ENABLED="true" PARSER="runconfig" />
-        <ENTRY IS_ENABLED="true" PARSER="env" PATH="streampipes-backend/development/env" />
-      </ENTRIES>
-    </extension>
     <method v="2">
       <option name="Make" enabled="true" />
     </method>