commit | 7e42e6285cb4b605dc4d00c98604586b36d756ac | [log] [tgz] |
---|---|---|
author | Murtadha Hubail <mhubail@apache.org> | Tue May 28 05:29:36 2019 +0300 |
committer | Murtadha Hubail <mhubail@apache.org> | Wed May 29 16:36:21 2019 +0000 |
tree | 9326cc0235e5649443935a86ac413cc132e0e961 | |
parent | 0d94955228623e88894e0119a5496599720ed080 [diff] |
[NO ISSUE][CONF] Mark KeyStore Pass As Hidden Config - user model changes: no - storage format changes: no - interface changes: no Details: - Mark KeyStore pass as a hidden config to avoid displaying the password on APIs that use the hidden flag to certain config. Change-Id: I1c27c3b229ca7d8dd44717c21cd096f0090a7278 Reviewed-on: https://asterix-gerrit.ics.uci.edu/3413 Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/CCConfig.java b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/CCConfig.java index a38ee65..4f35aca 100644 --- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/CCConfig.java +++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/CCConfig.java
@@ -211,6 +211,11 @@ public String usageDefaultOverride(IApplicationConfig accessor, Function<IOption, String> optionPrinter) { return defaultValueDescription; } + + @Override + public boolean hidden() { + return this == KEY_STORE_PASSWORD; + } } private List<String> appArgs = new ArrayList<>();
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java index dd92798..e947d7a 100644 --- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java +++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
@@ -247,6 +247,10 @@ return defaultValueDescription; } + @Override + public boolean hidden() { + return this == KEY_STORE_PASSWORD; + } } public String getReplicationPublicAddress() {