[ 
https://issues.apache.org/jira/browse/NIFI-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378343#comment-14378343
 ] 

ASF GitHub Bot commented on NIFI-460:
-------------------------------------

GitHub user danbress opened a pull request:

    https://github.com/apache/incubator-nifi/pull/44

    NIFI-460

    modified InvokeHTTP to use the new mechanism for connecting to 
ControllerServices.
    
    deprecating StandardValidators.createControllerServiceExistsValidator()

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/danbress/incubator-nifi NIFI-460

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-nifi/pull/44.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #44
    
----
commit 06ee1291c2e4a9fbfc1d79d19e426ffff9ade232
Author: danbress <[email protected]>
Date:   2015-03-24T15:56:02Z

    NIFI-460 using identifiesControllerService

commit a5e140f10705e119c6aa7d52be03f01b94b75709
Author: danbress <[email protected]>
Date:   2015-03-24T18:18:56Z

    NIFI-460 deprecating 
StandardValidators.createControllerServiceExistsValidator

----


> Deprecate StandardValidator.createControllerServiceExistsValidator, and 
> change references
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-460
>                 URL: https://issues.apache.org/jira/browse/NIFI-460
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 0.1.0
>            Reporter: Dan Bress
>            Assignee: Dan Bress
>            Priority: Minor
>              Labels: beginner
>
> {{StandardValidator.createControllerServiceExistsValidator}} should be 
> deprecated in favor of 
> {{.identifiesControllerService(SSLContextService.class)}}
> Invoke HTTP currently uses the old way of identifying a controller service.  
> In its case SSLContextService.  It should use the new way like GetHTTP does.
> The old way is:
> {code}
> .addValidator(StandardValidators.createControllerServiceExistsValidator(SSLContextService.class))
> {code}
> [Link to 
> code|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]
> The new way is:
> {code}
> .identifiesControllerService(SSLContextService.class)
> {code}
> [Link to 
> code|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]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to