[
https://issues.apache.org/jira/browse/NIFI-14278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Bathori updated NIFI-14278:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Fix custom Storage API URL in PutGCSObject
> ------------------------------------------
>
> Key: NIFI-14278
> URL: https://issues.apache.org/jira/browse/NIFI-14278
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Fix For: 2.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> NIFI-11439 introduced Storage API URL property for GSC processors but
> PutGCSObject is not working with custom endpoints.
> For some reason, the Host header in the request was set to the default
> [www.googleapis.com|http://www.googleapis.com/] which was inconsistent with
> the custom (non-default) endpoint. It seems older GCS client library versions
> did not take care of it but newer versions use the default public endpoint in
> this case. Also, the library is able to automatically set the Host header
> based in the endpoint URL, so explicit setting is not needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)