Frank Schmid
ff18b2597a
Merge pull request #4197 from hgiasac/cognito-authorizerid
...
Support Custom Authorizer Type (COGNITO_USER_POOLS) with authorizeId
2018-05-23 13:27:58 +02:00
Toan Nguyen
eac5ab5f04
update test coverage, fixed typo
...
update test coverage
update test coverage
add api gateway authorizer with authorizeId
2018-05-23 13:17:31 +02:00
Frank Schmid
a6f1b86318
Merge pull request #4895 from mvayngrib/fixbinaryapigw
...
fix: binary support for pre-flight requests (OPTIONS method)
2018-05-12 13:16:21 +02:00
Frank Schmid
5ad228a0d3
Merge pull request #4890 from kobim/fix/deploy_validation
...
AWS Environment variables should contain only strings
2018-05-10 13:59:42 +02:00
horike37
cb4933096b
fixd issue 4923
2018-04-20 20:06:22 +09:00
Piotr Plenik
02b4131ce2
Fix load restApiLogicalId when we have enabled Shared API Gateway
2018-04-10 12:23:03 +02:00
Mark Vayngrib
611e43cdff
fix: binary support for OPTIONS method
2018-04-09 14:23:57 -04:00
Kobi Meirson
d43203ef16
Fix tests
2018-04-09 19:10:21 +03:00
Kobi Meirson
e351ed6f5e
PR review notes:
...
1. Use lodash functions
2. Allow CF refs & functions as environment values
2018-04-09 19:00:55 +03:00
Mariusz Nowak
77775f778f
Rely on _.includes instead of arr.includes (Node v4 support)
2018-04-09 12:30:33 +02:00
Mariusz Nowak
47d7960311
Improve test to ensure we pick right error
2018-04-09 12:30:06 +02:00
Kobi Meirson
e75a2594f6
AWS Environment variables should contain only strings
2018-04-07 16:18:00 +03:00
CHRIS BARBOUR
afcb511841
removed spread operator to support older versions
2018-04-05 16:22:53 -04:00
CHRIS BARBOUR
4e4de5e583
fixing linting issues
2018-04-05 16:07:37 -04:00
CHRIS BARBOUR
cc4dfca85f
added test to verify that managed policies are merged along with vpc config policies
2018-04-05 15:22:54 -04:00
CHRIS BARBOUR
f1d3aecb63
closes #4876 merging iamManagedPolicies when using VPCConfig
2018-04-04 22:17:39 -04:00
Takahiro Horike
6cbd0a95bd
Merge pull request #4665 from americansystems/sls-govcloud
...
Support AWS GovCloud and China region deployments
2018-04-03 19:09:26 +09:00
Kurt Miller
4a367939d9
Fix lint error for line too long.
2018-03-26 23:34:42 -04:00
Kurt Miller
ffa67cf2dd
Expand http cors tests for maxAge. Last maxAge defined for a path
...
wins in a merge.
2018-03-26 22:19:51 -04:00
Kurt Miller
8140f44af0
Address review feedback, add tests.
2018-03-26 20:49:56 -04:00
Kurt Miller
1fb35e135b
Merge remote-tracking branch 'AutoCustoms/master'
2018-03-26 19:31:19 -04:00
CHRIS BARBOUR
0c8a569968
fixing location of ManagedPolicyArns to be under Properties
2018-03-21 21:51:35 +00:00
chrisbarbour
2d9f4a27d3
updating to use lodash
2018-03-13 08:22:20 +00:00
Takahiro Horike
5c886b5b2c
Merge branch 'master' into sls-govcloud
2018-03-13 06:02:22 +09:00
bobjamin
d9f7454339
adding semicolons for linter
2018-03-02 10:49:46 +00:00
bobjamin
e492e744a9
added iam managed policies to aws provider closes #3751
2018-03-02 10:33:35 +00:00
Takahiro Horike
7499af45f0
Merge pull request #4768 from bsdkurt/master
...
Allow UsagePlan's to be created without ApiKeys defined. Issue #4459
2018-03-01 22:30:48 +09:00
Takahiro Horike
26184f30f8
Merge pull request #4773 from murtyjones/patch-1
...
Pass authorizer custom context to target lambda
2018-02-27 22:41:41 +09:00
Takahiro Horike
fbaa6cca51
Merge pull request #4763 from icj217/master
...
Added name property to cloudwatchEvent CF template
2018-02-27 21:44:28 +09:00
Frank Schmid
eb975ddcba
Merge pull request #4775 from serverless/fix-4705
...
Fixed a bug which you cannot deploy with lambda integration in v1.26.0
2018-02-27 10:35:11 +01:00
Craig Burdulis
52af64368e
Fixed test script event name property
2018-02-26 20:31:15 -05:00
Craig Burdulis
53cc8fb607
Added test case and documentation for name property
2018-02-26 20:26:51 -05:00
horike37
93c37e4d39
set default statusCodes to response if it is empty
2018-02-27 01:44:21 +09:00
Marty Jones
818f58ac80
Pass authorizer custom context to target lambda
...
Per https://github.com/serverless/serverless/issues/4374
2018-02-25 21:38:14 -06:00
Kurt Miller
2b19a196d6
Lint corrections for usagePlan.test.js
2018-02-24 14:52:32 -05:00
Kurt Miller
39d07e9aef
Expand UsagePlan testing to cover default and custom cases.
2018-02-24 14:33:55 -05:00
Kurt Miller
97d3a031c8
Allow UsagePlan's to be created without ApiKeys defined. Addresses
...
issue #4459 .
2018-02-24 12:18:03 -05:00
icj217
a4de7288f3
Added name property to CloudFormation template
...
Now when a user specifies a name property under the cloudwatchEvent, it will be carried over to the CF template.
2018-02-22 13:21:50 -05:00
Mike Pugh
7b6a8ff262
Lodash and test updates
2018-02-07 19:50:24 -05:00
Mike Pugh
52cc8be45a
Move geetS3EndpointForRegion to utils, change to regex.test instead of string.match for authorizer ARNs
2018-02-03 08:04:21 -05:00
Takahiro Horike
21c7f1fe9e
Merge pull request #3799 from hassankhan/fix-borked-cup-triggers
...
Fix broken merge in CUP compile event. Fixes #3773 .
2018-02-03 11:10:58 +09:00
Kobi Meirson
0f117c49e8
Stop throwing errors if alexaSkill is not in the events list ( #4708 )
...
* The new alexaSkill skill id restriction (#4701 ) was throwing an error if an event which is not `alexaSkill` was presented.
* `.to.not.throw()` is a function, not a getter.
2018-02-02 17:48:45 +01:00
Kobi Meirson
d7eea2005e
Restricting alexaSkill functions to specific Alexa skills ( #4701 )
...
* - Adding support for restricting the executing alexa skill by id (serverless/serverless#4700 )
- Adding support for multiple `alexaSkill` events on a single function (allows multiple Alexa Skills on a single lambda)
* Adding a comment on the `serverless.cli` addition when testing.
* Updating templates to have the right `alexaSkill` syntax
* Cleaning up Travis-CI's occasional errors with sinon stubs going wild (hopefully)
(https://travis-ci.org/serverless/serverless/jobs/335361582 / https://travis-ci.org/serverless/serverless/jobs/335706593 / https://travis-ci.org/serverless/serverless/jobs/335682396 )
* one last test case to make sure the alexaSkill file will be fully covered.
* PR notes
* naming - Add a default suffix for alexaSkillLogicalId if undefined
* Revert changes to createStack.test.js (#c967c8d956b3d96afbaefa7fbe3e6eb498ecdd7c)
* createStack.test - reject with an Error, not with a promise that resolves to an error.
2018-02-02 15:18:00 +01:00
Frank Schmid
022e99f77c
Added rejection instead of throw for consistency
2018-01-31 11:28:45 +01:00
Michał Zalewski
8833893481
Changed warning to error message if reservedConcurrency is non-integer
2018-01-31 08:50:54 +01:00
Michał Zalewski
0204420324
Added support for concurrency option in AWS Lambda
...
AWS Lambda has support for concurrency limit and it should be supported
in serverless.yml
2018-01-30 22:53:28 +01:00
Mike Pugh
3af17717d7
Fix managed lambda vpc access exec role, update readability of awsProvider partition detection
2018-01-26 10:47:29 -05:00
Mike Pugh
2e925af0b4
Fixing lint errors
2018-01-19 17:49:37 -05:00
Mike Pugh
8ee6e1955a
Fix regressions
2018-01-19 17:33:13 -05:00
Mike Pugh
113ec4cceb
Updae tests
2018-01-19 14:59:49 -05:00