mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#839
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/699
Author: @martinzink
Created: 3/1/2022
Status: ✅ Merged
Merged: 3/8/2022
Merged by: @fsouza
Base:
main← Head:fix_cpp_bugs📝 Commits (5)
d54f2c9Object metadata should be optional in resumable uploads #332997fab9Update fakestorage/upload.go1113804added cpp to ci1da79bdchange google-cloud-cpp to release v1.37.08fe5502retain err check with smaller scope📊 Changes
7 files changed (+140 additions, -56 deletions)
View changed files
📝
.github/workflows/main.yml(+3 -0)➕
ci/run-cpp-example.sh(+13 -0)➕
examples/cpp/.gitignore(+1 -0)➕
examples/cpp/CMakeLists.txt(+31 -0)➕
examples/cpp/cpp-examples.cpp(+26 -0)📝
fakestorage/upload.go(+7 -3)📝
fakestorage/upload_test.go(+59 -53)📄 Description
We are working on google-cloud integration for our project Apache Nifi Minifi CPP and fake-gcs-server seems to be an awesome way to create integration tests.
However I encountered some issues, which made impossible to integrate fake-gcs-server with a C++ app
I already fixed the issues from google-cloud-cpp's side
https://github.com/googleapis/google-cloud-cpp/pull/8446
https://github.com/googleapis/google-cloud-cpp/pull/8477
The last issue that blocks using fake-gcs-server with a cpp application seems to be #332
As described in the issue fake-gcs-server is stricter than google cloud storage when it comes to resumable upload requests.
With this PR the object metadata is optional when creating a resumable upload request.
I also added cpp examples so it can be verified that the resumable uploads are working now with fake-gcs-server.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.