Skip to content

Commit

Permalink
Merge pull request #1219 from pg-techno123/develop
Browse files Browse the repository at this point in the history
Develop
lsivanand authored Nov 30, 2023
2 parents 0a35c3c + 286e3fa commit 0390ec6
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -67,6 +67,7 @@ public class ConfigManager {
private static String S3_USER_KEY = "s3-user-key";
private static String S3_SECRET_KEY = "s3-user-secret";
private static String S3_ACCOUNT = "s3-account";
private static String S3_ACCOUNT_FOR_PERSONA_DATA = "s3-account-for-persona-data";
private static String PUSH_TO_S3 = "push-reports-to-s3";
private static String ENABLE_DEBUG = "enableDebug";
private static String THREAD_COUNT = "threadCount";
@@ -183,6 +184,7 @@ public class ConfigManager {
private static String s3Host;
private static String s3UserKey;
private static String s3Account;
private static String s3AccountForPersonaData;
private static String s3SecretKey;
private static String push_reports_to_s3;
private static String enableDebug;
@@ -291,6 +293,7 @@ public static void init() {
s3UserKey = getValueForKey(S3_USER_KEY);
s3SecretKey = getValueForKey(S3_SECRET_KEY);
s3Account = getValueForKey(S3_ACCOUNT);
s3AccountForPersonaData = getValueForKey(S3_ACCOUNT_FOR_PERSONA_DATA);
dbPort = getValueForKey(DB_PORT);
dbDomain = getValueForKey(DB_DOMAIN);
hibernateConnectionDriverClass = getValueForKey(HIBERNATE_CONNECTION_DRIVER_CLASS);
@@ -678,6 +681,10 @@ public static String getS3SecretKey() {
public static String getS3Account() {
return s3Account;
}

public static String getS3AccountForPersonaData() {
return s3AccountForPersonaData;
}

public static String getPushReportsToS3() {
return push_reports_to_s3;
Original file line number Diff line number Diff line change
@@ -203,6 +203,7 @@ s3-host=http://minio.minio:9000
s3-account=automation
s3-region=null
reportExpirationInDays=3
s3-account-for-persona-data=personaData
# supported values yes or no
push-reports-to-s3=yes
enableDebug=yes

0 comments on commit 0390ec6

Please sign in to comment.