7343 Commits

Author SHA1 Message Date
Travis Dimmig
6628272a47 Fix for https://github.com/serverless/serverless/issues/2882
Allow the 'parameters' field of the request object to be configured when using LAMBDA_PROXY integration
2017-05-20 11:02:48 -04:00
Dan Root
add4951a4b Better handling for AWS Lambda logging lines.
Refactor duplicated log line formatting from invoke and logs plugins
into utils/formatLambdaLogEvent.js and add tests.

Make log line formatter understand default python logging module output
from Lambda functions.

Add payload output testing to invoke plugin.

Fixes #1796 and #3594
2017-05-19 12:42:02 -07:00
Philipp Muens
e6f2c2d3aa Update other relevant parts of the codebase 2017-05-19 15:08:35 +02:00
Frank Schmid
97399773a7 Added file load tests for YAML, YML and JSON. Added precedence test. 2017-05-19 11:41:24 +02:00
Philipp Muens
dd7909d055 Merge pull request #3642 from HyperBrain/set-is-local-on-invoke-local
Set IS_LOCAL environment variable with invoke local command
2017-05-19 10:30:12 +02:00
Philipp Muens
8dd462007b Fix test 2017-05-19 10:26:49 +02:00
Philipp Muens
ca9ee443e1 Add test 2017-05-19 10:18:54 +02:00
Frank Schmid
45a2b20467 Fixed unit tests - removed filename from literal error check 2017-05-18 21:47:15 +02:00
Frank Schmid
a227e5b3d2 Added support for serverless.json. Improved error messages with filename. 2017-05-18 21:26:44 +02:00
Eslam λ Hefnawy
953f8ac1a0 Merge pull request #3537 from HyperBrain/use-chai-as-promised
Use chai as promised
2017-05-18 21:29:53 +07:00
Eslam λ Hefnawy
ddb99af627 Merge pull request #3592 from aoskotsky-amplify/master
Add support for S3 variables
2017-05-18 21:28:02 +07:00
Philipp Muens
6e654981ce Merge pull request #3645 from serverless/update-google-function-docs
Update Google Cloud Function docs to reflect recent changes
2017-05-18 14:33:27 +02:00
Philipp Muens
acdda39063 Update Google Cloud Function docs to reflect recent changes 2017-05-18 14:32:32 +02:00
Philipp Muens
f0ac5e14b1 Merge pull request #3644 from serverless/remove-package-json-in-ignore-for-google-cloud-functions
Remove package.json in exclude rules
2017-05-18 12:46:38 +02:00
Philipp Muens
fe419ee175 Remove package.json in exclude rules 2017-05-18 12:44:31 +02:00
Frank Schmid
d8234e85a1 Added environment section to docs 2017-05-18 11:05:42 +02:00
Frank Schmid
c85300e4d4 Set IS_LOCAL environment variable with invoke local command 2017-05-18 10:55:43 +02:00
Frank Schmid
939112a639 Use sinon-chai to improve Sinon based unit tests 2017-05-17 17:13:33 +02:00
Frank Schmid
ba2533ff7d Update UT for lib/plugins/package/lib/zipService 2017-05-17 17:13:33 +02:00
Frank Schmid
4d2b2ea88e Update UT for lib/plugins/package/lib/packageService 2017-05-17 17:13:32 +02:00
Frank Schmid
64142c8c94 Fix possible race in package/deploy UT 2017-05-17 17:13:32 +02:00
Frank Schmid
855f037736 Update UT for lib/plugins/package/package 2017-05-17 17:13:32 +02:00
Frank Schmid
a7d519579e Update UT for lib/plugins/deploy/deploy 2017-05-17 17:13:31 +02:00
Frank Schmid
c24d2ee499 Update UT for lib/classes/YamlParser 2017-05-17 17:13:31 +02:00
Frank Schmid
1e43138295 Update UT for lib/classes/Service 2017-05-17 17:13:30 +02:00
Frank Schmid
aa8b414f60 Use chai-as-promised 2017-05-17 17:11:27 +02:00
Eslam λ Hefnawy
f4f2cf99af Merge pull request #3636 from serverless/eahefnawy-patch-1
added note about closing PRs
2017-05-17 20:05:15 +07:00
Eslam λ Hefnawy
5e2084cf5d added note about closing PRs 2017-05-17 20:04:37 +07:00
Eslam λ Hefnawy
3bb686e4e3 Merge pull request #3571 from serverless/rollback-function-support
Add rollback function support
2017-05-17 19:44:45 +07:00
Eslam λ Hefnawy
42c7d324e4 Merge pull request #3634 from serverless/rephrase-note-about-env-variables
Rephrase note about Serverless env variable usage
2017-05-17 19:41:11 +07:00
Philipp Muens
6b444e0729 Add note about function versioning and deployments 2017-05-17 12:47:31 +02:00
Philipp Muens
1550bfffaa Add version option to core rollback plugin 2017-05-17 12:47:31 +02:00
Philipp Muens
fc9a7a1e5c Shrinkwrapping 2017-05-17 12:47:31 +02:00
Philipp Muens
491d754b2b Add note that only the last 5 versions are shown 2017-05-17 12:46:46 +02:00
Philipp Muens
8d2624605b Re-order function versions when displaying 2017-05-17 12:46:46 +02:00
Philipp Muens
bea2c17824 Fix typo 2017-05-17 12:46:46 +02:00
Philipp Muens
581720217e Add docs 2017-05-17 12:46:46 +02:00
Philipp Muens
69f945650c Add rollback function support 2017-05-17 12:46:46 +02:00
Philipp Muens
e45e470465 Rephrase note about Serverless env variable usage 2017-05-17 12:43:37 +02:00
Philipp Muens
d9bc8efb3f Merge pull request #3633 from serverless/fix-broken-quickstarts
Fix broken Quick Starts
2017-05-17 11:20:28 +02:00
Philipp Muens
0c54add974 Fix broken Quick Starts 2017-05-17 11:19:46 +02:00
Philipp Muens
991da09652 Merge pull request #3632 from serverless/add-google-service-template
Add Google Node.js service template and update docs
2017-05-17 11:15:28 +02:00
Philipp Muens
50be33dc14 Add Google Node.js service template and update docs 2017-05-17 11:05:32 +02:00
Philipp Muens
23fcc0c13d Merge pull request #3622 from dougmoscrop/custom_resources_array
fix resources as an array to support variables
2017-05-17 10:12:49 +02:00
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Philipp Muens
6140af1e08 Merge pull request #3618 from Java1Guy/master
Add ApiGateway templates for aws-scala-sbt, upgrade to Scala 2.12
2017-05-16 10:04:44 +02:00
Eslam λ Hefnawy
8a203c7179 Merge pull request #3624 from serverless/releasing-1.13.2
releasing v1.13.2
v1.13.2
2017-05-15 23:21:05 +07:00
Eslam A. Hefnawy
e4b5d23eb2 releasing v1.13.2 2017-05-15 23:20:08 +07:00
Philipp Muens
58f1c3d527 Merge pull request #3620 from serverless/dotted-keys
Fixed a bug when using dot notation in YAML keys
2017-05-15 18:15:37 +02:00
Philipp Muens
3ee5b33c4f Shrinkwrapping 2017-05-15 18:04:56 +02:00