Add support for Oracle OCI Buckets (#4876)

main
Rodrigo Berriel 4 years ago committed by GitHub
parent 4167a4e40c
commit a824196718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,6 +27,7 @@ Skeleton (<https://github.com/cvat-ai/cvat/pull/1>), (<https://github.com/opencv
- Added helm chart support for serverless functions and analytics (<https://github.com/cvat-ai/cvat/pull/110>) - Added helm chart support for serverless functions and analytics (<https://github.com/cvat-ai/cvat/pull/110>)
- Added confirmation when remove a track (<https://github.com/opencv/cvat/pull/4846>) - Added confirmation when remove a track (<https://github.com/opencv/cvat/pull/4846>)
- [COCO Keypoints](https://cocodataset.org/#keypoints-2020) format support (<https://github.com/opencv/cvat/pull/4821>) - [COCO Keypoints](https://cocodataset.org/#keypoints-2020) format support (<https://github.com/opencv/cvat/pull/4821>)
- Support for Oracle OCI Buckets (<https://github.com/opencv/cvat/pull/4876>)
### Changed ### Changed
- Bumped nuclio version to 1.8.14 - Bumped nuclio version to 1.8.14

@ -346,7 +346,7 @@ export default function CreateCloudStorageForm(props: Props): JSX.Element {
{...internalCommonProps} {...internalCommonProps}
> >
<Input.Password <Input.Password
maxLength={40} maxLength={44}
visibilityToggle={secretKeyVisibility} visibilityToggle={secretKeyVisibility}
onChange={() => setSecretKeyVisibility(true)} onChange={() => setSecretKeyVisibility(true)}
onFocus={() => onFocusCredentialsItem('secretKey', 'secret_key')} onFocus={() => onFocusCredentialsItem('secretKey', 'secret_key')}

@ -743,9 +743,9 @@ class CloudStorage(models.Model):
# restrictions: # restrictions:
# AWS bucket name, Azure container name - 63, Google bucket name - 63 without dots and 222 with dots # AWS bucket name, Azure container name - 63, Google bucket name - 63 without dots and 222 with dots
# https://cloud.google.com/storage/docs/naming-buckets#requirements # https://cloud.google.com/storage/docs/naming-buckets#requirements
# AWS access key id - 20 # AWS access key id - 20, Oracle OCI access key id - 40
# AWS secret access key - 40 # AWS secret access key - 40, Oracle OCI secret key id - 44
# AWS temporary session tocken - None # AWS temporary session token - None
# The size of the security token that AWS STS API operations return is not fixed. # The size of the security token that AWS STS API operations return is not fixed.
# We strongly recommend that you make no assumptions about the maximum size. # We strongly recommend that you make no assumptions about the maximum size.
# The typical token size is less than 4096 bytes, but that can vary. # The typical token size is less than 4096 bytes, but that can vary.

@ -1150,8 +1150,8 @@ class CloudStorageReadSerializer(serializers.ModelSerializer):
class CloudStorageWriteSerializer(serializers.ModelSerializer): class CloudStorageWriteSerializer(serializers.ModelSerializer):
owner = BasicUserSerializer(required=False) owner = BasicUserSerializer(required=False)
session_token = serializers.CharField(max_length=440, allow_blank=True, required=False) session_token = serializers.CharField(max_length=440, allow_blank=True, required=False)
key = serializers.CharField(max_length=20, allow_blank=True, required=False) key = serializers.CharField(max_length=40, allow_blank=True, required=False)
secret_key = serializers.CharField(max_length=40, allow_blank=True, required=False) secret_key = serializers.CharField(max_length=44, allow_blank=True, required=False)
key_file = serializers.FileField(required=False) key_file = serializers.FileField(required=False)
account_name = serializers.CharField(max_length=24, allow_blank=True, required=False) account_name = serializers.CharField(max_length=24, allow_blank=True, required=False)
manifests = ManifestSerializer(many=True, default=[]) manifests = ManifestSerializer(many=True, default=[])

Loading…
Cancel
Save