1990 Commits

Author SHA1 Message Date
davidwells
c7d5373e58 clear console on login 2017-05-24 00:19:28 -07:00
davidwells
b5c0a33229 add tests 2017-05-24 00:19:28 -07:00
davidwells
4bef14d42f update linting 2017-05-24 00:19:27 -07:00
davidwells
c7db666421 update login cmd 2017-05-24 00:19:27 -07:00
davidwells
40dee9bba0 add logout command 2017-05-24 00:19:27 -07:00
davidwells
754bfe3ca2 add login command 2017-05-24 00:13:45 -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
Hassan Khan
e12e45ebd2 Use Lambda logical ID to retrieve its' ARN 2017-05-22 02:44:42 +01:00
Hassan Khan
4cf379d8b0 Add initial support for Cognito User Pools
This includes unit tests and documentation. A simple integration test
has been added.
2017-05-21 22:00:54 +01:00
Travis Dimmig
8c35a7c757 update to correctly validate the remainder of the request object after stripping non-parameter object off of it and formatting correctly for the cloudformation stack 2017-05-20 12:28:27 -04:00
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
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
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
Philipp Muens
fe419ee175 Remove package.json in exclude rules 2017-05-18 12:44:31 +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
Philipp Muens
1550bfffaa Add version option to core rollback plugin 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
69f945650c Add rollback function support 2017-05-17 12:46:46 +02:00
Philipp Muens
50be33dc14 Add Google Node.js service template and update docs 2017-05-17 11:05:32 +02: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
Mark Chance
ee9db97d74 add helpful note w.r.t. sbt building 2017-05-15 10:02:59 -06: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
Mark Chance
df21f217fc Give aws-scala-sbt some api gateway love like aws-java got 2017-05-12 17:49:03 -06:00
Mark Chance
e5712aa2ac Update to scala 2.12 artifact 2017-05-12 17:48:06 -06:00
Mark Chance
6db836c35f Update to scala 2.12 to pick up converters 2017-05-12 17:47:31 -06: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
f61492a99d Fix linting errors 2017-05-03 13:56:22 +02:00