Commit 94933c43 by skoritala Committed by Sarath Subramanian

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: 's avatarSarath Subramanian <sarath@apache.org>
parent f93b3702
{
"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
}
]
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment