[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2018-05-20 Thread Mike Thomsen (JIRA)

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

Mike Thomsen commented on NIFI-4175:


[~trixpan] I approved [~ijokarumawak]'s PR that merged this and 4196. Hope you 
don't mind.

> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



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


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2018-05-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/2018


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



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


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2018-05-20 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on NIFI-4175:
---

Commit 2834fa4ce477014dfad8c96b6d326d0f1f06a23e in nifi's branch 
refs/heads/master from [~ijokarumawak]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=2834fa4 ]

NIFI-4199: Added ProxyConfigurationService

- Added ProxyConfigurationService to manage centralized proxy
configurations
- Adopt ProxyConfigurationService at FTP and HTTP processors

NIFI-4175 - Add HTTP proxy support to *SFTP processors

This closes #2018.

Signed-off-by: Koji Kawamura 

NIFI-4199: Add ProxyConfigurationService to SFTP processors

- Fixed check style issue
- Use the same proxy related PropertyDescriptors from FTPTransfer and
SFTPTransfer
- Dropped FlowFile EL evaluation support to make it align with other
processors spec, Now it supports VARIABLE_REGISTRY
- Added ProxyConfigurationService to SFTP processors
- Added SOCKS proxy support to SFTP processors

NIFI-4199: Added ProxyConfigurationService to ElasticsearchHttp processors

- ElasticsearchHttp processors now support SOCKS proxy, too
- Added proxy support to PutElasticsearchHttpRecord
- Moved more common property descriptors to
AbstractElasticsearchHttpProcessor and just return static unmodifiable
property descriptor list at each implementation processors

NIFI-4196 - Expose AWS proxy authentication settings

NIFI-4196 - Fix jUnit errors

This closes #2016.

Signed-off-by: Koji Kawamura 

NIFI-4199: Add ProxyConfigService to AWS processors

- Applied ProxyConfigService to S3 processors
- Added proxy support to following processors:
  - PutKinesisFirehose, PutKinesisStream
  - PutDynamoDB, DeleteDynamoDB, GetDynamoDB
  - PutKinesisStream
- All AWS processors support HTTP proxy now

NIFI-4199: Add ProxyConfigService to Azure processors

NIFI-4199: More explicit validation and docs for Proxy spec

- Each processor has different supporting Proxy specs
- Show supported spec to ProxyConfigurationService property doc
- Validate not only Proxy type, but also with Authentication

NIFI-4199: Incorporated review comments

- Fixed TestListS3 property descriptor check
- Separate name and displayName

This closes #2016
This closes #2018
This closes #2704

Signed-off-by: Mike Thomsen 


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



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


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2018-05-15 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user ijokarumawak commented on the issue:

https://github.com/apache/nifi/pull/2018
  
@trixpan Since this PR is really close to get merged, but got inactive, and 
I have another PR tackling the same theme, I have merged your commit into my PR 
in #2704. SOCKS proxy support is also added there. When #2704 is merged 
successfully after being reviewed, this PR will be closed, too.

I hope continuing work at #2704 would be fine for you. Please let me know 
if not the case.

@trixpan @pvillard31 @jugi92 would you please take a look on #2704 and post 
any feedback there, thanks!


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



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


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-10-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user jugi92 commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r145136408
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -92,6 +93,39 @@
 .defaultValue("true")
 .required(true)
 .build();
+public static final PropertyDescriptor PROXY_HOST = new 
PropertyDescriptor.Builder()
--- End diff --

Hi,
We would really like to see that the development goes into the direction 
that SOCKS Proxy with authentication will also be available.
In many bigger companies it is a basic requirement and for us it is not 
possible to provide those parameters through the -D Options as mentioned in 
this comment: 
https://community.hortonworks.com/questions/30339/how-to-configure-proxy-server-details-with-user-an.html
As JSCH offers all the possibilities and a reference implementation it 
should be possible to integrate it and broaden the functionality of Nifi and 
thus make it more attractive to companies.
Please feel free to discuss my opinion.
Best regards


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-10-17 Thread Julian Gimbel (JIRA)

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

Julian Gimbel commented on NIFI-4175:
-

Hi,

We would really like to see that the development goes into the direction that 
SOCKS Proxy with authentication will also be available.
In many bigger companies it is a basic requirement and for us it is not 
possible to provide those parameters through the -D Options as mentioned in 
this comment: 
https://community.hortonworks.com/questions/30339/how-to-configure-proxy-server-details-with-user-an.html
As JSCH offers all the possibilities and a reference implementation it should 
be possible to integrate it and broaden the functionality of Nifi and thus make 
it more attractive to companies.
Please feel free to discuss my opinion.

Best regards


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-19 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user pvillard31 commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r128277226
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -92,6 +93,39 @@
 .defaultValue("true")
 .required(true)
 .build();
+public static final PropertyDescriptor PROXY_HOST = new 
PropertyDescriptor.Builder()
--- End diff --

I honestly don't have any opinion on this subject but I agree that if we do 
not add SOCKS option to SFTP processors, then it's OK to have the corresponding 
properties in SFTPTransfer.


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user trixpan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r128152995
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -401,6 +435,18 @@ private ChannelSftp getChannel(final FlowFile 
flowFile) throws IOException {
 
ctx.getProperty(HOSTNAME).evaluateAttributeExpressions(flowFile).getValue(),
 
ctx.getProperty(PORT).evaluateAttributeExpressions(flowFile).asInteger().intValue());
 
+if 
(ctx.getProperty(PROXY_HOST).evaluateAttributeExpressions(flowFile).isSet()) {
+final ProxyHTTP proxy = new ProxyHTTP(
+
ctx.getProperty(PROXY_HOST).evaluateAttributeExpressions(flowFile).getValue(),
+
ctx.getProperty(PROXY_PORT).evaluateAttributeExpressions(flowFile).asInteger()
+);
+// Check if Username is set and populate the proxy 
accordingly
+if 
(ctx.getProperty(PROXY_USERNAME).evaluateAttributeExpressions(flowFile).isSet())
 {
+
proxy.setUserPasswd(ctx.getProperty(PROXY_USERNAME).evaluateAttributeExpressions(flowFile).getValue(),
 
ctx.getProperty(PROXY_PASSWORD).evaluateAttributeExpressions(flowFile).getValue());
--- End diff --

Hmmm... missed that one. Will fix.


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user trixpan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r128152991
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -92,6 +93,39 @@
 .defaultValue("true")
 .required(true)
 .build();
+public static final PropertyDescriptor PROXY_HOST = new 
PropertyDescriptor.Builder()
--- End diff --

@pvillard31 I saw that and considered it but ended up adopting the current 
approach due to my view that I prefer not supporting SOCKS ... Don't get me 
wrong, I appreciate the reason why SOCKS exists but most processors are only 
able to support HTTP so I rather provide... consistency (I know I have been 
sounding repetitive lately... 😄 )

Since FTP already supports SOCKS I reckon we can leave it there, but for 
SFTP I rather not add it at all.

Let me know if you agree and I will adjust accordingly. 


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user pvillard31 commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r128101394
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -92,6 +93,39 @@
 .defaultValue("true")
 .required(true)
 .build();
+public static final PropertyDescriptor PROXY_HOST = new 
PropertyDescriptor.Builder()
--- End diff --

I'm wondering if, since FileTransfer is only used for FTP and SFTP, it 
would make sens to move the proxy-related properties to FileTransfer instead of 
duplicating code. I believe, as far as I can see, that we could use the 
existing properties in FTPTransfer for SFTPTransfer as well with HTTP Proxy and 
SOCK proxy. Thoughts?


> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

Github user pvillard31 commented on a diff in the pull request:

https://github.com/apache/nifi/pull/2018#discussion_r128100302
  
--- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 ---
@@ -401,6 +435,18 @@ private ChannelSftp getChannel(final FlowFile 
flowFile) throws IOException {
 
ctx.getProperty(HOSTNAME).evaluateAttributeExpressions(flowFile).getValue(),
 
ctx.getProperty(PORT).evaluateAttributeExpressions(flowFile).asInteger().intValue());
 
+if 
(ctx.getProperty(PROXY_HOST).evaluateAttributeExpressions(flowFile).isSet()) {
+final ProxyHTTP proxy = new ProxyHTTP(
+
ctx.getProperty(PROXY_HOST).evaluateAttributeExpressions(flowFile).getValue(),
+
ctx.getProperty(PROXY_PORT).evaluateAttributeExpressions(flowFile).asInteger()
+);
+// Check if Username is set and populate the proxy 
accordingly
+if 
(ctx.getProperty(PROXY_USERNAME).evaluateAttributeExpressions(flowFile).isSet())
 {
+
proxy.setUserPasswd(ctx.getProperty(PROXY_USERNAME).evaluateAttributeExpressions(flowFile).getValue(),
 
ctx.getProperty(PROXY_PASSWORD).evaluateAttributeExpressions(flowFile).getValue());
--- End diff --


[WARNING] 
src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java[445] 
(sizes) LineLength: Line is longer than 200 characters (found 206).



> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread Andre F de Miranda (JIRA)

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

Andre F de Miranda commented on NIFI-4175:
--

[~glanglois] the code added in this PR should partially address your request 
(HTTP proxy support)

https://github.com/apache/nifi/pull/2018

Also note that although the underlying library supports SOCK4/5, most NiFi 
processors don't so I rather provide users with a consistent experience and 
offer only HTTP proxy support.

Let me know if the code works.

Cheers

> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Assignee: Andre F de Miranda
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFI-4175) Add Proxy Properties to SFTP Processors

2017-07-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on NIFI-4175:
--

GitHub user trixpan opened a pull request:

https://github.com/apache/nifi/pull/2018

NIFI-4175 - Add HTTP proxy support to *SFTP processors

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [X] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [X] Does your PR title start with NIFI- where  is the JIRA number 
you are trying to resolve? Pay particular attention to the hyphen "-" character.

- [X] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [X] Is your initial contribution a single, squashed commit?

### For code changes:
- [X] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi folder?
- [] Have you written or updated unit tests to verify your changes?
- [X] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [X] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-assembly?
- [X] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-assembly?
- [X] If adding new Properties, have you added .displayName in addition to 
.name (programmatic access) for each of the new properties?

### For documentation related changes:
- [X] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


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

$ git pull https://github.com/trixpan/nifi NIFI-4175

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

https://github.com/apache/nifi/pull/2018.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 #2018


commit fc93aefd3351c939b06e83db77c89ce0957d025f
Author: Andre F de Miranda 
Date:   2017-07-18T11:04:48Z

NIFI-4175 - Add HTTP proxy support to *SFTP processors




> Add Proxy Properties to SFTP Processors
> ---
>
> Key: NIFI-4175
> URL: https://issues.apache.org/jira/browse/NIFI-4175
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Grant Langlois
>Priority: Minor
>
> Add proxy server configuration as properties to the Nifi SFTP components. 
> Specifically add properties for:
> Proxy Type: JSCH supported proxies including SOCKS4, SOCKS5 and HTTP
> Proxy Host
> Proxy Port
> Proxy Username
> Proxy Password
> This would allow these properties to be configured for each processor. These 
> properties would align with what is configurable for the JSCH session and 
> shouldn't require any additional dependencies.
> This proposal is similar to what is already implemented for the FTP processors



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)