This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a59132  ATLAS-4227: Update objectPrefix isUnique for 
aws_s3_v2_directory to false
3a59132 is described below

commit 3a59132a5fb05516d590f3061fd10c8af32a86f9
Author: Ameer Assi <ama...@microsoft.com>
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 <sar...@apache.org>
---
 .../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

Reply via email to