Split Json and PathnotFoundException

2019-06-03 Thread DEHAY Aurelien
Hello.

I have a question on splitjson regarding handling on path not found.

https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitJson.java#L201

Should not the log be in ERROR level? As warning let me think it's ... well, 
not a failure?

If it's a warning, should not the initial flowfile be routed to REL_ORIGINAL?

Thanks.

Aurélien.


This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.


Re: InvokeHTTP with SSL

2019-06-03 Thread Bryan Bende
Hello,

You should be specifying an SSL Context Service in the processor which
points to a truststore that trusts the certificate of the service you
are calling.

Alternatively, if the CA certs system truststore trusts the service
cert then it should also work.

Thanks,

Bryan

On Mon, Jun 3, 2019 at 10:14 AM Tomislav Novosel  wrote:
>
> Hi all,
>
> I have a case where I need to send POST request on one enpoint which is 
> located
> on K8S cluster and behind reverse proxy. Only HTTPS can be used.
> If I put value of endpoint using https:// I get error 'Unable to find valid 
> certification path to requested target'.
> I spoke to my admin/devops guy and he says there is no other way to access 
> that endpoint other than URL he gave me.
>
> Is there a way to bypass SSL verification or something else?
>
> Thanks,
> BR,
> Tom


InvokeHTTP with SSL

2019-06-03 Thread Tomislav Novosel
Hi all,

I have a case where I need to send POST request on one enpoint which is
located
on K8S cluster and behind reverse proxy. Only HTTPS can be used.
If I put value of endpoint using https:// I get error 'Unable to find valid
certification path to requested target'.
I spoke to my admin/devops guy and he says there is no other way to access
that endpoint other than URL he gave me.

Is there a way to bypass SSL verification or something else?

Thanks,
BR,
Tom