mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-31 12:52:13 +00:00
adds mid-tier config value for suggestion threshold value
This commit is contained in:
parent
62a43c0fa3
commit
00669afefb
@ -68,6 +68,8 @@ public class Application extends Controller {
|
||||
Play.application().configuration().getBoolean("linkedin.show.dataset.lineage", false);
|
||||
private static final Boolean WHZ_SHOW_DS_HEALTH =
|
||||
Play.application().configuration().getBoolean("linkedin.show.dataset.health", false);
|
||||
private static final Boolean WHZ_SUGGESTION_CONFIDENCE_THRESHOLD =
|
||||
Play.application().configuration().getString("linkedin.suggestion.confidence.threshold", "50");
|
||||
|
||||
private static final String WHZ_WIKI_LINKS__GDRP_PII =
|
||||
Play.application().configuration().getString("linkedin.links.wiki.gdprPii", "");
|
||||
@ -202,6 +204,7 @@ public class Application extends Controller {
|
||||
config.put("isInternal", IS_INTERNAL);
|
||||
config.put("shouldShowDatasetLineage", WHZ_SHOW_LINEAGE);
|
||||
config.put("shouldShowDatasetHealth", WHZ_SHOW_DS_HEALTH);
|
||||
config.put("suggestionConfidenceThreshold", Integer.parseInt(WHZ_SUGGESTION_CONFIDENCE_THRESHOLD));
|
||||
config.set("wikiLinks", wikiLinks());
|
||||
config.set("JitAclAccessWhitelist", Json.toJson(StringUtils.split(JIT_ACL_WHITELIST, ',')));
|
||||
config.set("tracking", trackingInfo());
|
||||
|
Loading…
x
Reference in New Issue
Block a user