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/11/09 18:10:50 UTC
[incubator-streampipes] branch dev updated: [hotfix] Modify env
variable names for auto installation
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 d53fee5 [hotfix] Modify env variable names for auto installation
d53fee5 is described below
commit d53fee588f484ce5b8497608e937758db994a4d6
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Tue Nov 9 19:10:40 2021 +0100
[hotfix] Modify env variable names for auto installation
---
.../src/main/java/org/apache/streampipes/commons/constants/Envs.java | 4 ++--
.../java/org/apache/streampipes/manager/setup/AutoInstallation.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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 7b1e24b..27f1bb6 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
@@ -26,8 +26,8 @@ public enum Envs {
SP_JWT_SECRET("JWT_SECRET"),
SP_INITIAL_ADMIN_EMAIL("SP_INITIAL_ADMIN_EMAIL"),
SP_INITIAL_ADMIN_PASSWORD("SP_INITIAL_ADMIN_PASSWORD"),
- SP_INITIAL_CLIENT_USER("SP_INITIAL_SERVICE_USER"),
- SP_INITIAL_CLIENT_SECRET("SP_INITIAL_CLIENT_SECRET"),
+ SP_INITIAL_SERVICE_USER("SP_INITIAL_SERVICE_USER"),
+ SP_INITIAL_SERVICE_USER_SECRET("SP_INITIAL_SERVICE_USER_SECRET"),
SP_SETUP_INSTALL_PIPELINE_ELEMENTS("SP_SETUP_INSTALL_PIPELINE_ELEMENTS"),
SP_CLIENT_USER("SP_CLIENT_USER"),
SP_CLIENT_SECRET("SP_CLIENT_SECRET"),
diff --git a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/AutoInstallation.java b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/AutoInstallation.java
index 92e93b7..dd0385f 100644
--- a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/AutoInstallation.java
+++ b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/AutoInstallation.java
@@ -72,14 +72,14 @@ public class AutoInstallation {
private String findServiceAccountSecret() {
return getStringOrDefault(
- Envs.SP_INITIAL_CLIENT_SECRET.getEnvVariableName(),
+ Envs.SP_INITIAL_SERVICE_USER_SECRET.getEnvVariableName(),
DefaultEnvValues.INITIAL_CLIENT_SECRET_DEFAULT
);
}
private String findServiceAccountName() {
return getStringOrDefault(
- Envs.SP_INITIAL_CLIENT_USER.getEnvVariableName(),
+ Envs.SP_INITIAL_SERVICE_USER.getEnvVariableName(),
DefaultEnvValues.INITIAL_CLIENT_USER_DEFAULT
);
}