[ 
https://issues.apache.org/jira/browse/CAMEL-27220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-27220:
--------------------------------
    Fix Version/s: 4.18.6

> camel-google-sheets - the x-struct transformer writes to the configured 
> spreadsheet, and the access token is sent only in the Authorization header
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27220
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-google-sheets
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.18.6, 4.24.0
>
>
> Two behaviours of camel-google-sheets:
> 1. The google-sheets:application-x-struct data type transformer takes the 
> spreadsheet id from a spreadsheetId field of the JSON rows when it turns them 
> into a ValueRange. That field replaces the CamelGoogleSheets.spreadsheetId 
> header and the spreadsheetId option of the endpoint. The spreadsheet should 
> be the configured one. The field, which the rows read by the same transformer 
> carry, should only be left out of the values.
> 2. The producer and the consumer copy all options onto the Google API 
> request, so the accessToken option is also sent as the access_token query 
> parameter of the request URL. The OAuth credential already sends the token in 
> the Authorization header, so the credential options should not be set on the 
> request.
> _Claude Code on behalf of Claus Ibsen_



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

Reply via email to