[
https://issues.apache.org/jira/browse/NIFI-16525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134292#comment-18134292
]
ASF subversion and git services commented on NIFI-16525:
--------------------------------------------------------
Commit ad5709d874722d6c9a01d1ee0698a6a19fad3335 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ad5709d8747 ]
NIFI-16525 Replaced deprecated GoogleNetHttpTransport.newTrustedTransport with
new NetHttpTransport (#11865)
Signed-off-by: David Handermann <[email protected]>
> Replace deprecated GoogleNetHttpTransport.newTrustedTransport with API
> suggested equivalent
> --------------------------------------------------------------------------------------------
>
> Key: NIFI-16525
> URL: https://issues.apache.org/jira/browse/NIFI-16525
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> With the upgrade of Google Drive API from v3-rev20261011-2.0.0 to
> v3-rev20261011-2.9.2 in NIFI-16523, the GoogleNetHttpTransport class is now
> deprecated along with its method newTrustedTransport which can be seen in the
> following warning from the current build logs:
> {code:java}
> 2026-10-28T12:00:03.6622494Z ##[warning][WARNING]
> /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/test/java/org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java:[77,42]
> [deprecation] GoogleNetHttpTransport in
> com.google.api.client.googleapis.javanet has been deprecated
> {code}
> The suggested replacement is the
> [NetHttpTransport|https://docs.cloud.google.com/java/docs/reference/google-http-client/latest/com.google.api.client.http.javanet.NetHttpTransport]
> as seen in the
> [javadocs|https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.javanet.GoogleNetHttpTransport]
>
> The point of this ticket is to make API suggested replacement.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)