close

Filter

loading table of contents...

Deployment Manual / Version 2107

Table Of Contents

4.3.1 Headless Server Spring Boot Properties

caas.graphql.max-execution-timeout
Type java.time.Duration
Default  
Description

Limits the allowed execution time for a query, set in milliseconds. 0 = no timeout.

caas.graphql.max-query-complexity
Type java.lang.Integer
Default 0
Description

Limits the complexity of a graphql query if set to a value greater than 0. 0 = off.

caas.graphql.max-query-depth
Type java.lang.Integer
Default 30
Description

Limits the depth of a graphql query if set to a value greater than 0. 0 = off.

caas.graphql.max-search-limit
Type java.lang.Integer
Default 200
Description

Limit the count of search results hits. Defaults to 200.

caas.graphql.repository-path-exclude-patterns
Type java.util.List<java.lang.String>
Default [/Settings/Options/Settings/Internal/**, /Sites/**/Options/Settings/Internal/**, /Settings/Options/Settings/Feedback Hub, /Sites/**/Options/Settings/Feedback Hub, /Settings/Options/Settings/Content Hub, /Sites/**/Options/Settings/Content Hub, /Settings/Options/Settings/GlobalLink, /Settings/Options/Settings/Translation Services, /Sites/**/Options/Settings/Translation Services, /Settings/Options/Settings/Elastic Social Credentials]
Description

Repository paths excluded from retrieval via GraphQL endpoint. The paths may contain glob style expressions. Note, that the document name must be part of the path, if you do not use glob style expressions and want to protect a distinct document.

Examples:

   caas.graphql.repository-path-exclude-patterns[0]=/A/B/C/D   caas.graphql.repository-path-exclude-patterns[1]=/A/*/C/*   caas.graphql.repository-path-exclude-patterns[2]=/A/B/**   caas.graphql.repository-path-exclude-patterns[3]=/A/**/C/* 
caas.search.cache.seconds
Type java.lang.Integer
Default -1
Description

Time to cache search query results in seconds. Set it to "-1" to deactivate the search-query cache.

caas.stax.context-trace-enabled
Type java.lang.Boolean
Default false
Description

When 'true', wraps ContextHandlers and OutputHandlers while parsing in order to tracelog all parsing events. This is for debugging purposes only. Defaults to false. Additionally this requires the loglevel for 'com.coremedia.caas.richtext.stax.handler.output' to be set to trace level: logging.level.com.coremedia.caas.richtext.stax.handler.output = trace

caas.stax.max-aliases-for-collections
Type java.lang.Integer
Default 50
Description

Configures the maximum number of allowed yaml aliases used by snakeyaml instances while parsing rich text configurations. Defaults to 50.

caas.stax.suppress-root-tag
Type java.lang.Boolean
Default false
Description

When 'true', the root tag in the string result of a rich text transformation is suppressed. Defaults to false.

caas.cache-specs
Type java.util.Map<java.lang.String,java.lang.String>
Default  
Description

(Caffeine Cache) configuration: Cache specs by cache name.

Size based eviction:

  • maximumSize=[long] - eviction occurs when the configured size limit of the cache is exceeded

  • maximumWeight=[long] - The values are removed from the cache when the weight is exceeded

Time based eviction:

  • expireAfterWrite = entry is expired after period is passed since the last write occurs

  • expireAfterAccess = entry is expired after period is passed since the last read or write occurs

  • refreshAfterWrite = refresh entries after a defined period automatically

Durations are represented by an integer, followed by one of "d", "h", "m", or "s", representing days, hours, minutes, or seconds respectively.

caas.forward-cookies
Type java.lang.Boolean
Default false
Description

Enables http cookie forwarding of incoming requests on endpoint 'graphql' and for persisted queries on '/caas/v1/*' towards outgoing, secondary requests to 'graphql' (triggered by '/preview') and cae remote link resolving.

caas.forward-header-names
Type java.util.List<java.lang.String>
Default  
Description

Comaseparated enumeration of http headernames to be forwarded for incoming requests on endpoint 'graphql' and for persisted queries on '/caas/v1/*' towards outgoing, secondary requests to 'graphql' (triggered by /preview) and cae remote link resolving.

caas.graphql-restmapping-controller.enabled
Type java.lang.Boolean
Default true
Description

En-/disable REST mapping controller. Enabled by default (true).

caas.log-requests
Type java.lang.Boolean
Default false
Description

Enables logging for HTTP requests (excluding OPTIONS)

caas.media-cache-time
Type java.time.Duration
Default 365d
Description

Maximum cache time to set in the com.coremedia.caas.web.controller.MediaController responses via the Cache-Control max-age header.

caas.media-controller-disable-validation
Type java.lang.Boolean
Default false
Description

Flag to disable the parameter validation of the

com.coremedia.caas.web.controller.MediaController

. For security reasons this flag defaults to 'false' (=the validation takes place).

If set to 'true' for backward compatibility reasons, be aware, that any request url with a correct content id will deliver response with the requested blob, no matter which hash or filename was provided on request. This poses a potential threat for DoS attacks.

caas.media-no-transform
Type java.lang.Boolean
Default true
Description

Flag to set no-transform value for Cache-Control header in the Media Controller responses

caas.preview
Type java.lang.Boolean
Default false
Description

Enables preview mode

caas.querylist-search-cache-for-seconds
Type java.lang.Integer
Default 0
Description

Time to cache query list search results in seconds. Set it to "-1" to deactivate the query list cache.

caas.rest.jslt-enabled
Type java.lang.Boolean
Default true
Description

En/disables the JSLT transformation processor on REST endpoints

caas.rest.num-threads
Type java.lang.Integer
Default 5
Description

Number of threads for the thread pool of the request executor

caas.site-filter-config-properties.excluded-field-names
Type java.util.Collection<java.lang.String>
Default [localizedVariant, localizedVariants, derivedSites]
Description

Fields to be excluded from site restrictions check.

To disable all fields (thus prohibiting all objects not belonging to the filtered site), add the config property without any field names (=empty list).

Adding additional fields requires to add the defaults as mentioned above to the config property! Defaults to "localizedVariant", "localizedVariants" and "derivedSites".

caas.solr.collection
Type java.lang.String
Default preview
Description

Solr collection to use for CaaS Search

caas.strict-transport-security-header.include-subdomains
Type java.lang.Boolean
Default true
Description

If true, adds the 'includeSubdomains' flag to the Strict-Transport-Security HTTP response header.

caas.strict-transport-security-header.max-age
Type java.lang.Integer
Default 63072000
Description

Max-Age of the Strict-Transport-Security HTTP response header in seconds, e.g. max-age=63072000.

caas.strict-transport-security-header.preload
Type java.lang.Boolean
Default false
Description

If true, adds the 'preload' flag to the Strict-Transport-Security HTTP response header.

caas.swagger.enabled
Type java.lang.Boolean
Default false
Description

Enables Swagger.

Table 4.14. Headless Server Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.