GH-713 Add support for default function for HTTP

Resolves #713
This commit is contained in:
Oleg Zhurakousky
2021-07-14 14:46:21 +02:00
parent 6ae466b99e
commit ff7741ea74
9 changed files with 59 additions and 23 deletions

View File

@@ -604,6 +604,11 @@ For example,
The above property will compose 'foo' and 'bar' function and map the composed function to the "/" path.
The same property will also work for cases where function can not be resolved via URL. For example, your URL may be `localhost:8080/uppercase`, but there is no `uppercase` function.
However there are function `foo` and `bar`. So, in this case `localhost:8080/uppercase` will resolve to `foo|bar`.
This could be useful especially for cases when URL is used to communicate certain information since there will be Message header called `uri` with the value
of the actual URL, giving user ability to use it for evaluation and computation.
=== Function Filtering rules
In situations where there are more then one function in catalog there may be a need to only export certain functions or function compositions. In that case you can use