Commit Graph

66 Commits

Author SHA1 Message Date
cm-iwata
419f3fba5a
fix API Gateway:create_usage_plan_key return wrong status code (#3134) 2020-07-15 14:01:03 +01:00
cm-iwata
4e4ce5f9f1
fix API Gateway:create_api_key return wrong status code (#3136) 2020-07-15 12:21:11 +01:00
cm-iwata
1b355f7f06
fix #3131 fix API Gateway:delete_api_key return wrong status code (#3132)
* fix #3131 fix API Gateway:delete_api_key return wrong status code

* lint
2020-07-15 09:41:41 +01:00
cm-iwata
b5c7356b20
fix #3129 API Gateway create_api_key generate wrong default value (#3130) 2020-07-15 07:00:44 +01:00
usmangani1
b1d515c929
Enhancement : API-Gateway Put Integration Response - Adding support f… (#3058)
* Enhancement : API-Gateway Put Integration Response - Adding support for contentHandling.

* Added tests where the contentHandling is None also gets tested.

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-10 07:58:40 +01:00
Bert Blommers
d6875c25cc Linting 2020-05-04 09:27:57 +01:00
usmankb
1cda64e9a3 Added tests 2020-05-03 08:31:46 +05:30
Alessandro Palumbo
05860fcdd1 Fixed apigateway usage plan api when dealing with non existing usage plans and non existing api keys 2020-04-27 22:58:51 +02:00
JohnWC
4a800d8f2c Updated for black 2020-04-25 11:24:54 -05:00
JohnWC
0828c5af9d Add unit test for add apigateway with policy 2020-04-25 03:27:59 -05:00
Bert Blommers
69f963a3c2 Linting 2020-04-14 08:06:00 +01:00
usmankb
79e63e3bcf Added implementation for create-model,get-models,get-model in api gateway 2020-04-12 17:49:22 +05:30
Bert Blommers
1654280e43 Linting 2020-04-09 08:12:44 +01:00
usmankb
8542309fc9 conflicts 2020-04-08 22:00:48 +05:30
usmankb
af57cfc7ec Added more tests and coverage 2020-04-08 21:54:26 +05:30
Bert Blommers
8237fdaff0 Linting 2020-04-08 11:06:30 +01:00
usmankb
856c07de63 aws apigateway create,get domain names 2020-04-08 03:18:42 +05:30
Jon Beilke
40208363be Merge branch 'master' into feature-apigw-authorizers 2020-02-18 10:49:53 -06:00
Jon Beilke
1d14085294 add API Gateway authorizers 2020-02-18 10:49:35 -06:00
Steve Pulec
dcd1f0195f lint. 2020-02-17 20:32:19 -06:00
Steve Pulec
356c55f99d Fix default resourceMethod for API Gateway. Closes #2750. 2020-02-17 20:21:25 -06:00
Jon Beilke
8a51fbe1c9 add default for apiKeyRequired field on API Gateway methods 2020-02-14 12:26:27 -06:00
Bert Blommers
7719ac76a3
Merge pull request #2720 from jrbeilke/feature-apigw-defaults
Feature apigw defaults
2020-02-06 13:52:56 +00:00
Jon Beilke
c9995412b5 add support for apigateway fields with default values including apiKeySource, endpointConfiguration, and tags 2020-02-03 10:21:22 -06:00
Fabrício Matté
cf65cfc6ec
Update API Gateway resource name test 2020-01-29 16:28:37 -03: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
Mike Grima
8399bc4df5
Merge pull request #2606 from levinine/api_key_fix
api gateway handle duplicate api key values
2019-12-12 18:21:51 -08:00
Jovan Zivanov
a28183d150 fix lint errors 2019-11-27 16:12:30 +01:00
Jovan Zivanov
5260de8859 remove unnecessary comments 2019-11-27 15:55:29 +01:00
Jovan Zivanov
e3587afe01 api gateway handle duplicate api key values 2019-11-27 15:49:37 +01:00
Steve Pulec
72da9e96c2 Lint. 2019-11-21 17:53:58 -05:00
Bert Blommers
e4b586022d API Gateway - Linting 2019-11-04 02:02:07 -08:00
Bert Blommers
f0e2d44c5d Make API Gateway tests Python2/3 compatible 2019-11-04 09:41:47 +00:00
Bert Blommers
2d32ee18a6 #2521 - Implement API Gateway Stage deletion 2019-11-04 09:12:24 +00:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
John Newman
27237693c3 add tags to usage plan testing 2019-10-08 12:45:47 +01:00
Giulio
59852eb13a Add tag support to API Gateway keys 2019-08-24 11:19:50 +01:00
Chiharu Terashima
7fa5ce3dc3 implements APIGateway update_api_key 2019-08-03 01:28:47 +09:00
George Alton
d919024510
Adds keyId support to apigateway get_usage_plans
apigateway is able to filter the result set, returning only usage plans
with the given keyId.

This commit supports filtering the usage plans returned to the user by
filtering the list of usage plans by checking for usage plan keys
2018-10-17 13:44:00 +01:00
Aidan Fewster
9bd6f0a725
APIGateway: Added usage plan keys API 2018-07-13 15:16:25 +01:00
Aidan Fewster
43e430560c
APIGateway: Added API for usage plans 2018-07-13 15:10:30 +01:00
Aidan Fewster
c20e8568e0 APIGateway - Generate API key value when no value provided (#1713) 2018-07-13 12:53:00 +01:00
Steve Pulec
5f840aadcc
Merge pull request #1545 from haidaraM/fixApiKeyIdentification
Fix ApiGateway key identification
2018-04-12 18:58:47 -04:00
Steve Pulec
cd1c6d3e6c Unvendor responses, move back to upstream. 2018-04-05 16:57:43 -04:00
Mohamed El Mouctar HAIDARA
dcd290c3c3 Fix ApiGateway key identification
API Gateway keys are identified by their ids and not their values

- https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-api-key.html#examples
- http://boto3.readthedocs.io/en/latest/reference/services/apigateway.html#APIGateway.Client.get_api_key
2018-03-30 15:09:02 +02:00
Javier Buzzi
d55ff20685 Basic support for AWS Gateway apikeys (#1494)
* Basic support for AWS Gateway apikeys

* Adds missing -- much needed tests

* Fixes issue with master merge

* Fixes linter

* Fixes tests
2018-03-21 09:11:49 -07: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