cleaning up whitelist properties files

This commit is contained in:
Soby Chacko
2020-05-12 14:38:43 -04:00
parent 78d4ba6a00
commit a4c0592aa9
11 changed files with 34 additions and 7 deletions

View File

@@ -20,6 +20,11 @@ If content type does not match `text/*` or `application/json`
The **$$http$$** $$source$$ supports the following configuration properties:
//tag::configuration-properties[]
$$http.cors.allow-credentials$$:: $$Whether the browser should include any cookies associated with the domain of the request being annotated.$$ *($$Boolean$$, default: `$$<none>$$`)*
$$http.cors.allowed-headers$$:: $$List of request headers that can be used during the actual request.$$ *($$String[]$$, default: `$$<none>$$`)*
$$http.cors.allowed-origins$$:: $$List of allowed origins, e.g. "https://domain1.com".$$ *($$String[]$$, default: `$$<none>$$`)*
$$http.mapped-request-headers$$:: $$Headers that will be mapped.$$ *($$String[]$$, default: `$$<none>$$`)*
$$http.path-pattern$$:: $$HTTP endpoint path mapping.$$ *($$String$$, default: `$$/$$`)*
$$server.port$$:: $$Server HTTP port.$$ *($$Integer$$, default: `$$8080$$`)*
//end::configuration-properties[]

View File

@@ -1,3 +1,3 @@
configuration-properties.classes=HttpSourceProperties,\
HttpSourceProperties$Cors
configuration-properties.classes=org.springframework.cloud.fn.supplier.http.HttpSourceProperties,\
org.springframework.cloud.fn.supplier.http.HttpSourceProperties$Cors
configuration-properties.names=server.port