Brian Pandola
c6f5e816cc
Add ClusterCreateTime
to Redshift response
...
Fixes #1778
2018-08-20 18:48:13 -07:00
chrisLeeTW
001a7d0278
type of json field - nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-08-17 01:33:50 +08:00
Neil Roberts
6985f27167
Moto-1781: Add unit tests to verify that rotation is enabled.
...
- Add standalone unit test to verify that rotation is enabled and the
rotation interval is correct.
- Add server test to verify that rotation is enabled and the rotation
interval is correct. Commented out until nested dict error is sorted.
- Fix incorrectly asserted message strings.
2018-08-15 17:11:58 -07:00
Neil Roberts
71ed78141a
Moto-1781: Implement server unit tests.
...
*** Includes 2 commented out tests that generate errors pointing deeper
in the code. ***
2018-08-15 11:32:54 -07:00
Neil Roberts
4ced0ce0db
Opportunistic update to unit test for consistency.
2018-08-15 11:22:07 -07:00
Neil Roberts
b2997304b4
Moto-1781: Implement standalone unit tests to cover bad parameters.
2018-08-15 11:20:29 -07:00
Neil Roberts
6e716a5926
Moto-1781: Update implementation coverage.
2018-08-15 11:06:26 -07:00
Neil Roberts
43277a59b9
Moto-1781: finish implementation of rotate_secret and add happy test.
...
- Implement RotateSecret to support initial setup of secret rotation.
Moto's implementation of secrets is currently flat and needs to gain
some dimension before full rotation can be simulated.
- Add the happy path unit test.
2018-08-15 11:04:44 -07:00
Neil Roberts
69a78ba7c9
Moto-1781: Create initial stub of rotate_secret and tests.
2018-08-15 10:52:30 -07:00
Neil Roberts
0b0d16e8ec
Opportunistic update to unit test for consistency.
2018-08-15 10:33:38 -07:00
Neil Roberts
32c32ee5d7
Moto-1781: Implement rotate_secret response.
2018-08-15 10:29:58 -07:00
Chih-Hsuan Yen
52248589bf
Update lxml and sure for Python 3.7 compatibility
2018-08-15 23:25:26 +08:00
Chih-Hsuan Yen
d00300bc1b
Test Python 3.7 on Travis CI
2018-08-15 23:25:26 +08:00
Chih-Hsuan Yen
354d48fb8d
Fix HTTPretty on Python 3.7
...
This is a revised backport of
5776d97da3
and the following fixup https://github.com/gabrielfalcao/HTTPretty/pull/341
2018-08-15 23:25:26 +08:00
Steve Pulec
9c6e7f2ee7
Merge pull request #1754 from NeilRoberts/add_describe_secret_to_secretsmanager
...
Issue# 1753 - implement secretsmanager.DescribeSecret
2018-08-14 20:24:37 -04:00
ferruvich
037606dca0
Merge branch 'master' into add_extra_attributes_in_token_payload since it contains the 1.3.3 source code.
2018-08-14 23:29:40 +02:00
Daniele Stefano Ferru
58ba23069a
Merge pull request #3 from spulec/master
...
Updating master
2018-08-14 23:27:12 +02:00
Neil Roberts
48a71ae329
Issue 1753: Add support for DescribeSecret
...
- Merge changes from upstream master.
- Update get_secret_value to use helper method for validating secret
identifier.
- Update implementation coverage checklist.
2018-08-14 12:04:39 -07:00
Neil Roberts
1f499971d1
Merge branch 'master' into add_describe_secret_to_secretsmanager
2018-08-14 11:01:47 -07:00
Steve Pulec
93c9a51fc6
Merge pull request #1772 from NeilRoberts/handle_secret_name_and_id_properly_issue-1770
...
Issue 1770: Deal with the friendly name properly
2018-08-13 20:31:08 -04:00
Neil Roberts
b2c672a074
Issue 1753: add server test for mismatched secret
2018-08-13 12:53:22 -07:00
Neil Roberts
85d3250b89
Issue 1753: add test for mismatched secret
2018-08-13 12:49:35 -07:00
Neil Roberts
92bc3ff910
Issue 1753: Add support for DescribeSecret
...
- Add helper method to validate the secret identifier from the client.
- Update describe_secret to use new helper method.
- Insert friendly name into "Name" field of returned description (was
SecretId). ***Assumes acceptance of PR 1772.
2018-08-13 12:41:43 -07:00
Manuel Adarve
b75e78a3cd
ECS: Added schedulingStrategy support
...
Co-authored-by: Jonas Gratz <jgratz@newstore.com>
2018-08-13 18:30:05 +02:00
Neil Roberts
1f3256ed40
Issue 1770: Deal with the friendly name properly
...
- Save friendly name in create_secret.
- Reference the saved friendly name in responses that have "Name" field.
- Verify the received secret_id matches the current value. Don't just
test for an empty string.
- Add test for mismatched secret_id.
2018-08-10 16:40:31 -07:00
Ferruvich
f9762a5ecb
Removing failing test in order to check coverage and Travis test
2018-08-10 16:52:48 +02:00
Ferruvich
aae3ab6b90
Added package dependency
2018-08-10 16:26:09 +02:00
Ferruvich
df28ec03d2
Added extra test
2018-08-10 16:07:27 +02:00
Neil Roberts
b47fc74650
Set correct default auto rotation period.
2018-08-09 18:19:33 -07:00
Mike Liu
de532b93b7
Fix flake8.
...
Remove extra whitespace.
2018-08-09 10:53:32 -04:00
Mike Liu
1b1fc4c030
Support getting cloudformation targets for the SSM backend.
...
SendCommand allows filtering for instances by tags. This adds support
for filtering by a cloud formation stack resource when creating command
invocations.
2018-08-09 10:34:59 -04:00
Nathan Sutton
8393c7f20b
Don't error on double create queue with same attrs
...
Creating a queue a second time with the same attributes should not raise
an error. This change makes it work correctly.
2018-08-08 21:10:13 -05:00
Nathan Sutton
9d1c665310
Force receive_message_wait_time_seconds to be int
...
When a queue is created with the ReceiveMessageWaitTimeSeconds
attribute the value is never converted to an integer. When the
ReceiveMessage action is called it tries to compare the string
ReceiveMessageWaitTimeSeconds with the min and max wait times which
raises a TypeError.
The solution is to convert this value to an integer before comparing.
2018-08-08 19:14:56 -05:00
Steve Pulec
42d486f9b0
Merge pull request #1750 from TheDooner64/glue-data-catalog
...
Scaffolding for AWS Glue Data Catalog
2018-08-08 13:25:15 -04:00
Karl Gutwin
de4d5d9d62
Correct flake8 failures
2018-08-08 11:13:25 -04:00
Karl Gutwin
5ae5ae0efa
Correct deviation in behavior of policy versions from standard API
2018-08-07 17:24:15 -04:00
Karl Gutwin
9e667d6b25
Add get_policy IAM action
2018-08-07 16:59:15 -04:00
TheDooner64
3830757ec6
Add glue to backends to support server mode
2018-08-07 16:57:20 -04:00
Jack Danger
ba9e795394
Version 1.3.4 ( #1757 )
...
* bumping to version 1.3.4
* updating changelog
* fixing generation of implementation coverage
2018-08-07 10:53:21 -07:00
Will Bengtson
a420064621
IAM get account authorization details ( #1736 )
...
* start of get_account_authorization_details for iam
* add get_account_authorization_details dynamic template
* remove old commented out template
* Fix flake8 problems and add unit test
2018-08-07 10:31:36 -07:00
Ferruvich
4776228b68
Testing new feature
2018-08-07 13:55:32 +02:00
Ferruvich
f23288d9b9
Changed the 'create_access_token' function in order to add the extra data into 'create_jwt' function
2018-08-07 13:55:13 +02:00
Neil Roberts
65ef61ca1d
Fix linter warning.
2018-08-06 15:54:37 -07:00
Neil Roberts
cce3a678aa
Implement secretsmanager.DescribeSecret and tests.
2018-08-06 14:40:33 -07:00
Benoît Faucon
5d7a432af2
Tests on Travis: specify region name.
2018-08-06 11:01:33 +02:00
Benoît Faucon
ae2e6fef63
Add support for unregistered instances in ELB DescribeInstancesHealth API.
2018-08-06 10:47:00 +02:00
TheDooner64
9339a476d2
Adjust glue get_tables method to use items instead of iteritems
2018-08-05 19:46:40 -04:00
TheDooner64
d988ee15fe
Add create_table, get_table, and get_tables for the Glue Data Catalog
2018-08-05 19:18:11 -04:00
TheDooner64
c5c57efbb5
Creating a database that already exists in the glue data catalog raises an exception
2018-08-05 19:18:11 -04:00
TheDooner64
e67a8c6f1b
Revert minor changes to s3 tests
2018-08-05 19:18:11 -04:00