Steve Pulec
4cf34cc113
Add docs for moto apis.
2017-03-14 00:17:56 -04:00
Steve Pulec
54c7e0bcf9
Update docs to newer sphinx.
2017-03-13 23:07:18 -04:00
Steve Pulec
cda553abfb
Change tests to use default server port of 5000.
2017-03-12 21:04:19 -04:00
Steve Pulec
689adf7dbc
Add flake8 to dev dependencies.
2017-03-12 20:41:08 -04:00
Steve Pulec
1664e4412f
Add lint to make test instead.
2017-03-12 20:37:23 -04:00
Steve Pulec
d2c56619cd
Add lint to Travis.
2017-03-12 20:35:45 -04:00
Steve Pulec
5807a38092
Merge pull request #858 from spulec/dashboard
...
Add a dashboard
2017-03-12 20:26:42 -04:00
Steve Pulec
0e2fdf94f9
Cleanup lints.
2017-03-12 20:18:54 -04:00
Steve Pulec
3a01150154
Add about page.
2017-03-12 19:58:40 -04:00
Steve Pulec
24affc7a5f
Fix py3 Model __new__.
2017-03-12 13:04:36 -04:00
Steve Pulec
4d5642ae33
Cleanup dashboard.
2017-03-12 12:59:30 -04:00
Christian Hellman
c271e31745
Fixed terraform deploy against moto fails ( #857 )
2017-03-12 12:40:49 -04:00
Steve Pulec
09ac3539b7
Sort dashboard attributes.
2017-03-12 12:34:54 -04:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
caea5f441d
Fix resetting backends.
2017-03-11 23:18:58 -05:00
Steve Pulec
abe0460dc7
Merge branch 'master' into dashboard
2017-03-11 22:45:45 -05:00
Steve Pulec
1709208872
First version of dashboard.
2017-03-11 22:45:42 -05:00
Steve Pulec
b2a360aaf7
Remove old boto sns test in favor of boto3 test.
2017-03-11 21:03:03 -05:00
Steve Pulec
cdd6e476cc
If using newer dynamodb api, use version 2.
2017-03-11 20:50:24 -05:00
Steve Pulec
1068e26e66
Bump travis to python 3.6
2017-03-06 21:48:22 -05:00
Steve Pulec
cf771d7f14
Add py26 deprecation to changelog
2017-03-06 21:22:37 -05:00
Steve Pulec
896f040fca
Fix sqs tests for server mode.
2017-03-05 10:09:19 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
Matt Chamberlin
0393c384ad
fix etag metadata field name in key response dict (etag --> ETag) ( #855 )
2017-03-04 23:17:18 -05:00
Andrew Garrett
e7735c3ee1
Add event IDs to CF Stack events ( #852 )
...
So that events can be uniquely identified.
I tried to match the format documented here:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-listing-event-history.html
2017-03-04 23:12:55 -05:00
Andrew Garrett
e7ea6b350c
Fix lambda stdout/stderr mocking ( #851 )
...
Originally, the code was setting sys.stdout and sys.stderr back to the
original, official forms, but this breaks idioms like mocking stdout to
capture printing output for tests. So instead, we will reset sys.stdout
and sys.stderr to what they were before running the lambda function, so
that in case someone is mocking stdout or stderr, their tests won't
break.
2017-03-04 23:01:50 -05:00
Andrew Garrett
f6465df630
Return CF Stack events in reverse chronological order ( #853 )
...
This is how the AWS API works:
http://boto3.readthedocs.io/en/latest/reference/services/cloudformation.html#CloudFormation.Client.describe_stack_events
2017-03-04 23:00:25 -05:00
Léo Cavaillé
9b6d3983d2
iam: add group policy methods ( #849 )
...
Implemented mocks for:
* get_all_group_policies
* list_group_policies (boto3)
* get_group_policy
* put_group_policy
2017-03-04 22:56:36 -05:00
Chris LaRose
56f9409ca9
Use request URL to generate SQS queue URLs; fixes #626 ( #827 )
2017-03-04 22:53:14 -05:00
William Richard
f46a24180f
Cast desired capacity for cloudformation asg to int ( #846 )
...
Cloudformation passes MaxSize, MinSize and DesiredCapacity as strings, but
we want to store them as ints. Also includes tests of this fix, to help
avoid regression.
2017-03-04 22:51:01 -05:00
David Wilcox
a9554924df
make cloudformation update stack use parameters provided ( #843 )
2017-03-04 22:48:51 -05:00
Andy Freeland
783242b696
Elastic IP PhysicalResourceId should always be its public IP ( #841 )
...
According to the [CloudFormation `Ref` docs][docs], the `Ref` return
value (and physical ID of the resource) for an Elastic IP is its public
IP address.
[docs]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html
2017-03-04 22:40:43 -05:00
Andy Freeland
a30ba2b597
EC2 tags specified in CloudFormation should be applied to the instances ( #840 )
...
Fixes #839 .
2017-03-04 22:37:53 -05:00
David Wilcox
1b6007e2b2
Correct IAM list_server_certs template that was based off incorrect docs ( #836 )
...
The documentation for this method is here https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html
The docs say the return type is this ServerCertificateMetadataList.member.N
but the sample response incorrectly include a <ServerCertificateMetadata>. I've sent feedback to the AWS docs telling them to fix their stuff but this also needs to be fixed. I haven't checked other templates with <member> tags in them, as they may be prone to this same problem.
2017-03-04 22:36:25 -05:00
David Wilcox
8d737eb59d
Route53: allow hosted zone id as well when creating record sets ( #833 )
...
* add test that creates r53 record set from hosted zone id (not name)
* pass test to enable creating record sets by hosted zone ids
2017-03-04 22:31:45 -05:00
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