Commit Graph

3766 Commits

Author SHA1 Message Date
Steve Pulec
c8b94b6e9f
Merge pull request #2265 from IVIURRAY/bugfix/scan-projection
ProjectionExpression works with table.scan()
2019-07-01 21:21:53 -05:00
Steve Pulec
710961ab20
Merge pull request #2272 from spulec/unpin-pyyaml
Remove pyyaml pin. CC #2271.
2019-07-01 21:18:33 -05:00
Steve Pulec
3920ff0c9a
Merge pull request #2236 from dkuntz2/glue-endpoints
Add glue.delete_partition and glue.batch_delete_partition
2019-07-01 21:16:36 -05:00
Steve Pulec
176799637c
Merge pull request #2247 from queue-tip/ecr-batch-delete-image-fix
Delete ECR image when it has no tags
2019-07-01 21:09:52 -05:00
Steve Pulec
8a5ccf7dee
Merge pull request #2251 from acsbendi/random_suffix_fix
Fixed random_suffix()
2019-07-01 21:03:36 -05:00
Steve Pulec
29c3bc30d6
Merge pull request #2262 from abruehl/cf_limit_implicit_nlb_names_to_32_char
ELBv2 LBs names must be 32 char or shorter
2019-07-01 21:01:57 -05:00
Steve Pulec
7f21074991
Merge pull request #2269 from acsbendi/policy-validation
IAM policy document validation
2019-07-01 20:56:52 -05:00
Steve Pulec
35e7f1b4e9 Remove pyyaml pin. CC #2271. 2019-07-01 20:47:02 -05:00
acsbendi
e9dfa890f4 Fixed linting errors. 2019-07-01 19:07:22 +02:00
acsbendi
ed2682582f Policy validation precedes finding policy for create_policy_version. 2019-07-01 18:54:32 +02:00
acsbendi
c46857e3d3 Fixed errors for valid policy documents. 2019-07-01 18:22:31 +02:00
acsbendi
1bda3f2213 Added tests for valid policy documents. 2019-07-01 18:21:54 +02:00
acsbendi
fef22879c5 Implemented legacy validation (parsing). 2019-07-01 17:31:12 +02:00
acsbendi
85efec29b1 Added more tests. 2019-07-01 17:30:59 +02:00
Steve Pulec
1d890099c3 More string formatting. 2019-07-01 08:58:24 -05:00
Steve Pulec
940b4a9542 Cleanup string formatting. 2019-07-01 00:13:16 -05:00
Steve Pulec
0648393274 Fix updating version for py2. 2019-06-30 23:53:31 -05:00
Steve Pulec
15d596ce75 Dont fail on duplicate upload. 2019-06-30 23:37:47 -05:00
Steve Pulec
4f86cad21e Simplify version numbers for dev to make pypi happy. 2019-06-30 23:29:23 -05:00
Steve Pulec
c4da5632ab Bump version number for next release. 2019-06-30 23:18:14 -05:00
Steve Pulec
73f726fffe Need to do a git fetch so we have full depth of tag history. 2019-06-30 23:03:06 -05:00
Steve Pulec
0a2bf3a262 Fallback on descibing tags. 2019-06-30 22:51:38 -05:00
Steve Pulec
6fa51ac3b4 Setup pypi automatic publishing. 2019-06-30 22:31:21 -05:00
acsbendi
81098e3453 Implemented every validation point except for legacy parsing. 2019-06-30 20:34:01 +02:00
acsbendi
d2b0812edc Added more tests. 2019-06-30 20:33:17 +02:00
acsbendi
e133344846 Implemented validating action prefixes. 2019-06-30 18:48:27 +02:00
acsbendi
50745fc5c0 Fixed resource exist validation and implemented actions exist validation. 2019-06-30 18:00:16 +02:00
acsbendi
55f9040296 Fixed old unit tests in test_iam that didn't use valid IAM policies. 2019-06-30 17:57:50 +02:00
acsbendi
4748c6b073 Enabled validating policies for all operations similar to CreatePolicy. 2019-06-30 17:35:26 +02:00
acsbendi
ef20b47f97 Implemented checking policy documents for syntax errors. 2019-06-30 17:09:55 +02:00
acsbendi
99336cbe6a Reorganized tests using a generator method and fixed error messages. 2019-06-30 17:04:02 +02:00
acsbendi
896f7b6eb2 Added more tests. 2019-06-30 16:36:49 +02:00
acsbendi
a4b850aab9 Added test cases for mutually exclusive elements. 2019-06-30 14:03:18 +02:00
acsbendi
f0e9ea4e72 Created tests for policy documents. 2019-06-30 13:47:17 +02:00
IVIURRAY
cd666758f6 one liner 2019-06-27 20:13:36 +01:00
IVIURRAY
4ce0e6bbcb add extra test for ProjectionExpression using scan with ExpressionAttributes 2019-06-27 19:37:46 +01:00
IVIURRAY
949637a14c remove debug 2019-06-27 19:12:53 +01:00
IVIURRAY
b60097fab2 improve test case 2019-06-27 19:08:32 +01:00
IVIURRAY
e50ce7287d ProjectionExpression works with table.scan() 2019-06-26 21:54:48 +01:00
Adam Bruehl
7cc1afa25f ELBv2 LBs names must be 32 char or shorter 2019-06-26 11:56:17 -04:00
Juan Martinez
2275c53b3e Update lists of implemented services and endpoints (#2258) 2019-06-25 00:43:35 +01:00
Bendegúz Ács
e0078a781a
Fixed random_suffix() 2019-06-18 15:27:07 +02:00
Juan Martinez
9a26c92e72 Delete ECR image when it has no tags
This is a bug fix to my initial work when implementing
batch_delete_image. Deleting the last tag for a given image should
delete the image from the backend.

I also cleaned up the tests previously-added in the initial
implementation.
2019-06-17 13:41:35 -04:00
Don Kuntz
17b8ce7df0 Update implementation coverage with current glue coverage 2019-06-11 14:32:55 -05:00
Don Kuntz
df2d2ac6b4 Add endpoints to glue for deleting partitions
Specifically add glue.delete_partition and glue.batch_delete_partition.
2019-06-11 14:32:50 -05:00
Don Kuntz
df493ea18d Add glue.batch_delete_table, and fix glue.batch_create_partition to respond correctly (#2233)
* Fix glue.batch_create_partition to only respond with Errors if Errors occurred

* Add glue.batch_delete_table endpoint

* Remove unused variable
2019-06-10 20:14:30 +01:00
Bendegúz Ács
ab8a189bbf Fixed policy version's Document type for AWS managed policies (#2234)
* Added checking Document's type in AWS managed policy version response.

* Fixed policy version's Document type for AWS managed policies.
2019-06-10 20:00:37 +01:00
Don Kuntz
3833449b36 Add batch_create_partition endpoint to Glue client (#2232)
* Add batch_create_partition endpoint to Glue client

* Remove exception as e from glue batch_create_partition, because it's unused
2019-06-07 09:28:10 +01:00
Bendegúz Ács
97ab7fd307 Fixes for get_policy and get_policy_version with AWS managed policies (#2231)
* Created test for get_policy with AWS managed policy.

* Created failing test for get_policy_version with AWS managed policy.

* Updated AWS managed policies.

* Fixed failing tests.

* Fixed trying to compare datetime with string in test case.

* Fixed CreateDate of AWS managed policies overwritten by their version's CreateDate.

* Fixed and improved tests for managed AWS policies.

* Added test for AWS managed policy with v4 default version.

* Fixed not correctly returning dates for AWS managed policies.
2019-06-06 13:36:39 +01:00
Juan Martinez
ed93821621 Set ECR imagePushedAt to current date and time (#2229) 2019-06-06 13:34:10 +01:00