Mike Pugh
5477eb2bb4
Update tests involving getAccountInfoStub
2018-02-08 09:19:57 -05:00
Mike Pugh
1f9e32d4c8
Reverting test file back to old version to avoid linting issues
2018-02-07 20:03:14 -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
Frank Schmid
02bb0df414
Merge pull request #4689 from koterpillar/no-white-on-white
...
Do not explicitly color messages in white
2018-02-02 15:18:41 +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
Alexey Kotlyarov
d5dc0cbf4b
Do not explicitly color messages in white
...
On white background terminals, white text is unreadable. Use the default
terminal color instead.
Fixes #4673
2018-01-29 19:33:35 +11: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
Francisco Guimarães
0fe3efefe9
Adding verification to expected file name
2018-01-23 08:55:55 -02:00
CuongLe
0283af7a3e
remove aws credentials.signatureVersion in enableS3TransferAcceleration
...
Fix error: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
See more: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
2018-01-23 12:38:05 +07:00
Francisco Guimarães
f32231335b
Merge branch 'master' into fix-concurrency-upload
2018-01-22 22:43:54 -02:00
Francisco Guimarães
ede4824c97
Improve tests
2018-01-22 22:30:53 -02:00
Francisco Guimarães
cc0fee96b7
Adding spec to test that duplicates uploads
2018-01-22 22:15:57 -02:00
Francisco Guimarães
29e13014db
artifactFilePath makes more sense
2018-01-22 15:32:02 -02:00
Francisco Guimarães
d059a3c448
Improve spec description
2018-01-22 14:59:35 -02:00
Francisco Guimarães
3e7f736abc
Fix concurrency upload
2018-01-22 14:58:34 -02:00
Francisco Guimarães
f981c1c770
WIP
2018-01-22 13:16:43 -02: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
Mike Pugh
88ed6c9d47
Utilize AWS::URLSuffix instead of hardcoded amazonaws.com
2018-01-19 14:07:58 -05:00
Mike Pugh
b921d2656e
Rename provider getAccountId() to getAccountInfo() since it now returns the caller identity object including partition based on ARN
2018-01-19 13:56:00 -05:00
Mike Pugh
16debac62e
Replace AWS Partition strings with CF Pseudo Param or from STS
2018-01-19 13:52:29 -05:00
Mike Pugh
3bc45becc9
Support GovCloud and China region deployments
2018-01-18 10:04:11 -05:00
Takahiro Horike
63f15f6741
Merge pull request #4650 from thomasmichaelwallace/master
...
allow authorizer.name to override implied authorizer.arn name.
2018-01-16 08:55:01 +09:00
Takahiro Horike
4b71faf212
Merge pull request #4596 from Instabridge/invokelocal-pojo
...
InvokeLocal/Java: support POJO input and different handler names
2018-01-13 14:53:12 +09:00
Takahiro Horike
5d8acc3853
Merge pull request #4601 from willwhy/4569-cloudwatchlog-filter
...
improve aws cloudwatchlog filter #4569
2018-01-13 14:52:54 +09:00
thomasmichaelwallace
1ae47641b1
allow authorizer.name to override implied authorizer.arn name.
2018-01-12 13:57:21 +00:00
Daniel Schep
211ba71077
Don't have Python buffer it's output
2018-01-10 18:38:17 -05:00
Kyle Minor
25e405c456
Update files to resolve CI requirements
2018-01-09 15:47:23 -05:00
Kyle Minor
933b49f923
Update validate.js
2018-01-09 15:19:52 -05:00
Kyle Minor
eba004c2e6
Merge branch 'master' into feature/BET-1118
2018-01-09 15:11:18 -05:00
Alex Casalboni
407b0f06e6
BbPromise.reject instead of throwing error
2018-01-08 15:03:41 +01:00
Alex Casalboni
c720018125
test typo
2018-01-07 17:38:43 +01:00
Alex Casalboni
1aee4b8240
updated tests (100% file coverage)
2018-01-07 17:30:18 +01:00
Alex Casalboni
a9b82e538c
Added new no-aws-s3-accelerate argument to explicitly disable S3 Transfer Acceleration (updated doc too)
2018-01-07 17:29:54 +01:00
Alex Casalboni
4de092c092
not setting 'Suspended' acceleration by default (permission would be required!)
2018-01-07 16:37:23 +01:00
Takahiro Horike
13bda4bf1e
Merge pull request #4247 from hgiasac/sls-shared-api
...
WIP - Added support for using an existing ApiGateway and Resources
2018-01-06 15:42:00 +09:00
Kyle Minor
7f18dda085
Add maxAge parameter to preflightHeaders response Access-Control-Max-Age
2018-01-05 14:24:38 -05:00
Takahiro Horike
45f5e15550
Merge pull request #3953 from lovenm/master
...
Fix issues with HTTP integration
2018-01-06 00:56:35 +09:00
horike37
408ed25ca4
Merge branch 'master' into 4569-cloudwatchlog-filter
2018-01-05 11:05:26 +09:00
Will Yang
5a0a31f8a0
use double quotes string to be better to represent the test case
2018-01-05 09:37:19 +11:00
Will Yang
6242346034
add test case for escaped quotes
2018-01-04 12:32:46 +11:00
Will Yang
ced088c4fa
unescape quotes when necessary to compatible with old filter patterns
2018-01-03 14:15:54 +11:00
Alex Casalboni
bb2ddc0eec
Fixed S3 Transfer Acceleration bug with custom deployment buckets ( #4606 )
...
* fixed s3 transfer acceleration bug with custom deployment buckets
* added test (custom deployment bucket case)
* unwrapping stubs (node 5.11 fail)
* increased coverage
* add return to BbPromise
2017-12-28 11:12:45 +01:00