Invoke HTTP different usage of SSLContext ControllerService

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Invoke HTTP different usage of SSLContext ControllerService

Dan Bress
Mark,

   Any Reason InvokeHTTP is not having its usage of an SSLContextService [1] validated the same way other processors are [2] [3] [4]?


[1] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L266

[2] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java#L229

[3] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java#L131
[4] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170?

[https://avatars1.githubusercontent.com/u/47359?v=3&s=400]<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>

incubator-nifi/GetHTTP.java at develop · apache/incubator-nifi · GitHub
incubator-nifi - Mirror of Apache NiFi (Incubating)
Read more...<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>




I bring this up because using "identifiesControllerService" causes documentation generation to print the controller service.  Using the validator does not.


Dan Bress
Software Engineer
ONYX Consulting Services
Reply | Threaded
Open this post in threaded view
|

Re: Invoke HTTP different usage of SSLContext ControllerService

Mark Payne
Dan,


That’s how we used to reference Controller Services long, long ago - it should be updated to use the new syntax. The getControllerServiceLookup will likely be deprecated soon.






From: Dan Bress
Sent: ‎Monday‎, ‎March‎ ‎23‎, ‎2015 ‎11‎:‎03‎ ‎AM
To: [hidden email]





Mark,

   Any Reason InvokeHTTP is not having its usage of an SSLContextService [1] validated the same way other processors are [2] [3] [4]?


[1] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L266

[2] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java#L229

[3] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java#L131
[4] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170?

[https://avatars1.githubusercontent.com/u/47359?v=3&s=400]<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>

incubator-nifi/GetHTTP.java at develop · apache/incubator-nifi · GitHub
incubator-nifi - Mirror of Apache NiFi (Incubating)
Read more...<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>




I bring this up because using "identifiesControllerService" causes documentation generation to print the controller service.  Using the validator does not.


Dan Bress
Software Engineer
ONYX Consulting Services
Reply | Threaded
Open this post in threaded view
|

Re: Invoke HTTP different usage of SSLContext ControllerService

Dan Bress
Cool.  Makes sense.  Issue created: https://issues.apache.org/jira/browse/NIFI-460

Dan Bress
Software Engineer
ONYX Consulting Services

________________________________________
From: Mark Payne <[hidden email]>
Sent: Monday, March 23, 2015 11:04 AM
To: [hidden email]
Subject: Re: Invoke HTTP different usage of SSLContext ControllerService

Dan,


That’s how we used to reference Controller Services long, long ago - it should be updated to use the new syntax. The getControllerServiceLookup will likely be deprecated soon.






From: Dan Bress
Sent: ‎Monday‎, ‎March‎ ‎23‎, ‎2015 ‎11‎:‎03‎ ‎AM
To: [hidden email]





Mark,

   Any Reason InvokeHTTP is not having its usage of an SSLContextService [1] validated the same way other processors are [2] [3] [4]?


[1] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L266

[2] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java#L229

[3] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java#L131
[4] https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170?

[https://avatars1.githubusercontent.com/u/47359?v=3&s=400]<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>

incubator-nifi/GetHTTP.java at develop · apache/incubator-nifi · GitHub
incubator-nifi - Mirror of Apache NiFi (Incubating)
Read more...<https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L170>




I bring this up because using "identifiesControllerService" causes documentation generation to print the controller service.  Using the validator does not.


Dan Bress
Software Engineer
ONYX Consulting Services