Commit Graph

28 Commits

Author SHA1 Message Date
Matěj Cepl
77dc60ea97 Port test suite from nose to pytest.
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
jweite
49d92861c0
Iam cloudformation update, singificant cloudformation refactoring (#3218)
* IAM User Cloudformation Enhancements: update, delete, getatt.

* AWS::IAM::Policy Support

* Added unit tests for AWS:IAM:Policy for roles and groups.  Fixed bug related to groups.

* AWS:IAM:AccessKey CloudFormation support.

* Refactor of CloudFormation parsing.py methods to simplify and standardize how they call to the models.  Adjusted some models accordingly.

* Further model CloudFormation support changes to align with revised CloudFormation logic.  Mostly avoidance of getting resoure name from properties.

* Support for Kinesis Stream RetentionPeriodHours param.

* Kinesis Stream Cloudformation Tag Support.

* Added omitted 'region' param to boto3.client() calls in new tests.

Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-08-27 10:11:47 +01:00
jweite
da07adae52
* Support for CloudFormation update and delete of Kinesis Streams (#3212)
* Support for CloudFormation stack resource deletion via backend resource method
  delete_from_cloudformation_json() via parse_and_delete_resource().
* Correction to the inappropriate inclusion of EndingSequenceNumber in open shards.
  This attribute should only appear in closed shards.  This regretfully prevents
  confirmation of consistent record counts after split/merge in unit tests.
* Added parameters/decorator to CloudFormationModel method declarations to calm-down Pycharm.

Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-08-03 16:04:05 +01:00
Asher Foa
d9d055c75d Fix more typos. 2020-01-23 10:15:02 -08:00
Fabio Dias
743dd46399 black linting 2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5 ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override 2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630 Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id 2019-12-16 19:56:11 -05:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Jack Danger
0723fcf6e7 Supporting more modern Firehose features
This implements ExtendedS3DestinationConfiguration, allowing
serialization to Parquet and ORC formats as part of a Firehose
destination.
2019-10-10 17:44:09 -07:00
Steve Pulec
75d9707e8e
Merge pull request #2099 from ssoulier/master
fix bug in Stream init (wrong number of shards)
2019-07-01 22:27:33 -05:00
Alexey Firsov
f13e4e41cd add implemented kinesis method describe_stream_summary (#2023) 2019-05-21 00:02:36 +01:00
stephane soulier
fa3fd729d1 fix bug in Stream init (wrong number of shards) 2019-03-08 16:27:24 +01:00
Henadzi Tsaryk
46dd351965 Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response (#1715)
* Add ApproximateArrivalTimestamp to Kinesis response

* Add MillisBehindLatest to Kinesis get_records response
2018-07-13 10:06:28 +01:00
Brian Cavagnolo
d2eea02774 add support for kinesis AT_TIMESTAMP shard iterator (#1376)
Fixes #813
2017-12-08 10:57:05 +00:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981 Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Steve Pulec
ddf2f5a754 Fix firehose to work without Redshift config. 2016-10-09 20:24:09 -04:00
root
84b9a7d101 fix integer division in testcase for py3 2015-12-05 12:46:31 +00:00
root
80688ea2b2 - implement basic sharding scheme
- add API for merge_shards and split_shard
 - add some parater typ checking for put_record(s)
2015-12-05 11:13:34 +00:00
root
1d1bac1958 typo 2015-12-04 09:15:19 +00:00
root
8ae17479d6 add testcases for add, list and remove tags 2015-12-04 09:13:08 +00:00
Steve Pulec
d9faab3e5e Fix error for describing kinesis stream that has not been created. 2015-11-02 13:25:31 -05:00
Steve Pulec
fe2126b727 py26 fix 2015-10-30 10:04:08 -04:00
Steve Pulec
ac1bb336c8 firest draft of firehose support. 2015-10-30 09:59:57 -04:00
Steve Pulec
57d45aa4b8 Add more shard iterator types. 2014-11-26 20:49:21 -05:00
Steve Pulec
da15fb711d Basic Kinesis Stream CRUD. 2014-11-26 10:55:58 -05:00