Skip to content

Instantly share code, notes, and snippets.

@lucastex
Created January 30, 2011 20:28
Show Gist options
  • Save lucastex/803213 to your computer and use it in GitHub Desktop.
Save lucastex/803213 to your computer and use it in GitHub Desktop.
[ANN] Grails AWS Plugin v1.1.4
Hello all,
I'm pleased to announce the AWS Grails Plugin, version 1.1.4.1.
Just clarifying, we were in version 0.2, and decided to follow a versioning number strategy that some grails
plugin are using, to follow the 'bundled lib'. So, as AWS Java SDK is on 1.1.4, and this is the first version
of the plugin using it, we're now at 1.1.4.1.
This version fix some bugs, and a bunch of new features, including SES (Simple E-mail Service) integration.
On S3 handling, you can now generate torrent URLs for your s3 hosted files just using the .torrent() method,
and generate public URLs for private files, like this: uploadedObject.publicUrlFor(3.hours) or
uploadedObject.publicUrlFor(1.year)
The SES integration is quite easy to do, the plugin provides some scripts for subscribing emails to the service,
and query quotas, usage, and statistics. To send e-mails, is easy as the well-known grails mail plugin.
sesMail {
from "[email protected]"
to "[email protected]"
//'cc' and 'bcc' works here
subject "Test e-mail"
body "this is some test e-mail"
html "<html><body><h1>HTML e-mail</h1></body></html>"
}
The closure is injected on controllers and services.
Full documentation available here: http://opensource.blanq.com.br/grails-aws/
Source codes (github repository): http://github.com/blanq/grails-aws
Release notes: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11450&version=17096
Lucas Teixeira
lucastex at gmail
twitter - @lucastex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment