Commit Graph

268 Commits

Author SHA1 Message Date
Jack Danger
1744f4340f bumping to version 1.1.25 2017-11-20 10:26:59 -08: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
Jack Danger
fc78e6fee8 bumping to version 1.1.24 2017-10-24 13:17:49 +02:00
Florent Rivoire
5c55119562 Do not freeze requirement aws-xray-sdk to a specific version (>= instead of ==) 2017-10-23 10:47:56 +02:00
Jack Danger
b286123425 bumping to version 1.1.23 (#1269) 2017-10-17 18:33:57 -07:00
Jack Danger
317dbbd1a3 requiring minimum botocore (#1268)
Boto and Boto3 can be a little old but Moto will throw an error if
botocoe doesn't even know about some of the services it supports.
As of this commit Polly is new enough some users are running into
exceptions.
2017-10-17 18:13:27 -07:00
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
Steve Pulec
348d1803ed 0.3.5 2014-08-25 21:19:46 -04:00
Steve Pulec
b94401247f 0.3.4 2014-08-20 07:40:12 -04:00
Steve Pulec
415291d11a 0.3.3 2014-07-18 20:56:52 -04:00
Steve Pulec
50d2608478 0.3.2 2014-06-23 21:27:15 -04:00
Steve Pulec
df7e139855 0.3.1 2014-05-14 09:19:23 -04:00
Daniel Hall
82c8c43f5f Update setup.py to require 'requests' 2014-05-14 20:50:22 +10:00
Steve Pulec
befeb5bdde 0.3.0 2014-05-13 23:59:55 -04:00
Steve Pulec
2bba0e9070 0.2.23 2014-05-09 17:46:54 -04:00
Steve Pulec
3c4bb2a1b4 0.2.22 2014-04-30 11:24:24 -04:00
Steve Pulec
3e37aca241 0.2.21 2014-03-28 16:08:06 -04:00
Steve Pulec
fc8fd79cd8 0.2.20 2014-03-21 17:06:58 -04:00
Steve Pulec
e0f4c60796 0.2.19 2014-03-04 17:55:50 -05:00
Steve Pulec
436c0be866 0.2.18 2014-02-06 20:54:40 -05:00
Steve Pulec
bfad3895a7 0.2.17 2014-01-28 18:37:03 -05:00
Steve Pulec
55363b0895 0.2.16 2014-01-11 20:55:47 -05:00
Steve Pulec
7eb7704506 Add requirements for Route53. 2014-01-11 20:29:59 -05:00
Steve Pulec
531cd42e0f 0.2.15 2013-12-30 13:36:05 -05:00
Steve Pulec
b9538f74dd 0.2.14 2013-12-30 12:33:45 -05:00
Steve Pulec
2358622597 0.2.13 2013-12-30 12:25:46 -05:00
Steve Pulec
fefc12457e 0.2.12 2013-12-28 20:19:01 -05:00
Steve Pulec
3b8cd5ad7d Exclude tests from packagin 2013-12-19 16:16:07 -05:00
Steve Pulec
ac1d2f5ef4 0.2.11 2013-11-23 10:39:32 -05:00
Steve Pulec
d5b3af202e 0.2.10 2013-11-08 16:05:36 -05:00
Steve Pulec
3bddbb4af3 Test out py26 with new HTTPretty 2013-10-03 20:34:13 -04:00
Steve Pulec
ceed17bec4 0.2.9 2013-09-10 16:55:12 -04:00
Steve Pulec
dc4c50d13d 0.2.8 2013-07-28 17:01:49 -04:00
Steve Pulec
fd8a9e4a59 0.2.7 2013-06-27 00:04:55 -04:00
Steve Pulec
d7bfe5dea7 0.2.6 2013-06-25 13:34:11 -04:00
Steve Pulec
dd3cfe5ab6 0.2.5 2013-06-04 17:30:48 -04:00
Steve Pulec
a2de647880 change httpretty to real version 2013-06-04 17:30:32 -04:00
Steve Pulec
d47c481912 0.2.4 2013-05-25 17:13:40 -04:00
Steve Pulec
124bc04598 0.2.3 2013-05-18 19:35:26 -04:00
Steve Pulec
d42a27b3b3 0.2.2 2013-05-17 09:49:31 -04:00
Steve Pulec
fc02faa5bf 0.2.1 2013-05-16 22:26:45 -04:00
Steve Pulec
6ceb36161c 0.2.0 2013-05-06 23:36:27 -04:00
Steve Pulec
0fc2a638dd fix dependency link 2013-05-03 19:53:56 -04:00
Steve Pulec
47bd4c49a3 attempting to move to upstream httpretty 2013-05-03 19:33:13 -04:00
Steve Pulec
fd828bdb2d Revert "Switch to real version of httpretty. woot."
This reverts commit 84aeff5b06.
2013-04-30 08:33:53 -04:00
Steve Pulec
84aeff5b06 Switch to real version of httpretty. woot. 2013-04-29 23:36:24 -04:00
Steve Pulec
85042c5c76 0.1.5 2013-04-27 17:58:37 -04:00
Steve Pulec
6107658c65 0.1.4 2013-04-18 23:07:52 -04:00
Steve Pulec
afc7a64a34 0.1.3 2013-04-14 11:17:25 -04:00
Steve Pulec
7f26525445 0.1.2 2013-03-26 10:13:50 -04:00
Steve Pulec
e677193753 0.1.1 2013-03-23 10:01:04 -04:00