Commit Graph

56 Commits

Author SHA1 Message Date
Bjorn Olsen
9c00f572d6 First working tests! 2019-11-01 19:24:21 +02:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Jack Danger
4d0099499f
Athena - implementing first two endpoints (#2506)
This implements create_work_group() and list_work_groups()
2019-10-22 14:37:29 -07:00
Bert Blommers
af4082f38e Step Functions - State Machines methods 2019-09-02 16:26:40 +01:00
Mark Challoner
d8ff67197b Add resource-groups. (#1953) 2019-05-25 11:10:34 +01:00
Mike Grima
bc116ab750 Basic AWS Config service support. 2019-03-02 18:37:20 -08:00
Karl Gutwin
ff6a57f443 Fix flake8 failures 2018-11-08 11:08:24 -05:00
Karl Gutwin
519899f74f Much of the way towards complete DynamoDB Streams implementation 2018-11-07 17:10:00 -05:00
Ashley Gould
95700d6631 Merge remote-tracking branch 'spulec/moto/master' into organizations_support 2018-09-28 08:52:22 -07:00
Ashley Gould
edbc57e00d add support for AWS Organizations
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts

all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00
TheDooner64
3830757ec6 Add glue to backends to support server mode 2018-08-07 16:57:20 -04:00
zane
a601cbf809 Initial commit 2018-06-05 22:11:00 -07:00
jbergknoff-10e
e111cd1ff9 Implement some of cognito-idp 2018-05-07 09:38:04 -05:00
Barry Ruffner
7f0723a068 Added missing backend for server mode. 2018-04-03 12:57:21 -07:00
George Ionita
3cede60f5b improved SWF support 2017-12-23 05:45:05 +02:00
Terry Cain
8ee05e22af
[WIP] Resource tagging (#1332)
* Ran scaffold

* Made a start on get_resources.

* Added more EC2 to tag list

* More stuff

* Added more methods

* Added S3 region name

* Added values test

* Some final touchups
2017-11-15 00:03:00 +00:00
Toshiya Kawasaki
0de2e55b13 Support iot and iot-data (#1303)
* append appropriate urls when scaffolding

* make dispatch for rest-api

* fix dispatch for rest-json

* fix moto/core/response to obtain path and body parameters

* small fixes

* remove unused import

* fix get_int_param

* Add features of things and thing-types

* fix scaffold

* basic crud of cert

* support basic CRUD of policy

* refactor

* fix formatting of scaffold

* support principal_pocicy

* support thing_principal

* update readme

* escape service to handle service w/ hyphen like iot-data

* escape service w/ hyphen

* fix regexp to extract region from url

* escape service

* Implement basic iota-data feature

* iot-data shadow delta

* update readme

* remove unused import

* remove comment

* fix syntax

* specify region when creating boto3 client for test

* use uuid for seed of generating cert id

* specify region_name to iotdata client in test

* specify region to boto3 client in moto response

* excude iot and iotdata tests on server mode

* fix handling of thingTypeName in describe-thing

* test if server is up for iot
2017-11-10 09:44:02 +00:00
Toshiya Kawasaki
56793a3b2a Fix scaffold to support rest-json style API (#1291)
* append appropriate urls when scaffolding

* make dispatch for rest-api

* fix dispatch for rest-json

* fix moto/core/response to obtain path and body parameters

* small fixes

* remove unused import

* fix get_int_param

* fix scaffold

* fix formatting of scaffold

* fix misc

* escape service to handle service w/ hyphen like iot-data

* escape service w/ hyphen

* fix regexp to extract region from url

* escape service

* fix syntax

* skip loading body to json object when request body is None
2017-10-24 20:45:39 +02:00
Terry Cain
8cb381f725
Possible import order fix 2017-10-04 00:20:39 +01:00
Terry Cain
ea10c4dfb6
Merge branch 'master' into batch 2017-09-29 22:11:15 +01:00
Alexander Mohr
9008b85299 lambda + SNS enhancements (#1048)
* updates

- support lambda messages from SNS
- run lambda in docker container

* decode output

* populate timeout

* simplify

* whoops

* skeletons of cloudwatchlogs

* impl filter log streams

* fix logging

* PEP fixes

* PEP fixes

* fix reset

* fix reset

* add new endpoint

* fix region name

* add docker

* try to fix tests

* try to fix travis issue with boto

* fix escaping in urls

* fix environment variables

* fix PEP

* more pep

* switch back to precise

* another fix attempt

* fix typo

* fix lambda invoke

* fix more unittests

* work on getting this to work in new scheme

* fix py2

* fix error

* fix tests when running in server mode

* more lambda fixes

* try running with latest docker

adapted from aiodocker

* switch to docker python client

* pep fixes

* switch to docker volume

* fix unittest

* fix invoke from sns

* fix zip2tar

* add hack impl for get_function with zip

* try fix

* fix for py < 3.6

* add volume refcount

* try to fix travis

* docker test

* fix yaml

* try fix

* update endpoints

* fix

* another attempt

* try again

* fix recursive import

* refactor fix

* revert changes with better fix

* more reverts

* wait for service to come up

* add back detached mode

* sleep and add another exception type

* put this back for logging

* put back with note

* whoops :)

* docker in docker!

* fix invalid url

* hopefully last fix!

* fix lambda regions

* fix protocol

* travis!!!!

* just run lambda test for now

* use one print

* fix escaping

* another attempt

* yet another

* re-enable all tests

* fixes

* fix for py2

* revert change

* fix for py2.7

* fix output ordering

* remove this given there's a new unittest that covers it

* changes based on review

- add skeleton logs test file
- switch to docker image that matches test env
- fix mock_logs import

* add readme entry
2017-09-27 16:04:58 -07:00
Terry Cain
f9c8836d54
. 2017-09-26 19:55:44 +01:00
Terry Cain
fcacecbef0 Nearly finished Polly implementation 2017-09-26 16:46:18 +01:00
Jack Danger
8e79fadb0f Merge pull request #1174 from terrycain/acm
ACM Implementation
2017-09-25 14:36:08 -07:00
Terry Cain
7ea4d8c3e6
Fixed missing backend declaration 2017-09-23 00:08:31 +01:00
Terry Cain
283b67cb9b
Added nearly all ACM method implementations
Added cryptography>=2.0.0 to install deps
Created base backend and certificate objects
Implemented most of the methods
Added pregenerated certs
2017-09-22 00:20:26 +01:00
Jack Danger
5cd1e2450d adding elbv2 backend 2017-08-02 13:41:38 -07:00
Mike Bjerkness
d6873c3dcb Adding ECR to moto/backends.py 2017-05-22 22:04:33 -05:00
Michael van Tellingen
783a1d73b4 Implement support for SSM parameter store
This commit adds initial support for the Simple System Manager client.

It currently only mocks the following api endpoints:
 - delete_parameter()
 - put_parameter()
 - get_parameters()
2017-04-18 19:09:10 +02:00
Steve Pulec
3c0c4c2996 Fix tests for py3. 2017-02-23 22:28:09 -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
Justin Wiley
db0b494b4f Completed the CloudWatch Events mocking module and tests. 2016-12-01 17:23:51 -08:00
Vladimir Sudilovsky
165bab0f97 opsworks: implement create_stack 2016-04-14 10:37:13 -04:00
Steve Pulec
45f92fb4c7 base rest api endpoints. 2016-03-01 12:03:59 -05:00
Hugo Lopes Tavares
bfad9b9ed6 [lambda] Implement ListFunctions, GetFunction, and DeleteFunction 2016-02-17 16:13:57 -05:00
Steve Pulec
0df03ba409 cleanup code. 2015-11-27 14:43:03 -05:00
Steve Pulec
95169c6011 First version of datapipelines. 2015-09-16 10:00:38 -04:00
Jot
930ac58a4d Added sns backend to servers, added some tests to check backend 2015-08-04 00:20:04 +02:00
Jot
42b95023f5 Added iam backend to servers, added some tests to check backend 2015-08-03 00:31:36 +02:00
Jot
b2570d901e Enabled cloudformation in server mode with some tests 2015-08-02 16:31:16 +02:00
Steve Pulec
70aafc1fd3 Add basic KMS key endpoints. 2015-06-30 05:44:39 -04:00
Steve Pulec
7156df1a63 Add vault operations. 2015-06-03 22:55:07 -04:00
Steve Pulec
dbe3eb5459 Add database CRUD. 2015-01-08 22:18:06 -05:00
Steve Pulec
da15fb711d Basic Kinesis Stream CRUD. 2014-11-26 10:55:58 -05:00
Steve Pulec
aceb30e530 Add basic CRUD. 2014-11-22 14:03:09 -05:00
Steve Pulec
93f56322d8 Fix merge conflicts for cloudwatch. 2014-10-30 23:51:09 -04:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Konstantinos Koukopoulos
76a6a86eac add Model metaclass to collect model accessor methods from backend classes 2014-06-18 10:46:20 +03:00