59 Commits

Author SHA1 Message Date
maafk
59822e48c1 More linting fixes 2019-11-08 14:27:20 -05:00
maafk
224a49eb22 remove unused function 2019-11-08 14:21:52 -05:00
maafk
ede746440f Update apigateway tagging to use patition for deployed region. fixes #6925 2019-11-08 14:04:34 -05:00
Philipp Muens
c1e0f3018a Fix tests after merging master into PR 2019-09-02 14:53:31 +02:00
Philipp Muens
1ad5e97bc2 Merge branch 'master' into gov-cloud 2019-09-02 14:48:58 +02:00
Philipp Muens
10d375481c Add regression test / Add support for log arns 2019-09-02 14:18:02 +02:00
Philipp Muens
c9b4f5d288 Add regression test / Prettify 2019-09-02 13:54:34 +02:00
maplion
1bc56036dd Fixing prettify issue 2019-09-01 18:53:48 -06:00
maplion
7c98ef9ec1 Fixes hardcoding of aws partition name in apigateway resourceArn to allow for a govcloud partition name of aws-us-gov in the case where one is trying to deploy to AWS GovCloud -- without this adjustment, serverless template fails when trying to deploy apigateway to AWS GovCloud 2019-09-01 15:53:15 -06:00
Gevorg A. Galstyan
9ba40e07a5 Fix API Gateway name not being resolved if the API Gateway resource is not in the main stack
Fix for https://github.com/serverless/serverless/issues/6607

+ a small fix in a function name
2019-08-30 14:50:05 +04:00
Mariusz Nowak
377a7284af
Resolve Rest API id from CloudFormation template 2019-08-23 16:24:23 +02:00
Mariusz Nowak
6cc63326f1
Improve var name 2019-08-23 16:00:45 +02:00
Mariusz Nowak
4d64b9d21b
Merge pull request #6585 from serverless/improve-error-handling
Improve error reporting
2019-08-23 15:37:46 +02:00
Mariusz Nowak
566ef3c164
Allow unresolved Rest API id for tags 2019-08-23 14:00:13 +02:00
Mariusz Nowak
0b07508664
Ensure to use ServerlessError for user error 2019-08-23 13:50:50 +02:00
Kevin Tardif
ac7c0851b7 Naming improvements 2019-08-22 12:27:35 -04:00
Kevin Tardif
a039a7c4d0 Renamed fullData to fullExecutionData 2019-08-22 10:28:46 -04:00
Kevin Tardif
e2ed359f49 Added logs.executionLogging, no longer allowing OFF logLevel 2019-08-22 10:17:21 -04:00
Kevin Tardif
53d926df08 Updated field names to accessLogging, fullData, minor cleanups 2019-08-22 09:58:31 -04:00
Kevin Tardif
8314f4290c Added ability to enable/disable access logs, execution logs 2019-08-22 08:33:33 -04:00
Kevin Tardif
cf390d5f88 Updated valid apigw log levels to use a set, using ServerlessError instead of Error 2019-08-14 10:21:28 -04:00
Kevin Tardif
bea1caec26 Updated formatting 2019-08-14 08:47:48 -04:00
Kevin Tardif
3e7ea5a191 Added log.level setting to customize AWS API Gateway log level 2019-08-13 15:55:47 -04:00
Alex DeBrie
2bded42fd6 Remove unneeded check 2019-06-27 12:33:49 -05:00
Alex DeBrie
86fb74c7fe New Prettier formatting 2019-06-27 11:58:04 -05:00
Alex DeBrie
d2d178c226 Cleaner check 2019-06-27 11:54:20 -05:00
Alex DeBrie
99644975da logFormat --> format 2019-06-27 11:54:20 -05:00
Alex DeBrie
9329e3f874 Update lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js
Co-Authored-By: Daniel Schep <dschep@gmail.com>
2019-06-27 11:54:20 -05:00
Alex DeBrie
a2b60c3429 Add a logFormat property 2019-06-27 11:54:20 -05:00
Alex DeBrie
8d629552dd Update docs 2019-06-27 11:54:20 -05:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
joetravis
f76f549e04 Use naming to get stackName 2019-06-20 10:05:15 -07:00
Mariusz Nowak
138bbc3265
Improve user mesage 2019-06-14 13:21:15 +02:00
Mariusz Nowak
5854f4c96f
Ensure needed utils 2019-06-03 17:56:45 +02:00
Philipp Muens
f931ecca81 Add support for Websocket Logs 2019-05-30 15:37:44 +02:00
exoego
7ede73b0cd Use tagResource/untagResource API to overcome updateStage's limitation that tag key cannot contain space. 2019-05-15 22:30:13 +09:00
Mariusz Nowak
a545414102
Improve tests reliabilty
In real world state does not equal serverless
2019-05-14 09:07:38 +02:00
Philipp Muens
da633da0b9 Update tests to use state rather than serverless object 2019-05-14 08:56:22 +02:00
Philipp Muens
8840da7ae6 Fix typos in error message 2019-05-14 08:51:58 +02:00
Philipp Muens
3d67440261 Reference state rather than serverless object 2019-05-14 08:39:37 +02:00
Mariusz Nowak
94d86c36cd Improve test title 2019-05-14 08:32:38 +02:00
Mariusz Nowak
6675c0e93b Relax REST API validation 2019-05-14 08:32:38 +02:00
Mariusz Nowak
beb8b1ee92 Support custom API name in resolution 2019-05-14 08:30:40 +02:00
Mariusz Nowak
b16e37698b Improve error message 2019-05-14 08:23:06 +02:00
Mariusz Nowak
c8a4a8ba30 Ignore hack when REST API id could not be resolved
Assuming no custom APIGateway settings are applied
2019-05-14 08:23:06 +02:00
Mariusz Nowak
dc60d248b5 Ensure valid restAPIid in tests 2019-05-14 08:23:06 +02:00
Mariusz Nowak
4ab0833fcb Accept custom restApiId only if in directo form 2019-05-14 08:23:06 +02:00
Philipp Muens
64ad392c6a Rely on state when updating stage config 2019-05-13 15:58:05 +02:00
Mariusz Nowak
8faf6b68d3
Test resolution of restApiId with beyond 500 API's 2019-05-10 12:41:52 +02:00
Mariusz Nowak
097abff794
Test custom restApiId resolution 2019-05-10 12:39:01 +02:00