close

Filter

loading table of contents...

Deployment Manual / Version 2406.1

Table Of Contents

3.3.2 Persisted Query Properties

caas.persisted-queries.allow-list
Type Boolean
Default false
Description

Query allow listing. Set this to true to disallow any queries not loaded by some of the persisted queries pattern above.

caas.persisted-queries.apollo-query-map-resources-pattern
Type String
Default classpath*:graphql/queries/apollo*.json
Description

Resource pattern for persisted queries in Apollo Persisted Queries format

caas.persisted-queries.automatic
Type Boolean
Default true
Description

Enable Apollo Automatic Persisted Queries

caas.persisted-queries.exclude-file-name-pattern
Type String
Default .*Fragment(s)?.graphql
Description

Resource pattern for persisted queries in Relay Compiler format

caas.persisted-queries.query-resources-pattern
Type String
Default classpath*:graphql/queries/*.graphql
Description

Resource pattern for persisted queries, one query per resource file. The filename w/o extension serves as the query id. See also: Spring PathMatchingResourcePatternResolver class.

caas.persisted-queries.relay-query-map-resources-pattern
Type String
Default graphql/queries/relay*.json
Description

Resource pattern for persisted queries in Relay Compiler format

caas.persisted-queries.whitelist
Deprecation

This property has been deprecated and will be removed in a future version.

Use caas.persisted-queries.allow-list instead.

Reason:

Renamed property name to a political correct name.

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

En/disables the JSLT transformation processor on REST endpoints

caas.rest.jslt-transformations-pattern
Type String
Default classpath*:transformations/*.jslt
Description

Returns the path pattern where to find the jslt transformation resources within headless.

caas.rest.query-mapping-pattern
Type String
Default classpath*:graphql/rest-mapping/*.properties
Description

Returns the path pattern where to find rest mapping resources within headless.

com.coremedia.caas.web.persistedqueries.impl.PersistedQueryAutoConfiguration
Type List
Description

To disable the feature 'persisted-queries' add the class 'com.coremedia.caas.web.persistedqueries.impl.PersistedQueryAutoConfiguration' to 'spring.autoconfigure.exclude'.

com.coremedia.caas.web.rest.RestMappingAutoConfiguration
Type List
Description

To disable the feature 'persisted-query-rest-mapping' add the class 'com.coremedia.caas.web.rest.RestMappingAutoConfiguration' to 'spring.autoconfigure.exclude'.

Table 3.14. Persisted Query Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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