This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new a07fe33 ATLAS-4227: Update objectPrefix isUnique for
aws_s3_v2_directory to false
a07fe33 is described below
commit a07fe33ea3e4a488336b7ca022ee4707b33f66d4
Author: Ameer Assi <[email protected]>
AuthorDate: Mon Mar 29 15:12:56 2021 -0700
ATLAS-4227: Update objectPrefix isUnique for aws_s3_v2_directory to false
Signed-off-by: Sarath Subramanian <[email protected]>
(cherry picked from commit 3a59132a5fb05516d590f3061fd10c8af32a86f9)
---
.../models/3000-Cloud/3030-aws_s3_v2_typedefs.json | 4 ++--
.../patches/007-s3_v2_update_attributes.json | 23 ++++++++++++++++++++++
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/addons/models/3000-Cloud/3030-aws_s3_v2_typedefs.json
b/addons/models/3000-Cloud/3030-aws_s3_v2_typedefs.json
index e656c31..977c066 100644
--- a/addons/models/3000-Cloud/3030-aws_s3_v2_typedefs.json
+++ b/addons/models/3000-Cloud/3030-aws_s3_v2_typedefs.json
@@ -150,7 +150,7 @@
"Path"
],
"serviceType": "aws",
- "typeVersion": "1.1",
+ "typeVersion": "1.2",
"attributeDefs": [
{
"name": "objectPrefix",
@@ -158,7 +158,7 @@
"cardinality": "SINGLE",
"isIndexable": true,
"isOptional": false,
- "isUnique": true
+ "isUnique": false
},
{
"name": "subdomain",
diff --git a/addons/models/3000-Cloud/patches/007-s3_v2_update_attributes.json
b/addons/models/3000-Cloud/patches/007-s3_v2_update_attributes.json
new file mode 100644
index 0000000..f29c5bf
--- /dev/null
+++ b/addons/models/3000-Cloud/patches/007-s3_v2_update_attributes.json
@@ -0,0 +1,23 @@
+{
+ "patches": [
+ {
+ "id": "TYPEDEF_PATCH_3000_007_001",
+ "description": "Update objectPrefix isUnique for aws_s3_v2_directory to
false",
+ "action": "UPDATE_ATTRIBUTE",
+ "typeName": "aws_s3_v2_directory",
+ "applyToVersion": "1.1",
+ "updateToVersion": "1.2",
+ "params": null,
+ "attributeDefs": [
+ {
+ "name": "objectPrefix",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": false,
+ "isUnique": false
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file