Commit Graph

212 Commits

Author SHA1 Message Date
Terry Cain
49ddb500a8 AWS X-Ray client mock. (#1255)
* X-Ray Client SDK patched

Fixes #1250

* Fixed flake8

* Fixed some issues

* Fixed flake8

* Fixed more typos

* Fixed python2 string

* Fixed aws-sdk patch order

* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Jack Danger
94fd0ad9f8 bumping to version 1.1.22 2017-10-10 13:36:50 -07:00
Jack Danger
6e889daaa8 bumping to version 1.1.21 2017-10-02 15:35:36 -07:00
Jack Danger
867fc3b7f7 Removing dicttoxml dependency 2017-10-02 15:10:06 -07:00
Jack Danger
c5b6f5ea07 bumping to version 1.1.20 2017-10-01 17:00:48 -07: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
Jack Danger
ca8ce8705b Merge pull request #1216 from JackDanger/version-1.1.19
bumping to version 1.1.19
2017-09-27 14:43:54 -07:00
Jack Danger
ca9db672b4 bumping to version 1.1.19 2017-09-27 14:43:39 -07:00
Jack Danger
8656f8deef Merge pull request #1215 from kevinfrommelt/fix-missing-json
Install addition package files
2017-09-27 14:43:26 -07:00
Kevin Frommelt
a8b64022bb
Install addition package files 2017-09-27 16:33:52 -05:00
Jack Danger
9c5d05dd61 bumping to version 1.1.18 2017-09-27 14:01:34 -07:00
Jack Danger
4768c28443 bumping to version 1.1.17 2017-09-27 13:51:41 -07:00
Jack Danger
12d3cc7558 bumping to version 1.1.16 2017-09-27 12:53:36 -07:00
Jack Danger
dd32e02dfa bumping to version 1.1.15 2017-09-27 11:54:35 -07:00
Jack Danger
8355024db8 bumping to version 1.1.14 2017-09-25 14:42:56 -07:00
Jack Danger
8e79fadb0f Merge pull request #1174 from terrycain/acm
ACM Implementation
2017-09-25 14:36:08 -07:00
Jack Danger
c2e0d8876d bumping to version 1.1.13 2017-09-22 10:11:09 -07: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
a1292d8c6e bumping to version 1.1.12 2017-09-21 10:55:19 -07:00
Jack Danger
39f3e575be bumping to version 1.1.11 2017-09-18 14:00:16 -07:00
Jack Danger
dc1d0da63c bumping to version 1.1.10 2017-09-16 20:09:07 -07:00
Jack Danger
3c0710720a bumping to version 1.1.9 2017-09-15 10:52:44 -07:00
Jack Danger
bbd541ce15 bumping to version 1.1.8 2017-09-14 22:58:09 -07:00
Jack Danger
21df9b9a78 bumping to version 1.1.7 2017-09-14 11:14:41 -07:00
Jack Danger
b2423f44ac bumping to version 1.1.6 2017-09-13 15:25:16 -07:00
Jack Danger
417ade7b8f bumping to version 1.1.5 2017-09-12 14:53:50 -07:00
Jack Danger
88b4d0b271 bumping version to 1.1.4 2017-09-11 12:34:20 -07:00
Jack Danger
60cfa3e32b bumping version to 1.1.3 2017-09-08 16:38:49 -07:00
Jack Danger
b088811d06 bump version to 1.1.2 2017-09-07 11:31:42 -07:00
Chris Evett
646e45b7e4 update dependencies so that make init will work; exclude ropeproject folder in gitignore (#1111) 2017-09-07 11:30:46 -07:00
Jack Danger
15e5fe44e9 bump version to 1.1.1 (#1089) 2017-08-25 23:45:19 -07:00
Jack Danger
8e57dc92f4 bump version to 1.1.0 (#1084) 2017-08-25 21:46:14 -07:00
Toshiya Kawasaki
04880dec22 use requests version more than 2.5.0, because requests.request started support json argument from v2.4.2 2017-08-17 23:34:03 +09:00
Steve Pulec
856de724d0 1.0.1 2017-06-03 20:13:03 -04:00
Anthony Miyaguchi
601fd8a7b4 Fix issue #949 - Add mock as dependency 2017-05-16 14:56:29 -07:00
Steve Pulec
af9c65c5cc Version 1.0.0 2017-05-12 19:59:26 -04:00
Steve Pulec
0fe824277b Merge pull request #923 from JackDanger/jack/cloud-formation-yaml
Allow yaml templates for cloud formation
2017-05-12 18:41:46 -04:00
Jack Danger Canty
94a923ae91 adding pyaml dependency 2017-05-11 06:50:33 -07:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
3cdb4afad0 Fix redshift responses to work with json or xml. 2017-03-15 21:58:37 -04:00
Steve Pulec
cf771d7f14 Add py26 deprecation to changelog 2017-03-06 21:22:37 -05:00
Steve Pulec
d530bcf4a7 remove py26. 2017-02-28 21:29:28 -05:00
Steve Pulec
468a1b970c Add responses dependencies. 2017-02-15 22:47:33 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Steve Pulec
4eaf5d527e 0.4.31 2017-01-24 09:48:31 -05:00
Steve Pulec
1c61498cc8 0.4.30 2016-11-09 11:25:14 -05:00
Steve Pulec
24035877f6 0.4.29 2016-11-07 14:55:08 -05:00
Steve Pulec
c3e0ff4fe7 0.4.28 2016-11-07 12:57:18 -05:00
Taro Sato
484faa54c4 Implement filters and pagers for some EMR end points 2016-10-20 10:03:17 -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
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
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
Steve Pulec
97513590c8 0.4.27 2016-09-16 18:41:11 -04:00
Steve Pulec
18b6197bf2 Merge pull request #674 from IlyaSukhanov/master
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-27 21:05:31 -04:00
Waldemar Hummer
5075f6684f add support for requestTemplates parameter in apigateway mock 2016-08-10 13:55:59 +10:00
Ilya Sukhanov
a37838b638 Preserve Namespace and MetricName when creating cloudwatch alarm. 2016-08-01 17:31:08 -04:00
Steve Pulec
5ed874cd6e 0.4.25 2016-06-18 20:47:49 -04:00
Steve Pulec
9c176671d0 0.4.24 2016-05-01 22:35:49 -04:00
Jay O'Conor
13ef083271 Update setup.py
Boto >= 2.36.0 required to resolve awslambda ImportError
2016-03-18 12:12:24 -07:00
Jay O'Conor
3957a93a64 Moto requires boto >= 2.33.0
Moto imports a class in boto that did not exist before boto 2.33.0

Partial traceback showing ImportError with versions of boto < 2.33.0:
  File "/src/python/moto/moto/__init__.py", line 8, in <module>
    from .autoscaling import mock_autoscaling  # flake8: noqa
  File "/src/python/moto/moto/autoscaling/__init__.py", line 2, in <module>
    from .models import autoscaling_backends
  File "/src/python/moto/moto/autoscaling/models.py", line 5, in <module>
    from moto.elb import elb_backends
  File "/src/python/moto/moto/elb/__init__.py", line 2, in <module>
    from .models import elb_backends
  File "/src/python/moto/moto/elb/models.py", line 4, in <module>
    from boto.ec2.elb.attributes import (
ImportError: cannot import name ConnectionSettingAttribute
2016-03-18 10:50:40 -07:00
Steve Pulec
b5d5c02d75 0.4.23 2016-03-02 15:40:21 -05:00
Steve Pulec
a9d161e58e 0.4.22 2016-02-17 16:44:57 -05:00
Steve Pulec
ac4ce7d53f 0.4.21 2016-01-24 17:21:19 -05:00
Steve Pulec
595259a99d 0.4.20 2016-01-17 18:11:00 -05:00
Steve Pulec
2e69986e01 lock httpretty. 2015-12-13 21:53:58 -05:00
Steve Pulec
fe946588b2 Make moto require boto>=2.26.0. Closes #469. 2015-11-28 08:51:41 -05:00
Steve Pulec
704110d9c7 0.4.19 2015-11-27 14:46:50 -05:00
Steve Pulec
0061eb77d7 0.4.18 2015-11-03 14:01:09 -05:00
Steve Pulec
99a4bcf98f 0.4.17 2015-11-02 10:11:14 -05:00
Steve Pulec
fcaa8fbce7 0.4.16 2015-11-02 10:09:17 -05:00
Steve Pulec
11cb2fba16 0.4.15 2015-10-06 15:20:21 -04:00
Steve Pulec
967c778390 0.4.14 2015-09-17 17:21:57 -04:00
Steve Pulec
1b811e6949 0.4.13 2015-09-16 11:29:03 -04:00
Steve Pulec
8b0f42afed 0.4.12 2015-08-31 16:56:07 -04:00
Steve Pulec
b55600ce42 0.4.11 2015-08-26 22:58:34 -04:00
Steve Pulec
8093505e89 Merge pull request #400 from ZuluPro/master
Began Documentation
2015-08-13 20:22:00 -04:00
Andy Freeland
0e3f25b0ec Use extras_require to build a wheel usable on Python 2.6
By using PEP 426 markers with `extras_require` in `setup.py`, wheel can
parse the marker and install ordereddict only on Python 2.6.

ref: https://wheel.readthedocs.org/en/latest/#defining-conditional-dependencies

Fixes #340.
2015-08-11 21:35:49 -04:00
Steve Pulec
6b2f54604e 0.4.10 2015-08-03 22:17:19 -04:00
Ilya Sukhanov
3291f325dd version bump 2015-08-03 10:23:32 -04:00
Steve Pulec
8573333932 0.4.8 2015-08-02 10:04:13 -04:00
ZuluPro
d662895c5d Began Documentation 2015-07-27 11:44:41 -04:00
Ilya Sukhanov
cb4e2289f6 bump version 2015-07-22 21:39:45 -04:00
Steve Pulec
7f2abc41a5 0.4.6 2015-07-13 19:31:23 -04:00
Steve Pulec
8b41af84a8 0.4.5 2015-07-13 10:51:56 -04:00
Steve Pulec
0ec6f87268 0.4.4 2015-06-29 21:03:09 -04:00
Steve Pulec
77af26987f 0.4.3 2015-06-09 22:03:50 -04:00
Steve Pulec
ecb4623d3b 0.4.2 2015-05-20 17:43:21 -04:00
Jeff Legge
e736482bec Update minimum support boto version.
boto 2.20.0 introduces kinesis.  alternatively, this requirement could be
relaxed by using conditional imports.
2015-02-23 16:02:20 -08:00
Steve Pulec
8095f31772 0.4.1 2015-02-22 10:57:28 -05:00
Steve Pulec
50c629e123 0.4.0 2015-02-03 20:47:24 -05:00
Steve Pulec
5e8539d48e Remove dicttoxml. 2015-02-03 17:04:36 -05:00
Steve Pulec
470e9d48e9 0.3.9 2014-11-16 19:25:57 -05:00
Steve Pulec
0cae959f05 0.3.8 2014-10-29 20:26:05 -04:00
Steve Pulec
0fcb00dcf5 0.3.7 2014-10-10 15:20:20 -04:00
Ilya Sukhanov
cbf79ceea0 Reorganize requirements.
Stab at issue #194

Have requirements.txt use setup.py, this way there is only one place of
requirements for users.
2014-09-10 11:35:06 -04:00
Steve Pulec
6db3e6dd79 0.3.6 2014-09-08 22:21:08 -04:00
David Baumgold
94c1970a03 Fix up setup.py
Add classifiers, license, test suite info
2014-08-29 23:46:57 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00