This is an automated email from the ASF dual-hosted git repository. bossenti pushed a commit to branch abstract-data-explorer-from-influx in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 0c7965ec3d777af7cb40ff8434c05fbbd1bb6174 Author: bossenti <[email protected]> AuthorDate: Tue Apr 30 11:19:39 2024 +0200 refactor: introduce new env variable to determine time series storage --- .../src/main/java/org/apache/streampipes/commons/constants/Envs.java | 1 + .../java/org/apache/streampipes/commons/environment/Environment.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java index 4c58485e27..a0ea079eab 100644 --- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java +++ b/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java @@ -54,6 +54,7 @@ public enum Envs { // Time Series Storage + SP_TS_STORAGE("SP_TS_STORAGE", "influxDB"), SP_TS_STORAGE_PROTOCOL("SP_TS_STORAGE_PROTOCOL", "http"), SP_TS_STORAGE_HOST("SP_TS_STORAGE_HOST", "influxdb", DefaultEnvValues.LOCALHOST), SP_TS_STORAGE_PORT("SP_TS_STORAGE_PORT", "8086"), diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/environment/Environment.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/environment/Environment.java index 092e6992d6..fbbb2e8dda 100644 --- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/environment/Environment.java +++ b/streampipes-commons/src/main/java/org/apache/streampipes/commons/environment/Environment.java @@ -38,6 +38,8 @@ public interface Environment { // Time series storage env variables + StringEnvironmentVariable getTsStorage(); + StringEnvironmentVariable getTsStorageProtocol(); StringEnvironmentVariable getTsStorageHost();
