Commit Graph

1818 Commits

Author SHA1 Message Date
Costy Petrisor
8689b40d23 made the security group endpoints that authorize or revoke firewall rules
to support batch rules (boto doesn't expose this, but botocore/boto3 does)
2016-10-20 19:34:11 +00:00
Costy Petrisor
6f622b9689 an unit test for the bulk authorization and revokation of security group
rules
2016-10-20 18:14:22 +00:00
Steve Pulec
2e33e2be90 Merge pull request #735 from rocky4570/dryrun-ec2
Add dry_run to a number of EC2 services
2016-10-16 19:14:57 -04:00
Steve Pulec
5dbb22265c Merge pull request #732 from JackDanger/jack/implement-kms-encryption
Implementing KMS encrypt/decrypt
2016-10-16 19:12:43 -04:00
Steve Pulec
e2e23b08a3 Merge pull request #733 from okomestudio/ts/development
Better EMR coverage and boto3 request/response handling
2016-10-16 19:01:08 -04:00
rocky4570fft
57ab70b05c fix up indentation 2016-10-16 00:56:49 +10:00
rocky4570fft
95e9ce2d42 fixup merge issue with test_elastic_ip_addresses.py 2016-10-16 00:37:14 +10:00
rocky4570fft
d6f76cbb43 Add dry_run to a number of EC2 services 2016-10-16 00:34:52 +10:00
rocky4570fft
015c92ac44 Add dry_run to a number of EC2 services 2016-10-15 23:08:44 +10:00
Jack Danger Canty
ea24376131 Implementing KMS encrypt/decrypt
This adds support for testing the /encrypt and /decrypt endpoints
of Amazon KMS
2016-10-14 01:04:14 -07:00
Taro Sato
7cd404808b Better EMR coverage and boto3 request/response handling
This revision includes:

- A handler for requests for which content-type is JSON (from boto3).

- A decorator (generate_boto3_response) to convert XML responses to
  JSON (for boto3). This way, existing response templates for boto can
  be shared for generating boto3 response.

- Utility class/functions to use botocore's service specification data
  (accessible under botocore.data) for type casting, from query
  parameters to Python objects and XML to JSON.

- Updates to response handlers/models to cover more EMR end points and
  mockable parameters
2016-10-13 16:48:07 -07:00
Steve Pulec
4157abe8de Need to require higher Jinja2. Closes #728. 2016-10-12 22:25:14 -04:00
Steve Pulec
4a92f9fdb0 Fix IP setting. 2016-10-12 22:14:45 -04:00
Steve Pulec
27f1bece9b Fix assigning public ip to instances. Closes #729. 2016-10-12 22:02:13 -04:00
Steve Pulec
094b10cea1 Merge pull request #724 from AgarFu/master
Return the right dhcp_options id in the vpc response
2016-10-10 08:53:03 -04:00
Rene Martin
bd9e7deb95 Merge branch 'master' of https://github.com/spulec/moto 2016-10-10 07:47:11 +01:00
Rene Martin
75a8d2ed6a Revert "Bumping the version reflecting the bugfix"
This reverts commit 7f3daf4755.
2016-10-10 07:46:00 +01:00
Steve Pulec
fef3437db2 Throw error on terminating empty instance list. Closes #697. 2016-10-09 21:20:53 -04:00
Steve Pulec
ddf2f5a754 Fix firehose to work without Redshift config. 2016-10-09 20:24:09 -04:00
Steve Pulec
768a58671a Merge pull request #723 from rocky4570/awslambda-mods
lambderize the moto lambda
2016-10-09 19:13:02 -04:00
Steve Pulec
c87b001f7d Merge pull request #719 from spulec/refactor/remove-sure-from-setup.py
Remove sure and freezegun from setup.py
2016-10-09 19:05:47 -04:00
Steve Pulec
b3b538bbef Merge pull request #721 from rocky4570/kms-fixes
Add ARN and Alias functionality to KMS
2016-10-09 19:01:26 -04:00
Steve Pulec
81d489ce46 Merge pull request #710 from kryptek/master
Fix Route53 tagging code
2016-10-09 18:58:17 -04:00
Steve Pulec
86af82493a Merge pull request #714 from adamchainz/dont_hard_depend_on_flask
setup.py - use extras_require for flask
2016-10-09 18:57:09 -04:00
Steve Pulec
ef42676496 Merge pull request #712 from skygeo/fix_dynamodb_batch_write
fix: change dynamodb2 batch write response
2016-10-09 18:56:29 -04:00
Steve Pulec
f7ea66c248 Merge pull request #711 from skygeo/fix_dynamodb2_conditions
fix: dynamodb2 conditions
2016-10-09 18:55:38 -04:00
rocky4570fft
c4ea3cf751 correct expletive and remove debug line 2016-10-10 01:22:16 +10:00
rocky4570fft
dc98cf6f64 argh 2 days trying to work python3 into working python2 :( 2016-10-10 01:13:52 +10:00
Rene Martin
7f3daf4755 Bumping the version reflecting the bugfix 2016-10-08 10:39:52 +01:00
Rene Martin
4fa838e9fd Keep default dhcp_options id backwards compatiblity 2016-10-08 10:37:57 +01:00
Rene Martin
b06d439a81 Set the right dhcp_options id in the response
If the vpc has a dhcp_options associated with it the response should
include the right association.
2016-10-08 10:34:55 +01:00
rocky4570fft
95c90ae15f attmpt 6 is it the print statements or unicode? 2016-10-07 00:50:33 +10:00
rocky4570fft
de9d31bc0d attmpt 5 2016-10-07 00:41:31 +10:00
rocky4570fft
76266b6163 attmpt 4 thought i got rid of import StringIO - rockstar status not looking so good now 2016-10-07 00:26:00 +10:00
rocky4570fft
5500cc3e6f attmpt 3 not liking Python 3 very much at the moment 2016-10-07 00:18:39 +10:00
rocky4570fft
7c3005e582 attmpt 2 to resolve StringIO not being within Python 3 anymore 2016-10-07 00:14:47 +10:00
rocky4570fft
6c577091da lambderize the moto lambda 2016-10-06 19:52:23 +10:00
rocky4570fft
0062c8da1a Fix up models to work with Python 3 2016-10-03 01:51:59 +11:00
rocky4570fft
3a7fec4032 Add ARN and Alias functionality to KMS 2016-10-03 01:33:59 +11:00
Andrew Gross
8720601eaa Remove sure and freezegun from setup.py, they still exist in requirements-dev.txt 2016-09-29 16:37:34 -04:00
Adam Chainz
e6bf5550ce setup.py - use extras_require for flask
Adding `moto` to the requirements file for my Django project pulls in `flask`, even though I don't need the server component. By making the `server` 'extra' then there is no hard requirement on flask.
2016-09-26 13:44:05 +01:00
Georges Chaudy
bd3dd23c6b fix: change dynamodb2 batch write response 2016-09-23 17:07:49 +01:00
Georges Chaudy
6b74487b31 fix: dynamodb2 conditions 2016-09-23 16:14:17 +01:00
Alfred Moreno
40ad92b4bc Add a unit test to make sure multiple tags were actually associated with a resourceId 2016-09-22 18:44:07 -07:00
Alfred Moreno
6560063ceb Fix tagging code. Unit tests were passing but the underlying implementation wasn't producing the expected result 2016-09-22 18:38:47 -07:00
Steve Pulec
79fe9df6cc Merge pull request #706 from kryptek/add-route53-tagging
Add support and unittests for Route53 tags
2016-09-21 21:32:22 -04:00
Steve Pulec
7a759e8f70 Merge pull request #705 from okomestudio/ts/boto3-multipart-upload
Update S3 object GET response headers with response_dict from key
2016-09-21 21:31:30 -04:00
Steve Pulec
9478b0cc0c Merge pull request #700 from monkeyrevenge/bugfix/describe_tags_issue
Invalid resource types would return all resources if no other filters were included
2016-09-21 21:29:39 -04:00
Alfred Moreno
9a7556b3af Add support and unittests for Route53 tags 2016-09-20 17:41:23 -07:00
Taro Sato
bdb9d59e46 Update response headers with response_dict from key; add tests 2016-09-20 15:42:21 -07:00