{"push_id":2594544144,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"b3923300638d64b375d8b79dbc268e0ae50a6bf8","before":"78308b770bc4f35c5b9bcfd807fdab61fecaae4d","commits":[{"sha":"2cc22272635d23e4e94dd739fbca71f354043c42","author":{"name":"Matt Rutkowski","email":"7265b24f62d48d77f03bb4aee40c2c0289e555d2@us.ibm.com"},"message":"Add ASF license to optional XML files and last gradle file.","distinct":true,"url":"https://api.github.com/repos/diamondblack/incubator-openwhisk/commits/2cc22272635d23e4e94dd739fbca71f354043c42"},{"sha":"441fc7165b86e7a1d6ed86c54887f10fb40596b9","author":{"name":"Christian Bickel","email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@cbickel.de"},"message":"Revert \"Add ASF license to optional XML files and last gradle file.\" (#3705)\n\nThis reverts commit 2cc22272635d23e4e94dd739fbca71f354043c42.","distinct":true,"url":"https://api.github.com/repos/diamondblack/incubator-openwhisk/commits/441fc7165b86e7a1d6ed86c54887f10fb40596b9"},{"sha":"b3923300638d64b375d8b79dbc268e0ae50a6bf8","author":{"name":"Chetan Mehrotra","email":"dfdc6ee92279c57f49cd0802f6aa8ee449c9ab33@apache.org"},"message":"Immutable attachments via putAndAttach (#3502)\n\nIntroduces a new method in ArtifactStore \"putAndAttach\" to manage document attachments for different backing object stores.\r\n\r\nThe method accepts two new parameters:\r\n   \"attachedUpdater\" - Method which would update the \"DocumentAbstraction\" with new attachment details.\r\n   \"oldAttached\" - Details about old attachment.\r\n\r\nFor \"CouchDBRestStore\"\r\n    1. Generate a random name\r\n    2. Update the DocumentAbstraction and save it\r\n    3. Now attach the passed source with generated name\r\n    4. No need for deleting old attachment as post document update CouchDB would not remember it anyway\r\n\r\nFor \"CouchDBRestStore\" + \"S3AttachmentStore\"\r\n    1. Generate a random name and then upload to S3 with generated name\r\n    2. Update the DocumentAbstraction and save it\r\n    3. Delete the old attachment\r\n\r\nThis restricts the attachment support to 1-1 mapping i.e. one attachment per document, but this is exactly the same behavior to date, while enabling the \"ArtifactStore\" to handle attachment in efficient way as per its capabilities.\r\n\r\nThe \"attachmentName\" stored in document would be a URI consisting of scheme and path, <scheme>:<attachment name/path>, where:\r\n    scheme - Indicates where the attachment is stored or attachment store type. It can have values such as\r\n        mem - If attachment content is inlined in name itself (TBD)\r\n        couch - If attachment is stored in CouchDB\r\n        s3 - If attachment is stored in S3\r\n    attachment name/path - Is the actual attachment name in the storage\r\n\r\nThe \"Attached\" metadata includes 2 new attributes:\r\n    length - Captures the length of attachment\r\n    digest - Digest of attachment with format \"-\" e.g. \"md5-6PkVAZ00zzZKPoquAJj5Lw==\"\r\n\r\nThe commit also adapts the cache interface to directly accept a future, preserving existing behavior but all allowing futures to be directly cached.","distinct":true,"url":"https://api.github.com/repos/diamondblack/incubator-openwhisk/commits/b3923300638d64b375d8b79dbc268e0ae50a6bf8"}]}
{"actor":{"display_login":"htynkn"}}