Commit Graph

2036 Commits

Author SHA1 Message Date
Guy Templeton
7d75c3ba18 Feat: ECS container status updating (#831)
* Uptick boto3 version to version supporting ECS container instance state changes

* Add initial status update

* Only place tasks on active instances

* PEP8 cleanup
2017-03-04 22:30:36 -05:00
David Wilcox
bcc3e57949 Cloudformation ResourceMaps incorrectly share namespaces for Conditions and Resources (#828)
* add tests to check CF's conditions and resources have distinct namespace

* separate the resource and condition namespaces for CF
2017-03-04 22:26:23 -05:00
Steve Pulec
d530bcf4a7 remove py26. 2017-02-28 21:29:28 -05:00
Steve Pulec
3be1b16eb9 Drop py26. 2017-02-27 21:24:34 -05:00
Steve Pulec
1287d53817 Fix tests for py26 and py3. 2017-02-27 20:53:57 -05:00
Steve Pulec
a22caf27ab Cleanup sns default topic. 2017-02-27 10:20:53 -05:00
Steve Pulec
5a56b3a049 Set credentials for server too. 2017-02-27 08:54:33 -05:00
Steve Pulec
b63618b975 Add keys for server mode. 2017-02-27 00:17:01 -05:00
Steve Pulec
e841c0d2f5 Need to run moto_server... 2017-02-27 00:02:23 -05:00
Steve Pulec
089b2a66d2 Add server-mode tests. 2017-02-26 23:56:50 -05:00
Steve Pulec
e5bcafd22f Cleanup travis. 2017-02-26 23:40:54 -05:00
Steve Pulec
5324638573 Add docs on contributing and code of conduct. 2017-02-26 19:55:19 -05:00
Steve Pulec
b73360c187 Fix api gateway callback. 2017-02-23 22:34:43 -05:00
Steve Pulec
3c0c4c2996 Fix tests for py3. 2017-02-23 22:28:09 -05:00
Steve Pulec
0dda687762 Fix urlparse for py3. 2017-02-23 21:41:05 -05:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
1433f28846 Update s3 test. 2017-02-23 19:50:34 -05:00
Steve Pulec
81836b6981 Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
Steve Pulec
cb28eeefbb Add moto reset API. 2017-02-20 18:25:10 -05:00
Steve Pulec
fe46b4c5b9 Remove extra line in test. 2017-02-20 15:50:49 -05:00
Steve Pulec
51df02e7cf Cleanup Server host parsing. 2017-02-20 14:31:19 -05:00
Steve Pulec
d0fe1a0956 Remove pdb. 2017-02-18 09:31:47 -05:00
Steve Pulec
6785d359d3 Cleanup apigateway callback. 2017-02-18 09:25:42 -05:00
Steve Pulec
480c1bba14 Add rest of deprecated decorators. 2017-02-18 09:24:09 -05:00
Steve Pulec
d28f083a0b Cleanup apigateway callback. 2017-02-18 09:19:08 -05:00
Steve Pulec
cad185c74d Cleanup headers and encoding. 2017-02-16 22:51:04 -05:00
Steve Pulec
468a1b970c Add responses dependencies. 2017-02-15 22:47:33 -05:00
Steve Pulec
678f73389f Fix package being submodule. 2017-02-15 22:45:20 -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
Steve Pulec
9076e48fee Fix sqs tests region. 2017-02-11 19:50:26 -05:00
Steve Pulec
2d03182ae2 Migrate some sqs tests to boto3. 2017-02-11 19:41:09 -05:00
Jack Danger
53fbd7dca0 KMS encryption under Python 3 (#826)
This upgrades the KMS encrypt and decrypt endpoints to work
under both Python 2 and 3
2017-02-09 22:36:24 -05:00
Joseph Lawson
fd7b8e7c88 install server version of moto for Dockerfile (#824) 2017-02-08 21:30:27 -05:00
David Wilcox
012dd497f2 make get_all_security_groups filter AND match group ids, not OR them (#822) 2017-02-08 21:29:37 -05:00
Jason DeTiberus
1045dca7b2 make instanceTenancy configurable for VPCs (#819)
* make instanceTenancy configurable for VPCs

* fix issue with setting tenenancy
2017-02-08 21:23:49 -05:00
Jeffrey Gelens
8fc1ad03bd Reload the server on a file change (#817)
* Added simple server reload support

* updated help text
2017-02-08 21:22:14 -05:00
Stefan Nordhausen
1a01bae74e Implement list_objects_v2() for S3 buckets (#814)
This adds/fixes the following things:
- Add missing KeyCount in result (fixes #734).
- Do not hard code MaxKeys to 1000.
- Truncate result if it has more than MaxKeys items. Set IsTruncated
    and NextContinuationToken accordingly.
- Support the StartAfter parameter.
- Return Owner information only when FetchOwner=True is given.
- "Prefix" in response is now "" instead of None when omitted in request.
- "Delimiter" is now omitted from response when not given in request.
2017-02-08 21:21:43 -05:00
Steve Pulec
ba7223f046 Fix issue for returning dynamodb floats. Closes #812. 2017-02-08 21:06:05 -05:00
Steve Pulec
4eaf5d527e 0.4.31 2017-01-24 09:48:31 -05:00
Hugo Lopes Tavares
88d5e36ffe Add resource IDs to ECS Cluster and Service models (#811) 2017-01-19 11:59:28 -05:00
Michael Nussbaum
51129f6ef3 Allow ELB policies to be set via Cloudformation. (#809)
Also more closely mirror AWS by not returning ELB
BackendServerDescriptions that don't have policies.

Signed-off-by: Michael Nussbaum <michael.nussbaum@getbraintree.com>
2017-01-18 23:02:04 -05:00
Jesse Szwedko
e1260bca06 cloudformation: Support RoleARN for create and update stack (#807)
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:59:47 -05:00
Jesse Szwedko
f68b2963db sts: Implement get_caller_identity (#806)
Return a canned response

Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:59:04 -05:00
Jesse Szwedko
55f39265dd Upgrade to boto 2.45 (#803)
Adds support for additional regions:

* ca-central-1
* eu-west-2

Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:55:22 -05:00
Steve Pulec
82bc502cf7 Fix assert_raises for catching parents of exceptions. 2017-01-18 22:46:51 -05:00
Akhter Ali
2bf85fe25d Fix Route53 response and tests (#804)
* Fix route53 response \n Fix route53 tests

* Fixing index

* fix zone ID on test_route53_with_update
2017-01-18 21:40:04 -05:00
costypetrisor
a967ec0d39 made the Security Group backend throw the same error as AWS if the nb of sec groups limit is hit (#742)
* made the Security Group backend throw the same error as AWS if the security group limit is hit

* included in the security group limit the count of grants to other security groups & updated the unit tests to cover these

* refactored a few things about the sec group rule count limit
2017-01-18 21:37:55 -05:00
Jesse Szwedko
d42432bfef IAM: raise error if requiested instance profile does not exist (#802)
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 21:36:50 -05:00
Steve Pulec
a292150087 Throw exception if same security group rule added twice. Closes #737. 2017-01-11 22:35:27 -05:00