Document the improvements to the developer panel

This commit is contained in:
Jim Blake 2014-06-11 17:50:47 -04:00
parent 66fbf81034
commit efcc677d96
2 changed files with 51 additions and 15 deletions

View file

@ -1,5 +1,6 @@
# #
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
#
# Runtime properties for developer mode. # Runtime properties for developer mode.
# #
# If the developer.properties file is present in your VIVO home directory, it # If the developer.properties file is present in your VIVO home directory, it
@ -21,39 +22,74 @@
# General options # General options
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# developer.enabled = true # developer.enabled = false
# developer.permitAnonymousControl # developer.permitAnonymousControl = false
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Freemarker # Freemarker
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# developer.insertFreemarkerDelimiters = true # developer.defeatFreemarkerCache = false
# developer.defeatFreemarkerCache = true # developer.insertFreemarkerDelimiters = false
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Page configuration # Page configuration
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# developer.pageContents.logCustomListView = true # developer.pageContents.logCustomListView = false
# developer.pageContents.logCustomShortView = true # developer.pageContents.logCustomShortView = false
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Internationalization # Internationalization
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# developer.i18n.defeatCache = true # developer.i18n.defeatCache = false
# developer.i18n.logStringRequests # developer.i18n.logStringRequests = false
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Logging SPARQL queries # Logging SPARQL queries
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# developer.loggingRDFService.enable = true # developer.loggingRDFService.enable = false
# developer.loggingRDFService.stackTrace = true # developer.loggingRDFService.stackTrace = false
# developer.loggingRDFService.queryRestriction = .* # developer.loggingRDFService.queryRestriction = .*
# developer.loggingRDFService.stackRestriction = .* # developer.loggingRDFService.stackRestriction = .*
#------------------------------------------------------------------------------
# Logging Search indexing
#------------------------------------------------------------------------------
# developer.searchIndex.enable = false
# developer.searchIndex.showDocuments = false
# developer.searchIndex.uriOrNameRestriction = .*
# developer.searchIndex.documentRestriction = .*
# developer.searchDeletions.enable = false
#------------------------------------------------------------------------------
# Logging Search queries
#------------------------------------------------------------------------------
# developer.searchEngine.enable = false
# developer.searchEngine.addStackTrace = false
# developer.searchEngine.addResults = false
# developer.searchEngine.queryRestriction = .*
# developer.searchEngine.stackRestriction = .*
#------------------------------------------------------------------------------
# Logging policy decisions (authorization)
#------------------------------------------------------------------------------
# developer.authorization.logDecisions.enable = false
# developer.authorization.logDecisions.addIdentifiers = false
# developer.authorization.logDecisions.skipInconclusive = false
# developer.authorization.logDecisions.actionRestriction = false
# developer.authorization.logDecisions.userRestriction = false
# developer.authorization.logDecisions.policyRestriction = false

View file

@ -97,8 +97,8 @@ public enum Key {
SEARCH_INDEX_SHOW_DOCUMENTS("developer.searchIndex.showDocuments", true), SEARCH_INDEX_SHOW_DOCUMENTS("developer.searchIndex.showDocuments", true),
/** /**
* Log indexing operations only if the document contents match this regular * Log indexing operations only if one of the document identifiers match
* expression. * this regular expression.
*/ */
SEARCH_INDEX_URI_OR_NAME_RESTRICTION( SEARCH_INDEX_URI_OR_NAME_RESTRICTION(
"developer.searchIndex.uriOrNameRestriction", false), "developer.searchIndex.uriOrNameRestriction", false),
@ -150,13 +150,13 @@ public enum Key {
"developer.authorization.logDecisions.enable", true), "developer.authorization.logDecisions.enable", true),
/** /**
* Enable the PolicyDecisionLogger. * When logging policy decisions, add the identifier bundle.
*/ */
AUTHORIZATION_LOG_DECISIONS_ADD_IDENTIFERS( AUTHORIZATION_LOG_DECISIONS_ADD_IDENTIFERS(
"developer.authorization.logDecisions.addIdentifiers", true), "developer.authorization.logDecisions.addIdentifiers", true),
/** /**
* Enable the PolicyDecisionLogger. * Don't log policy decisions if the decision is INCONCLUSIVE.
*/ */
AUTHORIZATION_LOG_DECISIONS_SKIP_INCONCLUSIVE( AUTHORIZATION_LOG_DECISIONS_SKIP_INCONCLUSIVE(
"developer.authorization.logDecisions.skipInconclusive", true), "developer.authorization.logDecisions.skipInconclusive", true),