Ben McClelland
9434e2c7ac
Merge pull request #892 from versity/fix/getobject-delete-marker
...
fix: Returns NoSuchKey error for GetObject, if verionId is not specif…
2024-10-15 15:35:35 -07:00
Luke
f963fbe734
test: more versioning, legal hold testing, command reporting ( #887 )
2024-10-15 15:35:06 -07:00
jonaustin09
f061deb146
fix: Returns NoSuchKey error for GetObject, if verionId is not specified and the latest version is a delete marker
2024-10-15 15:48:18 -04:00
jonaustin09
16e8134e80
fix: Adds bucket object lock status check in GetObjectLegalHold and GetObjectRetention actions
2024-10-14 15:04:11 -04:00
jonaustin09
f03d600b56
fix: The implementation handles null versionId objects for versioning enabled buckets within the versioning directory
2024-10-11 15:39:49 -04:00
Ben McClelland
b7a2e8a2c3
fix: unexpected errors during upload races
...
This fixes the cases for racing uploads with the same object names.
Before we were making some bad assumptions about what would cause
an error when trying to link/rename the final object name into
the namespace, but missed the case that another upload for the
same name could be racing with this upload and causing an incorrect
error.
This also changes the order of setting metadata to prevent
accidental setting of metadata for the current upload to another
racing upload.
This also fix auth.CheckObjectAccess() when objects are removed
while this runs.
Fixes #854
2024-10-07 17:24:44 -07:00
Ben McClelland
d2b0d24520
Merge pull request #876 from versity/fix/put-bucket-versioning-suspended
...
fix: Removed ObjectLockConfigurationNotFoundError, when attempting to…
2024-10-07 16:40:01 -07:00
Ben McClelland
da9887446f
Merge pull request #875 from versity/fix/list-object-versions-versioning-disabled
...
fix: Fixed object versions listing with ListObjectVersions when versi…
2024-10-07 16:39:00 -07:00
jonaustin09
b5b592c683
fix: Removed ObjectLockConfigurationNotFoundError, when attempting to set bucket versioning status to suspended
2024-10-07 18:26:33 -04:00
jonaustin09
b39b5e2373
fix: Fixed object versions listing with ListObjectVersions when versioning is not configured for the gateway
2024-10-07 18:16:11 -04:00
Ben McClelland
c44044071b
Merge pull request #867 from versity/test_cmdline_rest_retention
...
test: REST retention, versioning testing, misc cleanup
2024-10-07 09:52:36 -07:00
Luke McCrone
4cd2635797
test: REST retention, versioning testing, misc cleanup
2024-10-05 08:22:02 -03:00
jonaustin09
768983be34
fix: Added VersioningNotConfigured error in Put/GetBucketVersioning acitons
2024-10-04 20:52:31 -04:00
jonaustin09
d2df00a409
fix: Fixed CopyObject copy-source parsing to handle object names with special characters
2024-10-02 11:40:25 -04:00
jonaustin09
e502a15306
fix: Added the implementation to automatically enable bucket versioning when enabling object lock. Added error response when attempting to set bucket versioning status to Suspended when object lock is enabled
2024-10-01 16:59:04 -04:00
jonaustin09
7d368be82e
feat: Implemented object locking for object versions
2024-09-30 17:26:49 -04:00
Ben McClelland
5c40de231d
Merge pull request #849 from versity/fix/get-bucket-versioning-empty-response
...
fix: Changed the GetBucketVersioning action return type, to return em…
2024-09-27 19:12:31 -07:00
jonaustin09
7b5765bd59
fix: Changed the GetBucketVersioning action return type, to return empty result for unset versioning configuration
2024-09-27 18:14:53 -04:00
jonaustin09
82592d97f4
fix: Added the versionId prop in GetObject response, when attempting to get the latest object version without specifying the versionId
2024-09-27 17:52:02 -04:00
Ben McClelland
44d51b787d
Merge pull request #847 from versity/fix/versioning-delete_object-nonexistent
...
fix: Modified DeleteObject error handling to return a successful resp…
2024-09-26 14:45:45 -07:00
Ben McClelland
2b9111fb79
Merge pull request #846 from versity/fix/versioning-delete-object-del-marker-header
...
fix: Added DeleteMarker to the DeleteObject action response when atte…
2024-09-26 14:44:56 -07:00
jonaustin09
3dc654eb11
fix: Modified DeleteObject error handling to return a successful response when versionId is not specified, and to return InvalidVersionId error when it is specified, in cases where versioning is enabled.
2024-09-26 16:41:35 -04:00
jonaustin09
8574a4c87f
fix: Added DeleteMarker to the DeleteObject action response when attempting to create a delete marker.
2024-09-26 16:18:14 -04:00
Ben McClelland
aad7ac02da
fix: docker build/invocation for test runners
2024-09-25 16:30:41 -07:00
Luke McCrone
9014f05bad
test: tagging, more run/assert changes, dockerfile, test split-ups
2024-09-23 12:36:25 -07:00
Ben McClelland
3a9cbfcbd6
fix: azure tests and add azure ci test
2024-09-23 09:10:52 -07:00
Ben McClelland
9f9f895522
Merge pull request #829 from versity/ben/enable_tests
...
fix: enable TestUploadPartCopy tests in full flow
2024-09-23 08:15:22 -07:00
Ben McClelland
20f334b1f9
fix: requests should fail for directory objects if key does not end in /
...
The object semantics are that a key that ends with / is different
than a key that does not. However on posix a name that ends with /
is assumed to be a directory, but it still succeeds to access the
directory by name without a trailing /. So we need to explicitly
check if the request is for a non-directory and we are trying to
access a directory.
Fixes #824
2024-09-20 15:44:10 -07:00
Ben McClelland
14595ac6f3
fix: enable TestUploadPartCopy tests in full flow
2024-09-20 15:11:23 -07:00
Ben McClelland
fba121e4aa
Merge pull request #825 from versity/fix/list-objects-empty-props
...
fix: Removed empty poperties from ListObjects and ListObjectsV2 actio…
2024-09-20 12:36:14 -07:00
Ben McClelland
30ffccbcf6
Merge pull request #827 from versity/fix/put-object-overwrite-file-objs
...
fix: Fixed the error case, to return ObjectParentIsFile error when ov…
2024-09-20 12:19:38 -07:00
jonaustin09
6de3df6070
fix: Removed empty poperties from ListObjects and ListObjectsV2 actions responses. Added StartAfter in ListObjectV2 response
2024-09-20 12:17:30 -07:00
jonaustin09
9ffb70f08e
fix: Fixed the error case, to return ObjectParentIsFile error when overwriting a file object with a nested file object with PutObject in posix
2024-09-20 14:45:35 -04:00
Ben McClelland
767a6615fc
Merge pull request #809 from versity/test_cmdline_rest_delete_objects
...
Test cmdline rest delete objects
2024-09-20 09:50:50 -07:00
Ben McClelland
0d0de244e1
fix: name too long error for head/delete
2024-09-20 09:17:19 -07:00
jonaustin09
800cf62209
feat: Implemented object versioning for multipart uploads. Implemented integration tests for the versioning implementation for multipart uploads
2024-09-19 13:29:19 -07:00
jonaustin09
6d4ff09d6f
feat: Added integration tests for bucket object versioning. Made a couple of bug fixes in the versioning implementation
2024-09-19 13:29:14 -07:00
Luke McCrone
baea416311
test: REST get/put/delete object, docker updates, time reduction
2024-09-18 18:01:32 -03:00
Ben McClelland
d9d3a16051
fix: azure list objects trim common prefixes that match marker prefix
2024-09-18 12:03:21 -07:00
Ben McClelland
180df62134
fix: list objects trim common prefixes that match marker prefix
...
This checks to see if the common prefix is before the marker and
thus would have been returned in earlier list objects request.
The error case was aws cli listing multiple entries for the same
common prefix when the listing required multiple pagination
requests.
Fixes #778
2024-09-18 12:02:25 -07:00
Ben McClelland
4cace00d8e
fix: get object range min=max return single byte min
...
The range min-max where min=max was incorrectly returning invalid
object range. On AWS, this returns the byte at offset min.
Fixes #810
2024-09-18 10:00:57 -07:00
Luke McCrone
b14df4a595
test: proper upload list key comparisons
2024-09-17 18:41:06 -03:00
Luke McCrone
f7991f935a
test: list multipart uploads fix
2024-09-17 18:17:57 -03:00
jonaustin09
600aca8bdc
fix: Fixed the request uri path escape to support object key special characters
2024-09-17 13:28:30 -04:00
Ben McClelland
590295c3d1
test: separate out direct tests dockerfile for easier use
...
The direct tests don't need the gateway or any go compilers.
This separates out the dockerfile to minimize it a bit more
from the other tests.
2024-09-13 15:47:51 -07:00
Luke McCrone
ae1c566656
test: static bucket init fix, github-actions enhancements
2024-09-13 19:11:00 -03:00
Ben McClelland
220819444f
chore: move test docker files to tests dir
2024-09-12 16:15:33 -07:00
Ben McClelland
d50027419e
fix: get direct tests working against a non-versitygw endpoint
2024-09-12 11:39:31 -07:00
Ben McClelland
2d9a7cc019
Merge pull request #794 from versity/test_cmdline_xml_retrieval
...
Test cmdline xml retrieval
2024-09-11 15:25:58 -07:00
Ben McClelland
cecf563d92
Merge pull request #798 from versity/fix/azure-obj-content-enc
...
fix: Fixed the mechanism to put/get object content-type, content-enco…
2024-09-11 13:30:39 -07:00