Support Questions

Find answers, ask questions, and share your expertise

Minifi HandleHttpRequest/Response

avatar

Hi all,

I am currently using minifi 0.1.0 with HandleHttpRequest and HandleHttpResponse, and these two processors are declared as supported processors of this release (I would rather not use ListenHttp). I am able to declare the SSL Context Service within the yaml, but am unable to correctly declare the HTTP Context Map. How does the HTTP Context Map need to be declared in the template xml and/or yaml file in order to properly use the HandleHttpRequest/Response in minifi? Are controller services other than SSL Context Service supported in the yaml file, and if so how should they be formatted?

Thanks in advance, and please let me know if I can supply any more information to help in the solution.

1 ACCEPTED SOLUTION

avatar

Controller Services other than the SSL context are not supported in the 0.1.0 release. I added the functionality to the master branch a little bit ago[1] but there hasn't been a release for it yet. So your best bet is probably to use ListenHttp for now.

Where did you see HandleHttpRequest and Response listed as supported in 0.1.0? We should update it to reflect the lack of HttpContextMap support.

[1] https://issues.apache.org/jira/browse/MINIFI-154

View solution in original post

2 REPLIES 2

avatar

Controller Services other than the SSL context are not supported in the 0.1.0 release. I added the functionality to the master branch a little bit ago[1] but there hasn't been a release for it yet. So your best bet is probably to use ListenHttp for now.

Where did you see HandleHttpRequest and Response listed as supported in 0.1.0? We should update it to reflect the lack of HttpContextMap support.

[1] https://issues.apache.org/jira/browse/MINIFI-154

avatar

Thanks for the prompt answer, @jpercivall. I see HandleHttpRequest and Response listed in the supported processors out of the box for minifi (Section 4.2:

https://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.1.0/bk_dataflow-minifi-quick-start/content/ch_m...), and also listed as processors in the minifi logs on minifi startup. Do you have any idea when minifi with the controller services functionality will be released?