Joe,

There is no extension point for loading REST API mappings. However, we have
added a filter for doing this to support the upcoming NiFi 1.0.0 where the
site to site endpoint will be updated. This PR [1] shows the filter, how
it's wired up, and how it's tested. Thanks.

Matt

[1] https://github.com/apache/nifi/pull/422/files

On Tue, May 31, 2016 at 2:43 PM, Joe Skora <[email protected]> wrote:

> I have a legacy system that makes requests against the NiFi API, but some
> requests don't come in quite right.  In lieu of changing the legacy system,
> it would be great if I can create a Jetty request filter that 1) corrects
> the URL path and 2) changes or removes some header values.
>
> First, can this be done?  It looks like it, but I haven't found any
> examples that do the specific changes I need.
>
> Second, if possible, how does this filter need to be wired into the NiFi
> web application?  It would be ideal if this filter could be packaged in a
> Nar and deployed, but if that's not possible how does it need to be wired
> into the web-app filter chain?
>
> Any help is greatly appreciated.
>
> Regards,
> JoeS
>

Reply via email to