[
https://issues.apache.org/jira/browse/NIFI-16525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16525:
------------------------------------
Description:
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.Builder 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.
was:
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.Builder as seen in the
[javadocs|https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.javanet.GoogleNetHttpTransport]
> 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
>
> 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.Builder 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)