You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2019/02/12 20:56:00 UTC

[jira] [Resolved] (NIFI-3435) Allow Expression Language for "Trusted Hostname" attribute in the InvokeHTTP processor

     [ https://issues.apache.org/jira/browse/NIFI-3435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy LoPresto resolved NIFI-3435.
---------------------------------
    Resolution: Won't Fix
      Assignee: Andy LoPresto

The *Trusted Hostname* property is being removed from {{InvokeHTTP}}. 

> Allow Expression Language for "Trusted Hostname" attribute in the InvokeHTTP processor
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-3435
>                 URL: https://issues.apache.org/jira/browse/NIFI-3435
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.0.0
>         Environment: CentOS7 on Virtualised VMs (OpenStack)
>            Reporter: Massimiliano Nigrelli
>            Assignee: Andy LoPresto
>            Priority: Minor
>         Attachments: JiraIssueInvokeHttpTrustedHostname.png
>
>
> To whom it may concern,
> I have the following issue: I use Nifi to retrieve some values from different REST endpoints (HTTPS).
> Well, in order to have something easily configurable, I have placed the URL of each REST Service I need to access in a configuration file (one file per endpoint). When it comes to configure the InvokeHTTPProcessor there is no way to have the TrustedHostname varying depending on the configuration file as I cannot use expression language.
> In such a way I should need to duplicate the InvokeHTTP processor for a number of times that is equal to all the endpoints from which I would need to retrieve data from (as in the following example):
> endpoint 1    -----------------   IP of URL1 ---------------- 1st InvokeHttp - TrsustedHostname for IP of URL1
> ....................................................................................................
> ....................................................................................................
> endpoint N    -----------------   IP of URLN ---------------- Nth InvokeHttp - TrsustedHostname for IP of URLN
> I would rather have only one single InvokeHTTP processor istantiated:
> endpoint 1    -----------------   IP of URL1 ---------------- InvokeHttp - TrustedHostname = ${property}
> ....................................................................................................
> ....................................................................................................
> endpoint N    -----------------   IP of URLN ---------------- InvokeHttp - TrustedHostname = ${property}
> Hope I have been clear,
> Regards,
> Massimiliano



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)