close

Filter

loading table of contents...

Deployment Manual / Version 2101

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.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.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-rest.jslt-enabled
Type java.lang.Boolean
Default true
Description

En/disables the JSLT transformation processor on REST endpoints

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 7d
Description

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

caas.metadata.property-mapping-location
Type java.lang.String
Default classpath*:graphql/metadata/propertyMapping.json
Description

Location of the property mapping file

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.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.