You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please leave comments on the task you want to take, have fun!
#2057 introduces a new concept of capability. With which we can represents a service capability:
Whether current Operator supports read or not.
Whether current Operator supports read with if match or not.
What’s current Operator max supports batch operations count.
However, most of our code are not migrated to capability yet.
Migrate service capability
We used to use read to cover read/stat and use write to cover write/delete/create_dir. In capability, we split them all, so we need to check and add them. Also, some newly added args are not covered.
So, we need to:
Add missing operations for services, like stat, delete and create_dir.
Add missing args for services, like stat_with_if_match
Please leave comments on the task you want to take, have fun!
#2057 introduces a new concept of
capability
. With which we can represents a service capability:However, most of our code are not migrated to
capability
yet.Migrate service capability
We used to use
read
to coverread
/stat
and usewrite
to coverwrite
/delete
/create_dir
. Incapability
, we split them all, so we need to check and add them. Also, some newly added args are not covered.So, we need to:
stat
,delete
andcreate_dir
.stat_with_if_match
The final version should be like
azblob
:https://github.com/apache/incubator-opendal/blob/80ab41940d1e8835ef611b9906c21d8734b63cf9/core/src/services/azblob/backend.rs#L454-L472
We need to check for all services:
Add new tests
After new capability like
read_if_match
added, we can write behavior tests on them.For example, we can design a test of
read_if_match
like:read_if_match
is falseetag
PreconditionFailed
errorTasks:
Operator::capability
(this task should be finished first)if-match
: core: Add behavior test for read_with_if_match & stat_with_if_match #2088if-none-match
: feat(core): add test forstat_with_if_none_match
#2122if-match
: core: Add behavior test for read_with_if_match & stat_with_if_match #2088if-none-match
#2091 test(core): test forread_with_if_none_match
#2141override_cache_control
test(core): test forread_with_override_cache_control
#2155override_content_disposition
feat(core): test for read_with_override_content_composition #2067content_type
test(core): test forwrite_with_content_type
#2140cache_control
test(core): test forwrite_with_cache_control
#2131The text was updated successfully, but these errors were encountered: