-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Metadata from S3 doesn't seem to be loaded. Calling getMetaAttribute
seems to load the data but doesn't return the data back. Below is an example
def file = s3SP["bucketname"]["filename.txt"] //file already exists
log.info("ETag from AWS: " + file.getS3Object().getObjectMetadata().getETag()) //prints null
log.info("ETag from karman: " + file.getMetaAttribute(Headers.CONTENT_MD5)) //prints null
log.info("ETag from AWS: " + file.getS3Object().getObjectMetadata().getETag()) //prints the etag
Note that second and fourth line in the above snippet are same.
This seems to be the culprit. https://github.com/bertramdev/karman-core/blob/master/karman-aws/src/main/groovy/com/bertramlabs/plugins/karman/aws/S3CloudFile.groovy#L142
Metadata
Metadata
Assignees
Labels
No labels