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.
#
# If the developer.properties file is present in your VIVO home directory, it
@ -21,39 +22,74 @@
# General options
#------------------------------------------------------------------------------
# developer.enabled = true
# developer.permitAnonymousControl
# developer.enabled = false
# developer.permitAnonymousControl = false
#------------------------------------------------------------------------------
# Freemarker
#------------------------------------------------------------------------------
# developer.insertFreemarkerDelimiters = true
# developer.defeatFreemarkerCache = true
# developer.defeatFreemarkerCache = false
# developer.insertFreemarkerDelimiters = false
#------------------------------------------------------------------------------
# Page configuration
#------------------------------------------------------------------------------
# developer.pageContents.logCustomListView = true
# developer.pageContents.logCustomShortView = true
# developer.pageContents.logCustomListView = false
# developer.pageContents.logCustomShortView = false
#------------------------------------------------------------------------------
# Internationalization
#------------------------------------------------------------------------------
# developer.i18n.defeatCache = true
# developer.i18n.logStringRequests
# developer.i18n.defeatCache = false
# developer.i18n.logStringRequests = false
#------------------------------------------------------------------------------
# Logging SPARQL queries
#------------------------------------------------------------------------------
# developer.loggingRDFService.enable = true
# developer.loggingRDFService.stackTrace = true
# developer.loggingRDFService.enable = false
# developer.loggingRDFService.stackTrace = false
# developer.loggingRDFService.queryRestriction = .*
# 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),
/**
* Log indexing operations only if the document contents match this regular
* expression.
* Log indexing operations only if one of the document identifiers match
* this regular expression.
*/
SEARCH_INDEX_URI_OR_NAME_RESTRICTION(
"developer.searchIndex.uriOrNameRestriction", false),
@ -150,13 +150,13 @@ public enum Key {
"developer.authorization.logDecisions.enable", true),
/**
* Enable the PolicyDecisionLogger.
* When logging policy decisions, add the identifier bundle.
*/
AUTHORIZATION_LOG_DECISIONS_ADD_IDENTIFERS(
"developer.authorization.logDecisions.addIdentifiers", true),
/**
* Enable the PolicyDecisionLogger.
* Don't log policy decisions if the decision is INCONCLUSIVE.
*/
AUTHORIZATION_LOG_DECISIONS_SKIP_INCONCLUSIVE(
"developer.authorization.logDecisions.skipInconclusive", true),