Andrew, That tradeoff is more art than science. Personally, I would go with adding them as optional properties.
Thanks -Mark ---------------------------------------- > Date: Fri, 5 Jun 2015 14:52:56 -0400 > From: [email protected] > To: [email protected] > Subject: Re: Controller Service vs Processor Properties > > I also just noticed this ticket that is related: > > https://issues.apache.org/jira/browse/NIFI-332 > > If the service is the way to go I can adapt that processor as well. > > On 06/05/2015 02:23 PM, Andrew Hulbert wrote: >> Hi, >> >> I was attempted to add web proxy support to the GetHttp and PostHttp >> processors. Do you think its best to add a ControllerService similar >> to the SSLContextService or just make two properties on each processor >> named "proxyHost" and "proxyPort" >> >> Here's the controller service version I was thinking about but it >> seems like overkill...not sure what the bar was for services. >> >> https://github.com/jahhulbert-ccri/incubator-nifi/tree/http_proxy >> >> It's also going to be super-fun to test proxy support. >> >> Thanks, >> >> Andrew >
