RDS interface

4 views
Skip to first unread message

neill

unread,
Dec 15, 2009, 3:55:46 AM12/15/09
to ruby-aws
I have written the code for the new RDS interface and uploaded it to
the group
see:
http://ruby-aws.googlegroups.com/web/right_rds_interface.rb
There also needs to be a change to the right_awsbase.rb code to allow
the error messages to be correctly returned because amazon have some
diiferences in formats for RDS.
line:
if redirect_detected || (response.body && response.body[/<\?
xml/]) # ... it is a xml document
becomes
if redirect_detected || (response.body && (response.body[/<\?xml/] or
response.body[/xmlns=/])) # ... it is a xml document

Hope this is helpful. Code could be improved by add some comments anbd
some better variable names. I expect RDS will a feature that Ruby/
Rails guys will want to use as it gives you mysql as a service.

Travis Reeder

unread,
Dec 15, 2009, 3:15:32 PM12/15/09
to ruby-aws
Thanks a lot Neill!  I'll check it out soon and try to get it checked in.

Travis


--

You received this message because you are subscribed to the Google Groups "ruby-aws" group.
To post to this group, send email to ruby...@googlegroups.com.
To unsubscribe from this group, send email to ruby-aws+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruby-aws?hl=en.



Chad Arimura

unread,
Dec 15, 2009, 3:23:00 PM12/15/09
to ruby...@googlegroups.com
Very cool Neill.





On Tue, Dec 15, 2009 at 12:55 AM, neill <neillw...@googlemail.com> wrote:

Neill Turner

unread,
Dec 15, 2009, 4:13:09 PM12/15/09
to ruby...@googlegroups.com
Folks,
I have used this is my Amazon GUI Tool at www.elastdream.com. This
put a Ruby/FXRuby client over the RDS interface i just use it as
experiment to learn amazon stuff. It took about 2 weeks to write and
the RDS interface about a week to write. It is very interesting the
RDS stuff. It makes running a database easy for anyone...scary...
I also have some code that links the monitoring code with google
charts to build dynamic charts. I could put this into a simple ruby
program and link it with the new Iron ruby HTML microsoft stuff with
from mix09. this would mean people to just build the graph on the
client but load from a web server.....anyway probably losing people
now....
Cheers
Neill

2009/12/15 Chad Arimura <cari...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages