Commit Graph

2325 Commits

Author SHA1 Message Date
Jack Danger
b161835198 Create git tag on release (#1085)
I'm pretty forgetful so I doubt I'd remember to do this
2017-08-25 23:44:03 -07:00
Daniel Lutsch
1f6b1b8c4a Add list support to filters (#1083)
* initial pass with TODOs

* add list support to get_object_value

* fix group-id filters

* add tests for sg name and id filters
2017-08-25 23:43:29 -07:00
Jack Danger
8e57dc92f4 bump version to 1.1.0 (#1084) 2017-08-25 21:46:14 -07:00
Daniel Lutsch
945b984538 Add private-dns-name filter and fix regional DNS (#1076)
* add private-dns-name to filter_dict_attribute_mapping

* add region_name attribute to Instance and InstanceResponse

* set dns name based on region

* test private-dns-name and network-interface.private-dns-name filters. checking both regional dns formats

* update test_ec2_classic_has_public_ip_address to use correct dns values
2017-08-23 01:39:50 -07:00
Jack Danger
245e75f7b8 Fixing trailing whitespace in elbv2 cert (#1078) 2017-08-23 00:30:48 -07:00
Jack Danger
ed5059367c Handling the case of missing listeners (#1077) 2017-08-22 23:58:32 -07:00
Toshiya Kawasaki
2ace59a60e fix bug that remove_rule doesnt remove rule correctly (#1074) 2017-08-21 12:30:03 -07:00
Toshiya Kawasaki
ce7eabd44a Envelope sns message when sending to sqs (#1066)
* envelop message when sendig from sns to sqs

* add test for publishing sns message to sqs

* specify separators options to json.dumps to avoid json bug in python2

* remove unused print

* replace time string for testing server mode
2017-08-21 12:29:34 -07:00
Toshiya Kawasaki
b6cc208534 ELBv2 modify_rule changes listener rule partially (#1073)
* modify_rule changes listener rule partially

* fix syntax

* fix outdated code

* fix outdated code
2017-08-21 12:28:58 -07:00
Jack Danger
bd98996a19 Merge pull request #1065 from kawasakitoshiya/toshitanian/validate_elbv2_target_group_name
validate target group name
2017-08-18 08:46:39 -07:00
Toshiya Kawasaki
775b8a953a add validation for target name 2017-08-19 00:36:12 +09:00
Jack Danger
c5b10f4aad Merge pull request #1064 from kawasakitoshiya/toshitanian/fix_target_group_names_filter
fix bug that Names filter dont work at describe_target_groups
2017-08-18 08:25:36 -07:00
Toshiya Kawasaki
d4c6111c40 raise error when name is more than 32 when creating target group 2017-08-18 23:54:28 +09:00
Toshiya Kawasaki
469cfb7b3e fix bug that Names filter dont work at describe_target_groups 2017-08-18 15:56:53 +09:00
Jack Danger
a579280b7a Merge pull request #1060 from kawasakitoshiya/send_json_message_from_sns_to_sqs
escape json string when sending message from sns mock to sqs mock
2017-08-17 18:29:41 -07:00
Toshiya Kawasaki
f38212a545 sort keys when dumping dict to json 2017-08-18 10:23:11 +09:00
Toshiya Kawasaki
ccf4cf28b1 escape json string when sending message from sns mock to sqs mock 2017-08-18 10:23:11 +09:00
Jack Danger
8fd5855bc9 Merge pull request #1061 from kawasakitoshiya/use_requests_version_more_than_2.5.0
use requests version more than 2.5.0
2017-08-17 15:51:07 -07:00
Jack Danger
f111e78df9 Merge pull request #1059 from aleerizw/test/travis_failure
[DNM] Test travis
2017-08-17 12:08:01 -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
Ali Rizwan
e57d72ea2b Test travis
Signed-off-by: Ali Rizwan <ari@hellofresh.com>
2017-08-17 10:45:43 +02:00
Jack Danger
de0d201e40 Merge pull request #1056 from aleerizw/fix/get_parameters_invalid
SSM get_parameters should list InvalidParameters
2017-08-16 14:37:29 -07:00
Jack Danger
b75f85690e Merge pull request #1057 from kawasakitoshiya/feature/add_elbv2_listener_rules
Implement methods related to listener rules at ELBv2
2017-08-16 14:25:24 -07:00
Toshiya Kawasaki
2b10ef8517 dont use base64 for marker at describe_rules 2017-08-17 04:37:42 +09:00
Toshiya Kawasaki
5c0d5e920a rename test_create_listener_rules to test_handle_listener_rules 2017-08-17 04:28:32 +09:00
Toshiya Kawasaki
edc2e70fcf make b64encode work both on python2 and python3 2017-08-17 03:56:01 +09:00
Toshiya Kawasaki
ea2a973813 fix syntax 2017-08-17 03:22:40 +09:00
Toshiya Kawasaki
e07bce003c add set_rule_priorities to elbv2 2017-08-17 03:15:30 +09:00
Toshiya Kawasaki
0aaa624205 Fix respose number of rules of create_rule 2017-08-17 02:29:49 +09:00
Toshiya Kawasaki
9bc6779485 add modify_rules to elbv2 2017-08-17 02:25:39 +09:00
Toshiya Kawasaki
a73fa64043 add describe_rules to elbv2 2017-08-17 01:57:02 +09:00
Toshiya Kawasaki
3ac10945c1 add delete_rule to elbv2 2017-08-17 00:38:05 +09:00
Toshiya Kawasaki
05a2715f4b add create_rule to elbv2 2017-08-17 00:22:00 +09:00
Ali Rizwan
1c96335895 get_parameters should list InvalidParameters
Signed-off-by: Ali Rizwan <ari@hellofresh.com>
2017-08-16 12:49:03 +02:00
Jack Danger
0b8cf14706 Merge pull request #1055 from kawasakitoshiya/master
Adds ELBv2 support in the README
2017-08-16 01:06:24 -07:00
Toshiya Kawasaki
b4013f0e60 Adds ELBv2 support in the README 2017-08-16 16:41:58 +09:00
Jack Danger
f6fc9c7d54 Merge pull request #1053 from rocky4570/rds-stop-start
Rds stop start
2017-08-14 17:53:32 -07:00
rocky4570fft
592bf868ff remove test for rds snapshot quota exceed as moto_server doesnt support it 2017-08-15 10:34:10 +10:00
Jack Danger
4d69e7af5b Merge pull request #1051 from bpandola/iam-updates
Implement additional IAM endpoints
2017-08-14 14:48:49 -07:00
Brian Pandola
bca5047202 Implement additional IAM endpoints
- attach_user_policy
- detach_user_policy
- list_attached_user_policies
2017-08-14 13:55:53 -07:00
rocky4570fft
1c1ef9dc25 the linter is too linty 2017-08-15 00:58:33 +10:00
rocky4570fft
c84e8c86f0 modify to use create_snapshot, add extra tests for certain error conditions 2017-08-15 00:55:09 +10:00
Jack Danger
d22671a756 Merge pull request #1049 from aleerizw/feature/add_ssm_delete_parameters
Added support for SSM delete_parameters
2017-08-13 23:47:03 -07:00
David Cuthbert
672604d3e7 Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy. (#1052)
* Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy.

* Raise proper exceptions for iam:DetachRolePolicy and iam:DeleteRolePolicy when the policy doesn't exist.
2017-08-13 21:58:11 -07:00
rocky4570fft
f2cc60b999 satisfy the flake tests - doesnt like my flakey code :( 2017-08-14 00:41:26 +10:00
rocky4570fft
85dd2440f4 oopsie on api version dates for delete and create snapshot_templates, should be on stop/start rds instances 2017-08-14 00:32:08 +10:00
rocky4570fft
ed39c2ea4e fix up some issues found in unittests - comment out snapshotting until later 2017-08-14 00:27:15 +10:00
rocky4570fft
9687b6e03e get appropritate parameters - doh 2017-08-13 12:05:22 +10:00
rocky4570fft
6c3c6623bf should only call create_snapshot if db_snapshot_identifier is filled 2017-08-13 12:02:49 +10:00
rocky4570fft
7afd3532c6 fixup typos and cleanup code a little 2017-08-13 12:00:21 +10:00