Xuanwo opened a new pull request, #9051:
URL: https://github.com/apache/opendal/pull/9051

   # Which issue does this PR close?
   
   Part of #8003. Huawei Cloud OBS remains pending documentation.
   
   # Rationale for this change
   
   Backblaze B2, Google Cloud Storage, Alibaba Cloud OSS, Tencent Cloud COS, 
TOS, OpenStack Swift and lakeFS each offer an S3-compatible interface alongside 
the API used by their native OpenDAL service. Separate schemes let applications 
select the interface and credentials for their deployment.
   
   # What changes are included in this PR?
   
   Add `b2-s3`, `gcs-s3`, `oss-s3`, `cos-s3`, `tos-s3`, `swift-s3api` and 
`lakefs-s3`. Each has a `services-<scheme>` feature, a typed builder and a 
configuration guide, and shares the S3 runtime. The change wires these features 
through the facade and bindings, and regenerates the binding configurations and 
website catalog.
   
   # Are there any user-facing changes?
   
   Existing native URI schemes retain their default routing. Applications can 
opt into a preset by name or explicitly replace a factory in the process-wide 
registry. Remapping a native scheme also selects the preset's URI syntax and 
credentials.
   
   - `tos-s3` takes the S3 endpoint of the selected Volcengine or BytePlus 
product, its bucket region, and an access key pair. This preset exposes no 
`session_token` option.
   - `swift-s3api` takes the gateway URL and the middleware's Keystone EC2 or 
TempAuth credentials. The URI authority is the container.
   - `lakefs-s3` takes the gateway URL separately. The URI authority is the 
repository and the first key component is its branch or ref.
   - `oss-s3` takes a base hostname and prepends the bucket. Use native `oss` 
for a CNAME bound to a single bucket. Alibaba's upload guide specifies 
`x-oss-content-sha256: UNSIGNED-PAYLOAD` and disallows `aws-chunked`. The 
shared signer uses `x-amz-content-sha256`. Upload compatibility on a real OSS 
endpoint remains unverified.
   
   # Breaking changes
   
   # AI Usage Statement
   
   - Pi, `magpie/codex/gpt-6.2-sol`, `xhigh`: implementation and validation.
   - Pi, `magpie/codex/gpt-6.2-astra`, `high`: provider design and coordination.
   - Pi, `magpie/devin/swe-2`, `high`: independent code review.
   - Pi, `magpie/agy-cli/gemini-4-neon`, `high`: drafted the PR title and 
description.
   
   A local lakeFS 1.88.0 Gateway exercised writes, reads, listing and branch 
isolation. The other six presets were checked against provider documentation 
and local configuration and signing tests. The .NET configurations were 
generated; the .NET binding was not compiled locally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to