1038 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
0997b328e4 Merge pull request #3705 from serverless/fix-s3-event-race-condition-bug
Fix s3 event race condition bug
2017-06-05 20:24:46 +07:00
Philipp Muens
9e068b81b3 Merge pull request #3668 from hassankhan/validate-cf-template-locally
Add support for validating CF templates
2017-06-05 11:50:00 +02:00
Philipp Muens
b060dbca94 Rephrase error message for invalid template 2017-06-05 11:45:54 +02:00
Eslam λ Hefnawy
847b5385b5 Merge pull request #3701 from serverless/add-aws-profile-option-support
Add aws-profile option support
2017-06-01 22:06:53 +07:00
Tom Saleeba
178fab9473 trivial fix: removed an extra double quote 2017-06-01 16:05:37 +09:30
Philipp Muens
0abc60335f Add sinon-chai usage definition 2017-05-31 14:08:23 +02:00
Philipp Muens
5004c2d37b Remove commented out test 2017-05-31 14:00:19 +02:00
Philipp Muens
9919134e6c Update tests to use chai-as-promised 2017-05-31 13:57:14 +02:00
Philipp Muens
adcb471429 Update validateTemplate functionality and add tests 2017-05-31 13:30:59 +02:00
Philipp Muens
045d15dab0 Remove invalid comma 2017-05-31 12:05:19 +02:00
Philipp Muens
97f60868bf Fix s3 event race condition bug 2017-05-30 10:10:40 +02:00
Philipp Muens
8ca5f214f8 Add aws-profile option support 2017-05-29 13:50:03 +02:00
Frank Schmid
aca8db9ba7 Set IS_LOCAL for every provider. Added unit tests. 2017-05-29 11:15:32 +02:00
Philipp Muens
3374a072c2 Merge pull request #3680 from ryanmurakami/s3.bucket.error
Improve "missing S3 deployment bucket" error
2017-05-25 12:17:41 +02:00
Philipp Muens
96be5948cb Tweak error message 2017-05-25 12:09:19 +02:00
Philipp Muens
f9b35b53e4 Merge pull request #3654 from daroot/logging-fixes
Better handling for AWS Lambda logging lines.
2017-05-25 11:30:46 +02:00
Ryan Lewis
f1a2624256 fixing test 2017-05-24 14:45:55 -07:00
Ryan Lewis
72d9c520c7 adding test 2017-05-24 14:31:50 -07:00
Ryan Lewis
f87a1e93f6 throwing better error when bucket doesn't exist 2017-05-24 14:21:50 -07:00
Hassan Khan
75a17f3b1d Move validation code to deploy event
As per the discussion on the PR, the validation should occur before the
`aws:deploy:updateStack` hook.
2017-05-24 00:11:30 +01:00
Eslam λ Hefnawy
b7e8e87408 Merge pull request #3660 from HyperBrain/no-templates-for-http-endpoints
Do not use default templates for non AWS integrations. Only use NEVER for AWS passthrough.
2017-05-23 18:47:37 +07:00
Frank Schmid
f73e4438e4 Updated unit tests 2017-05-23 11:14:50 +02:00
Philipp Muens
0db25b76ae Remove SQS queue arn support 2017-05-23 08:50:21 +02:00
Philipp Muens
d6fbe273a7 Add first pass on DeadLetterConfig support 2017-05-23 08:44:09 +02:00
Hassan Khan
0d174e164f Add support for validating CF templates locally
This saves a roundtrip to AWS and allows for a better developer
experience since we can show errors faster. Currently there are no
tests.
2017-05-22 23:12:05 +01:00
Frank Schmid
b0e48157e4 Do not use default templates for non AWS integrations. Only use NEVER for AWS passthrough. 2017-05-22 18:19:45 +02: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
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
c85300e4d4 Set IS_LOCAL environment variable with invoke local command 2017-05-18 10:55:43 +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
69f945650c Add rollback function support 2017-05-17 12:46:46 +02:00
Philipp Muens
fa2de0db7a Merge pull request #3614 from arabold/feature/cors-add-x-amz-user-agent-header
CORS: Add `X-Amz-User-Agent` to list of allowed headers
2017-05-15 10:30:01 +02:00
Andre Rabold
8177a96ef4 Add X-Amz-User-Agent as a default allow header 2017-05-12 07:21:54 -07:00
Eslam λ Hefnawy
43925a373e Merge pull request #3534 from arabold/feature/apigateway-extensions
API Gateway Extensions for HTTP, HTTP_PROXY, MOCK integration and AWS_IAM authorization type
2017-05-12 19:31:08 +07:00
Eslam A. Hefnawy
d97ec82442 added tests for extendedValidate file 2017-05-11 20:41:05 +07:00
Eslam A. Hefnawy
4556f51d44 fix bug with packaging service free functions 2017-05-11 19:24:06 +07:00
Andre Rabold
a0e32f7e50 API Gateway Extensions
* Support for `HTTP`, `HTTP_PROXY` and `MOCK` integrations
* Support for `AWS_IAM` authorization type
* Updated test cases to cover new features
* Updated documentation
2017-05-09 14:59:36 -07:00
Philipp Muens
f285528834 Add Lambda tagging functionality 2017-05-03 14:24:09 +02:00
Philipp Muens
e5f03e2ae4 Merge pull request #3507 from HyperBrain/info-lifecycle-event-extension
Add detailed lifecycle events to info plugin
2017-05-03 10:17:06 +02:00
Eslam λ Hefnawy
4e752fbc5e Merge pull request #3527 from HyperBrain/filter-self-reference
Persist self references with "${self:}" and restore it correctly
2017-04-27 18:35:13 +07:00
Philipp Muens
1ef42b7211 Condense console output 2017-04-27 11:20:50 +02:00
Philipp Muens
ba967f6802 Merge master into branch 2017-04-27 11:05:56 +02:00
Frank Schmid
e8bdd0ca33 Added unit tests and a small fix with property paths 2017-04-27 02:28:13 +02:00
Frank Schmid
cc91ca2563 Prevent circular references during search. 2017-04-26 23:56:01 +02:00
Frank Schmid
9257256e7a Restore self references on state restore 2017-04-26 22:09:51 +02:00
Frank Schmid
33a93e7a28 Move findReferences to utils. It will be used in extendedValidate too. 2017-04-26 21:57:40 +02:00
Frank Schmid
46646a9bff Replace self references with "${self:}" on save state 2017-04-26 21:44:35 +02:00