William H. created NIFI-4229:
--------------------------------
Summary: HandleHTTPRequest: store capture groups in regex as
properties
Key: NIFI-4229
URL: https://issues.apache.org/jira/browse/NIFI-4229
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 1.3.0
Reporter: William H.
Priority: Minor
It would be great to store capture groups specified in the regex of the
"Allowed paths" property of the HandleHTTPRequest processor.
It could allow to easily create a REST API, as we could specify some parameters
in the URL that would be automatically parsed.
Ex :
{noformat}
^\/device\/([-\w\d]+)\/data$
{noformat}
Would accept the URL {noformat}http://localhost/device/01/data{noformat} and
automatically create the attribute {noformat}http.request.params.1 =
"01"{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)