{"action":"created","issue":{"url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/1","repository_url":"https://api.github.com/repos/lnielsen/invenio-files-rest","labels_url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/1/comments","events_url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/1/events","html_url":"https://github.com/lnielsen/invenio-files-rest/pull/1","id":130789899,"number":1,"title":"storage: adds s3 backend","user":{"login":"PXke","id":790766,"avatar_url":"https://avatars.githubusercontent.com/u/790766?v=3","gravatar_id":"","url":"https://api.github.com/users/PXke","html_url":"https://github.com/PXke","followers_url":"https://api.github.com/users/PXke/followers","following_url":"https://api.github.com/users/PXke/following{/other_user}","gists_url":"https://api.github.com/users/PXke/gists{/gist_id}","starred_url":"https://api.github.com/users/PXke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PXke/subscriptions","organizations_url":"https://api.github.com/users/PXke/orgs","repos_url":"https://api.github.com/users/PXke/repos","events_url":"https://api.github.com/users/PXke/events{/privacy}","received_events_url":"https://api.github.com/users/PXke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-02T19:27:20Z","updated_at":"2016-02-04T13:48:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lnielsen/invenio-files-rest/pulls/1","html_url":"https://github.com/lnielsen/invenio-files-rest/pull/1","diff_url":"https://github.com/lnielsen/invenio-files-rest/pull/1.diff","patch_url":"https://github.com/lnielsen/invenio-files-rest/pull/1.patch"},"body":"* Adds s3 backend storage implementation.\r\n\r\n* Adds unit tests and dependencies for s3 backend.\r\n\r\nSigned-off-by: Guillaume Lastecoueres <guillaume@tind.io>"},"comment":{"url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/comments/179848307","html_url":"https://github.com/lnielsen/invenio-files-rest/pull/1#issuecomment-179848307","issue_url":"https://api.github.com/repos/lnielsen/invenio-files-rest/issues/1","id":179848307,"user":{"login":"PXke","id":790766,"avatar_url":"https://avatars.githubusercontent.com/u/790766?v=3","gravatar_id":"","url":"https://api.github.com/users/PXke","html_url":"https://github.com/PXke","followers_url":"https://api.github.com/users/PXke/followers","following_url":"https://api.github.com/users/PXke/following{/other_user}","gists_url":"https://api.github.com/users/PXke/gists{/gist_id}","starred_url":"https://api.github.com/users/PXke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PXke/subscriptions","organizations_url":"https://api.github.com/users/PXke/orgs","repos_url":"https://api.github.com/users/PXke/repos","events_url":"https://api.github.com/users/PXke/events{/privacy}","received_events_url":"https://api.github.com/users/PXke/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T13:48:25Z","updated_at":"2016-02-04T13:48:25Z","body":"@lnielsen\r\n\r\n> A general question - how do you define which S3 region and S3 bucket you want to use? and is it possible to use multiple at the same time?\r\n\r\nCurrently the bucket name is stored in the location object in the uri, I was hoping to use name of the location as the name of the bucket and the uri as the geographical but I couldn't. \r\n\r\nCurrently it is not a big deal, in theory there is only one bucket with the same name, and the bucket should have been created prior to any utilization. So the geographical area is managed by S3 based on the initial manual creation. \r\n\r\nBut if you have better idea don't hesitate ! I am open to all suggestion. "}}