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 94933c4 ATLAS-3493 Enhance S3 models to support additional attributes.
94933c4 is described below
commit 94933c432f9562ab97f15d509fcd810f0514a890
Author: skoritala <[email protected]>
AuthorDate: Fri Oct 25 10:44:13 2019 -0700
ATLAS-3493 Enhance S3 models to support additional attributes.
For aws_s3_bucket, add permissions, ownerId
For aws_s3_object, add ownerId, size, etag, lastmodified, storageclass.
Signed-off-by: Sarath Subramanian <[email protected]>
---
.../3000-Cloud/patches/004-s3_add_attributes.json | 80 ++++++++++++++++++++++
1 file changed, 80 insertions(+)
diff --git a/addons/models/3000-Cloud/patches/004-s3_add_attributes.json
b/addons/models/3000-Cloud/patches/004-s3_add_attributes.json
new file mode 100644
index 0000000..6184108
--- /dev/null
+++ b/addons/models/3000-Cloud/patches/004-s3_add_attributes.json
@@ -0,0 +1,80 @@
+{
+ "patches": [
+ {
+ "id": "TYPEDEF_PATCH_3000_004_001",
+ "description": "Add 'permissions' attribute to aws s3 bucket",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "aws_s3_bucket",
+ "applyToVersion": "1.1",
+ "updateToVersion": "1.2",
+ "attributeDefs": [
+ {
+ "name": "permissions",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false,
+ "searchWeight": 5
+ }, {
+ "name": "ownerId",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false,
+ "searchWeight" : 5
+ }
+
+ ]
+ }, {
+ "id": "TYPEDEF_PATCH_3000_004_002",
+ "description": "Add 'ownerId' attribute to aws s3 bucket",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "aws_s3_object",
+ "applyToVersion": "1.4",
+ "updateToVersion": "1.5",
+ "attributeDefs": [
+ {
+ "name": "ownerId",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false,
+ "searchWeight" : 5
+ }, {
+ "name": "size",
+ "typeName": "long",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }, {
+ "name": "eTag",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false,
+ "searchWeight" : 5
+ }, {
+ "name": "lastModified",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }, {
+ "name": "storageClass",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false,
+ "searchWeight" : 5
+ }
+ ]
+ }
+ ]
+}