1024 Commits

Author SHA1 Message Date
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
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
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
Eslam A. Hefnawy
f86703add1 releasing 1.12 2017-04-26 22:42:56 +07:00
Philipp Muens
f9997c9814 Update tests to reflect correct naming and avoid confusion 2017-04-26 13:59:50 +02:00
Philipp Muens
9b0d5619f4 Revert name of compiled CloudFormation template 2017-04-26 13:57:05 +02:00
Philipp Muens
67a7031c83 Fix naming of compiled CloudFormation template 2017-04-26 13:23:18 +02:00
Philipp Muens
924e5664d7 Remove unnecessary check for noDeploy option 2017-04-26 09:40:20 +02:00
Philipp Muens
2bfb29949c Skip on noDeploy when running info command hooks 2017-04-26 09:37:29 +02:00
Philipp Muens
f32ac41492 Update if statements for easier reasoning 2017-04-26 09:17:51 +02:00
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Frank Schmid
6230810302 Fixes #3502 - Add detailed lifecycle events to info plugin
Added unit tests for empty results
Added/modified display unit tests
Added unit tests for info-index
Added internal lifecycle
2017-04-24 13:20:47 +02:00
Philipp Muens
803c28f8f1 Merge pull request #3469 from HyperBrain/fix-package-artifact
Persist package.artifact correctly
2017-04-24 12:50:56 +02:00
Frank Schmid
a67674528e Do not persist artifact if individually is set true. 2017-04-24 10:44:53 +02:00
Philipp Muens
684e909e65 Update test descriptions 2017-04-24 08:36:07 +02:00
horike37
1dc680a7ff Add new syntax to specify arn for sns event 2017-04-23 22:51:51 +09:00
Frank Schmid
aa29c9632e Persist artifact in saved state
The `service.package.artifact` property was missing in the saveState function, so it was not available in the deploy phase.
This PR saves and restores the property correctly, and for AWS additionally sets it during packaging. For AWS the initialization of the property also was missing, possibly due to a merge conflict.

Combination of the following commits:
Re-revert changes for saveServiceState and extendedValidate
Revert most recent changes
Update package artifact to include path and .zip name
Update artifact file path for packaging and name for service state
Update tests for saveServiceState
Do not persist artifacts as it is not needed
Persist package.artifact correctly
2017-04-21 19:50:00 +02:00