Claus Ibsen created CAMEL-28069:
-----------------------------------

             Summary: camel-google-drive - files/download returns an Operation 
that cannot be polled, and an IT uses a v2 field name
                 Key: CAMEL-28069
                 URL: https://issues.apache.org/jira/browse/CAMEL-28069
             Project: Camel
          Issue Type: Bug
          Components: camel-google-drive
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. drive-files/download returns a long-running Operation that cannot be 
polled

Files.download of Drive v3 returns an Operation; the component has no 
drive-operations API (Drive.Operations is not in the pom), so a route can only 
use the result when done is already true. Proposed change: add the operations 
API (get), or poll in the component.

h4. 2. DriveFilesIT uses a Drive v2 field name

DriveFilesIT.java:174 sets CamelGoogleDrive.fields=title, which Drive v3 
rejects (name). The IT does not run by default.

Found while writing the API method and parameter descriptions of CAMEL-27980 
(https://github.com/apache/camel/pull/31273).

_Filed by Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to