This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new ad5709d8747 NIFI-16525 Replaced deprecated 
GoogleNetHttpTransport.newTrustedTransport with new NetHttpTransport (#11865)
ad5709d8747 is described below

commit ad5709d874722d6c9a01d1ee0698a6a19fad3335
Author: dan-s1 <[email protected]>
AuthorDate: Thu Oct 29 11:59:45 2026 -0400

    NIFI-16525 Replaced deprecated GoogleNetHttpTransport.newTrustedTransport 
with new NetHttpTransport (#11865)
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/test/java/org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java
 
b/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/test/java/org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java
index bd775c91125..7c25b1b2f85 100644
--- 
a/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/test/java/org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java
+++ 
b/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/test/java/org/apache/nifi/processors/gcp/drive/AbstractGoogleDriveIT.java
@@ -16,7 +16,6 @@
  */
 package org.apache.nifi.processors.gcp.drive;
 
-import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
 import com.google.api.client.http.AbstractInputStreamContent;
 import com.google.api.client.http.ByteArrayContent;
 import com.google.api.client.http.javanet.NetHttpTransport;
@@ -74,7 +73,7 @@ public abstract class AbstractGoogleDriveIT<T extends 
GoogleDriveTrait & Process
         testSubject = createTestSubject();
         testRunner = createTestRunner();
 
-        NetHttpTransport httpTransport = 
GoogleNetHttpTransport.newTrustedTransport();
+        NetHttpTransport httpTransport = new NetHttpTransport();
 
         driveService = new Drive.Builder(
                 httpTransport,

Reply via email to