Commit Graph

97 Commits

Author SHA1 Message Date
Jack Danger Canty
fb2efb1c6d Implementing snapshots on rds delete 2017-06-20 14:00:56 -07:00
Jack Danger Canty
ccb4ffde7c Supporting io1 type 2017-06-20 13:53:22 -07:00
Jack Danger Canty
63f01039c3 Implementing RDS Snapshots 2017-06-20 13:52:21 -07:00
Jack Danger Canty
559a863d7f Include db_name when describing RDS instances 2017-06-13 17:09:09 -07:00
Steve Pulec
bbfd307f5e Merge pull request #935 from JackDanger/support-rds-default-ports
support default ports in RDS
2017-05-10 22:24:03 -04:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Jack Danger Canty
6d8aa9d8f1 support default ports in RDS 2017-05-08 20:05:46 -10:00
Steve Pulec
a5da348fba Fix lint. 2017-03-15 23:43:48 -04:00
Steve Pulec
25e2af0320 Fix camelcase_to_underscore. Closes #767. 2017-03-15 23:39:36 -04:00
Adam Stauffer
c5853b48da update RDS responses to return DBInstanceArn 2017-03-13 16:48:22 -04:00
Steve Pulec
6d422d1f37 Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Steve Pulec
d3df810065 Generalize decorator code. 2017-02-12 00:22:29 -05:00
Michael Nussbaum
74bbd9c8e5 Various RDS, RDS/Cloudformation, RDS/KMS improvements. (#789)
We need to mock out deploying RDS instances with full disk encryption
and detailed tagging. We also need to be able do deploy these instances
with Cloudformation, and then access them with both boto and boto3.

* Join RDS and RDS2 backends - this makes RDS resources created via
  either of the two boto RDS APIs visible to both, more closely
  mirroring how AWS works
* Fix RDS responses that were returning JSON but should be returning XML
* Add mocking of RDS Cloudformation calls
* Add mocking of RDS full disk encryption with KMS
* Add mocking of RDS DBParameterGroups
* Fix mocking of RDS DBSecurityGroupIngress rules
* Make mocking of RDS OptionGroupOptions more accurate
* Fix mocking of RDS cross-region DB replication
* Add RDS tag support to:
  * DBs
  * DBSubnetGroups
  * DBSecurityGroups

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2017-01-11 21:02:51 -05:00
Yoriyasu Yano
f0cc561aa7 Use correct kwarg when creating database 2015-10-20 09:12:59 -07:00
Jeffrey Gelens
c2f2c16892 Fixed non threadsafe code 2015-03-16 13:13:40 +01:00
Chris Henry
af41f69da0 fix: put db name in quotes, if present. 2015-02-15 18:51:34 -05:00
Mike Fuller
41507e4baa Fixes for tests run on python 2.6.9 2015-01-30 19:54:43 +11:00
Mike Fuller
cff5238929 Fixed up use of format using {} instead of {0} which seams to break python 2.6.x 2015-01-30 17:28:41 +11:00
Mike Fuller
0d958e9b1c Added read replica support 2015-01-30 17:12:51 +11:00
Mike Fuller
42ab9312bb Added db_subnet_group support 2015-01-30 08:18:15 +11:00
Mike Fuller
8614b50898 Added DB Security Group Create/List/Delete/Authorize 2015-01-29 17:25:39 +11:00
Mike Fuller
3d431664f7 Added some TODOs for my memory. 2015-01-29 07:31:11 +11:00
Mike Fuller
884bd51604 Added tests add/remove/list tags on option groups 2015-01-29 07:24:03 +11:00
Mike Fuller
e42046aeda extended the list/add/delete tags functions to support more resource types. 2015-01-29 07:15:03 +11:00
Mike Fuller
15fcec9c33 Returning dymanic response for add_tags_to_resource 2015-01-28 10:24:11 +11:00
Mike Fuller
10c0ffc2f2 Added remove_tags_from_resource for rds db and add_tags_to_resource for rds db. 2015-01-28 10:17:55 +11:00
Chris Henry
f78d3b79df Fix json templates to include DBInstance element. 2015-01-27 01:53:42 -05:00
Chris Henry
df036fe207 rds2 model fixes.
* Add the endpoint data to the to_json function.
* Remove the DBInstance key from the to_json template.
2015-01-27 01:28:38 -05:00
Mike Fuller
2dde94c9be Storing tags on create db instance and getting tags back in list_tags_for_resource 2015-01-27 09:04:39 +11:00
Mike Fuller
6232abfe2d Added reboot instance and list_tags_for_resource. Still need to get the tags populated. 2015-01-27 08:21:48 +11:00
Chris Henry
bba08f05b1 Change the describe subnet groups over to json. 2015-01-26 15:38:56 -05:00
Chris Henry
1ccf1191cd Instead of a regex, add a second url pattern 2015-01-26 13:54:40 -05:00
Chris Henry
2352e27c3e Remove todo. 2015-01-26 13:35:28 -05:00
Chris Henry
25d0c0926d Change CREATE_SUBNET_GROUP_TEMPLATE to json. 2015-01-26 13:34:21 -05:00
Chris Henry
850b15d849 Add a to_json method to SubnetGroup. 2015-01-26 13:33:46 -05:00
Chris Henry
4f822f58e8 Loosen the url pattern a bit. I was seeing boto send requests to rds.amazonaws.com 2015-01-26 13:33:11 -05:00
Mike Fuller
242e29a7c1 rds2 modify_db_instance, small code tidy ups 2015-01-22 07:21:49 +11:00
Mike Fuller
4b838f6114 Added some TODOs to ensure I dont forget. 2015-01-21 07:18:56 +11:00
Mike Fuller
6fad81aabf I have delete options for the modify_option_group method but for the life of me. I cannot work out how to use this function to add options to an option_group. 2015-01-21 07:15:47 +11:00
Mike Fuller
dfb33aaad3 Started implementing modify_option_group. 2015-01-20 21:01:34 +11:00
Mike Fuller
a43b002c3a Added describe_option_group_options. 2015-01-20 07:18:52 +11:00
Mike Fuller
503d46d36a Added decribe_option_groups and delete_option_group support 2015-01-19 20:29:32 +11:00
Mike Fuller
40db44f2cd Added Exceptions on create_option_group 2015-01-19 17:03:14 +11:00
Mike Fuller
c6437930de fixed up tests for create_option_group, fixed return json to have major_version correct 2015-01-19 08:06:37 +11:00
Mike Fuller
8c16517f10 building out new RDS2 Mock.
completed:
 * create_db_instance()
 * create_option_group()
2015-01-19 07:38:10 +11:00