I have a NiFi StandardSSLContextService that gives me a custom SSLContext. Now I'm wondering, how to use this in an Groovy (via ExecuteScriptProcessor) httpconnection. I have limited access to the machine, so I can't really install libraries, and have to use, what Nifi and Groovy provide (which should suffice, I hope).
I found no documentation on Groovy's HttpBuilder on http://groovy-lang.org (er...?).
all documentation I found elsewhere seemed pretty bulky (many posts from 2009, 20 lines or more for a simple https connect - I'd have thought, that this has become easier in the last 10 years, especially in groovy).
I'm not sure how to use the HTTPBuilder-ng, since it's documentation does not say, how to use a custom ssl context (not really, the part seems to have been editedt, and something went missing, or I'm mentally stuck in a hole; and I proably can't use it anyways, since I'd have to install it, right?).
So. What, how? This can't be difficult, if I have an sslcontext, I'd expect it to be a one-liner...
Thanks for any help on this!