NIFI-10693 Remove direct proxy configuration properties from PutBigQuery#6580
NIFI-10693 Remove direct proxy configuration properties from PutBigQuery#6580bejancsaba wants to merge 3 commits intoapache:mainfrom
Conversation
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks for the improvement @bejancsaba.
How will this impact existing deployments using this Processor?
The InvokeHTTP Processor supports both direct Proxy configuration and Proxy Configuration Service properties for compatibility. Recent changes added deprecation logging warnings for use of the direct properties, so it seems like that might be necessary for now to avoid breaking flows that use the direct properties.
|
@exceptionfactory Newly added processors should only support the Proxy (or SSL) controller service and not the direct configuration properties. |
|
Thanks for the background on release timing @turcsanyip. I agree that new Processors should only use the Proxy Configuration Service. Since this Processor was just released in 1.18.0, and because the individual Proxy properties are optional, it seems reasonable to move forward with removing the individual properties and adding a note to Migration Guidance for subsequent release versions. It looks like there are automated test failures related to the property changes that need to be addressed, but the general plan sounds good in light of that background. |
|
Thanks for your answer @exceptionfactory! Actually, while I was testing the processor I noticed that the proxy is not used at all (configured either via the legacy properties or the controller service). So at least we will not break anything working. It seems it is not enough to add the proxy config for the HTTP transport, but we need to add it for GRPC too. It can be done via @bejancsaba I think we can either fix the proxy here or re-scope this PR, remove the proxy config at all and add a follow-up jira for fixing it. |
...e/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/PutBigQuery.java
Show resolved
Hide resolved
Removed the proxy configuration for now and created a dedicated Jira for the Proxy work: https://issues.apache.org/jira/browse/NIFI-10707 |
turcsanyip
left a comment
There was a problem hiding this comment.
Thanks @bejancsaba and @exceptionfactory!
+1 LGTM
Mergng to main.
This closes apache#6580. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
This closes apache#6580. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
Summary
NIFI-10693
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation