The new version of frostfs-observability has
improved the detail of tracing low-level rpc
calls by adding send and receive events.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
During upload if X-Explode-Archive is set, gate tries to read archive and create an object for each file.
Each object acquires a FilePath attribute which is calculated relative to the archive root.
Archive could have compression via Gzip if "Content-Encoding: gzip" header is specified
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
Split DownloadZip handler on methods. Add handler DownloadTar for downloading tar.gz archives. Make methods more universal for using in both implementations
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
Existing AIO image tags referenced from our integration tests were
manually synced to git.frostfs.info prior to this change.
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
The Access Denied status may be received
from APE due to exceeding the quota. In
this situation, you need to return the
appropriate status code.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
Similar to TrueCloudLab/frostfs-s3-gw#587
this PR introduces a CI pipeline that builds Docker images and pushes them
to our selfhosted registry.
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
Prioritize getting s3 object with the key, which equals to valid FrostFS OID, rather than getting non-existent object with OID via native protocol for GET and HEAD requests
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
Fallback path to search is needed because
some software may keep FileName attribute
and ignore FilePath attribute during file
upload. Therefore, if this feature is
enabled under certain conditions (for more
information, see gate-configuration.md) a
search will be performed for the FileName
attribute.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
Add tree service's GetBucketSettings to use them to check for protocol to use (S3 or native). Also add mock implementations for this and GetLatestVersion methods.
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
We can always add interceptors to the grpc
connection to the storage, since the actual
use will be controlled by the configuration
from the frostfs-observability library.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>