1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/modules/cloud/amazon
Sloane Hertel dbbad16385 [cloud] New module: Add module for managing AWS Datapipelines (cloud/amazon/data_pipeline) (#22878)
* New module for managing AWS Datapipelines

* Supports create/activate/deactivate and deletion
* Handles idempotent creation by embeding the version in the
uniqueId field
* Waits for requested state to be reached, as Botocore doesn't
have waiters yet for datapipelines

* rename module, fix imports, add tags option, improve exit_json results, fix a couple bugs, add a TODO so I don't forget

fix pep8

allow timeout to be used for pipeline creation

make .format syntax uniform

fix pep8

fix exception handling

allow pipeline to be modified, refactor, add some comments, remove unnecessary imports

pipeline activation may not be in the activated state long

remove datapipeline version option

change a loop to a list comprehension

create idempotence by hashing the options given to the module minus the objects (which can be modified)

small bugfix

* data_pipeline unittests

make unittests pep8

fix bug in unittests

* remove exception handling that serves no purpose

* Fix python3 incompatibilities in datapipeline tests and add placebo fixture maybe_sleep for faster tests

Fix python3 incompatibilities in data_pipeline build_unique_id()

Don't delete a pipeline in diff_pipeline() because it's unexpected

Don't use time.time() because it causes an issue with placebo testing

re-recorded tests

fix pep8 in data_pipeline

Remove disable_rollback from tests

Make sure unique identifier is a string

re-record tests

* improve documentation and add another example

* use a placebo fixture instead of redundant code in tests

fix tests for PLACEBO_RECORD=false

* Fix data_pipeline docs

use isinstance instead of type()

fix documentation

* fix documentation

* Remove use of undefined variable from data_pipeline module and fix license

* fix copyright header
2017-08-03 15:04:10 -04:00
..
fixtures [cloud][tests] AWS lambda module unit tests (#21768) 2017-02-23 09:58:26 -05:00
placebo_recordings [cloud] New module: Add module for managing AWS Datapipelines (cloud/amazon/data_pipeline) (#22878) 2017-08-03 15:04:10 -04:00
__init__.py Relocate module unit tests. (#18812) 2016-12-08 11:35:20 -05:00
placebo_fixtures.py Fix PEP 8 issues. 2017-03-31 14:21:54 -07:00
test_api_gateway.py [cloud] New module: AWS API Gageway module (#20230) 2017-06-05 10:25:56 -04:00
test_cloudformation.py Fix PEP 8 issues. 2017-03-31 14:21:54 -07:00
test_data_pipeline.py [cloud] New module: Add module for managing AWS Datapipelines (cloud/amazon/data_pipeline) (#22878) 2017-08-03 15:04:10 -04:00
test_ec2_utils.py fixed type mapper and added tests (#20963) 2017-02-02 09:46:17 -05:00
test_ec2_vpc_nat_gateway.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_kinesis_stream.py [cloud][test] Use pytest conditional imports instead of nose/SkipTest (#22019) 2017-03-02 17:07:56 -05:00
test_lambda.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_s3.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00