close

Filter

loading table of contents...

Deployment Manual / Version 2406.0

Table Of Contents

3.3.2 Persisted Query Properties

caas.persisted-queries.allow-list
Type java.lang.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 java.lang.String
Default classpath*:graphql/queries/apollo*.json
Description

Resource pattern for persisted queries in Apollo Persisted Queries format

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

Enable Apollo Automatic Persisted Queries

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

Resource pattern for persisted queries in Relay Compiler format

caas.persisted-queries.query-resources-pattern
Type java.lang.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 java.lang.String
Default graphql/queries/relay*.json
Description

Resource pattern for persisted queries in Relay Compiler format

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

En/disables the JSLT transformation processor on REST endpoints

caas.rest.jslt-transformations-pattern
Type java.lang.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 java.lang.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 java.util.List
Default  
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 java.util.List
Default  
Description

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

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