Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different request /response for Dapr storage binding across GCP,Azure and AWS #3572

Open
bhagya05 opened this issue Oct 18, 2024 · 1 comment
Labels

Comments

@bhagya05
Copy link
Contributor

We have noticed inconsistencies in the request and response structures of the Dapr bindings for GCP Bucket, Azure Blob Storage, and AWS S3.
These differences hinder the uniform use of Dapr as a plugin component, as we are required to create and manage distinct request/response objects for each binding.

Example

GCP bucket upload request looks like this

curl -d "{ \"operation\": \"create\", \"data\": \"(YOUR_FILE_CONTENTS)\", 
\"metadata\": { \"key\": \"my-test-file.jpg\" } }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>

While for Azure looks like this

curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\", 
\"metadata\": { \"blobName\": \"my-test-file.txt\" } }"  http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant