Files
gls_docs/src/main/resources/queryrest.properties
Fabian Märki d50425082a ATEST-311
2016-03-08 18:05:09 +01:00

14 lines
837 B
Properties

# defines the fields that are included in the response
# if no fields have been specified by the user
queryrest.default.response.fields=channel,pulseId,globalSeconds,shape,eventCount,value
# aggregation which are included in the response by default if aggregation is enabled for a given query
queryrest.default.response.aggregations=min,mean,max
# enables / disables the CORS servlet filter. Adds multiple CORS headers to the response
queryrest.cors.enable=true
# includes the CORS headers no matter what request or preflight was sent. If an Origin header is set, this header will be used.
# If no Origin header is set, '*' will be used.
queryrest.cors.forceallheaders=true
# defines the allowed origins for CORS requests. Only relevant if queryrest.enableCORS==true (see above).
queryrest.cors.allowedorigins=http://localhost:8080, *