125 Commits

Author SHA1 Message Date
Patrick Brandt
2db9034ef5 updating docs per PR #1850 2016-08-15 09:49:12 -04:00
Patrick Brandt
052b8c3c19 include stage reference in body mapping template
I've included a stage reference in the body template so that I can determine the run-time environment of the lambda function. This provide a quick work around until issue #1455 is resolved
2016-08-14 15:33:53 -04:00
Christopher G. Paton
b66b0612f6 Merge branch 'master'
Conflicts:
	lib/plugins/aws/deploy/compile/events/apiGateway/lib/methods.js
	lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js
2016-08-13 21:47:35 +01:00
Philipp Muens
0e3ca57ff3 DRY out loading of core CloudFormation template 2016-08-13 08:22:58 +02:00
Philipp Muens
28011f45c9 Rename description of core CloudFormation template 2016-08-13 08:20:01 +02:00
Philipp Muens
30b3d6eb68 Update documentation to reflect recent changes 2016-08-12 17:58:41 +02:00
Philipp Muens
0944e6dde6 Refactor resource merging
So that the custom provider resources are not stored in a temp variable.
Furthermore the whole CloudFormation content is available in this.serverless.service.resources.
2016-08-12 17:42:18 +02:00
Philipp Muens
2468ed295a Fix linting error 2016-08-12 16:01:19 +02:00
Philipp Muens
93086a192f Update custom provider resource merging 2016-08-12 15:52:21 +02:00
Christopher G. Paton
6b50036841 Fixed typo in readme. :)
Tidied up CORS configuration. Updated readme and tests.
2016-08-11 18:44:39 +01:00
Philipp Muens
ffceabc7c5 Rename lifecycle events of deploy plugin 2016-08-11 16:23:17 +02:00
Florian Motlik
2a97b5bdfd Merge pull request #1794 from nicka/feature/refactor-aws-cloudformation-endpoint-outputs
Refactor for the CLI endpoints outputs
2016-08-11 16:12:25 +02:00
Christopher G. Paton
590ff32bcc Added check before setting origins and updated readme
Updated readme


Fixed RequestTemplates issue.


Added statusCode response to Options Request template.

Added X-Amz-Security-Token header and updated tests, too.
Manual test works. Updated unit tests, too.


Added documentation and some validation.


Updated tests to check each header. All passing.


Added preflight config. Need to write tests.


Adds origin header to method. Tests pass. Need preflight added, too.



Setup basic cors assignement. Experimenting with configuration setup.
2016-08-10 20:12:07 +01:00
Philipp Muens
7b79b767a4 Refactor YAML convention for SNS event definitions 2016-08-10 09:13:23 +02:00
Philipp Muens
537a6e0ce9 Merge pull request #1770 from serverless/topic-arn
Added topic_arn config to SNS events
2016-08-10 06:38:48 +02:00
Nick den Engelsman
6f21163fa3 refactor cli and cloudformation endpoint outputs 2016-08-09 10:08:47 +02:00
Eslam A. Hefnawy
f1a66400e2 enhanced docs for sns topic arn 2016-08-09 16:16:52 +09:00
Philipp Muens
1b08e55f9e Fix linting issue 2016-08-08 08:27:26 +02:00
Philipp Muens
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Philipp Muens
40e990a3f9 Remove unnecessary checks in API Gateway validate method 2016-08-08 08:21:17 +02:00
Eslam A. Hefnawy
9a7e39cc2e sns event can now take topic arn 2016-08-05 20:59:01 +09:00
Sander van de Graaf
6816ced0f6 removed individual lodash functions 2016-08-05 13:30:35 +02:00
Philipp Muens
dba7492d90 Merge pull request #1751 from serverless/add-docs-for-dynamodb-and-kinesis-stream-setup
Add docs for DynamoDB and Kinesis stream setup
2016-08-05 07:59:04 +02:00
Eslam A. Hefnawy
16e0fadef3 added test for methodDependencies array 2016-08-05 04:31:53 +09:00
Eslam A. Hefnawy
f6794931d3 added dependson for deployment template 2016-08-05 04:19:04 +09:00
Eslam A. Hefnawy
6a0de8fd39 added unique token to deployment logical id 2016-08-05 03:54:29 +09:00
Philipp Muens
ac14c299c2 Add note that the corresponding stream / table can also be created in the resources section 2016-08-04 20:54:24 +02:00
Eslam λ Hefnawy
ef1ac845c4 Merge pull request #1755 from serverless/print-a-dot-while-loading
Print a . while loading
2016-08-05 03:15:43 +09:00
Eslam λ Hefnawy
450c220ca2 Merge pull request #1753 from serverless/function-name
Set default or custom function.name property
2016-08-05 03:05:45 +09:00
Eslam A. Hefnawy
de20ab4a90 fixed tests 2016-08-05 00:38:31 +09:00
Eslam A. Hefnawy
1c70f20486 removed compile function fallback for function name 2016-08-05 00:23:14 +09:00
Philipp Muens
86af77dbe2 Update comments with proper english 2016-08-04 16:24:51 +02:00
Philipp Muens
d17b0c3df0 Print a . while loading 2016-08-04 16:21:59 +02:00
Philipp Muens
e31b33e5d8 Add docs for DynamoDB and Kinesis stream setup 2016-08-04 14:47:32 +02:00
Eslam A. Hefnawy
b3da5d4491 added custom iam role statements 2016-08-04 20:19:31 +09:00
Florian Motlik
3650554d53 Merge pull request #1702 from mallzee/1683-function-order-fix
fix(deploy): Functions no longer need to maintain order
2016-08-01 18:20:37 +02:00
Benny Bauer
38509dded6 fix 1468 - remove accountId, fix memorySize reference and cover with test 2016-07-29 13:07:11 +02:00
Benny Bauer
d587dd93a6 fix 1468 - handle non existing stack and errors + add tests 2016-07-29 13:06:59 +02:00
Benny Bauer
9f0c506c75 fix 1468 - display endpoints
Display general information on service, functions and endpoints.
Add tests.

partial fix for #1468 - display endpoints

fix 1468 - display endpoints

Display general information on service, functions and endpoints.
Add tests.
2016-07-29 13:01:15 +02:00
Benny
3a7079885c partial fix for #1468 - display endpoints 2016-07-29 12:59:42 +02:00
Jamie Sutherland
6e0aa09a4c Fixing lint errors 2016-07-29 11:09:57 +01:00
Jamie Sutherland
1ba1079c6c fix(deploy): Transform parameters paths into alphanumeric paths for resource keys 2016-07-29 11:07:36 +01:00
Eslam A. Hefnawy
cce0b02a0c fixed test for vpc 2016-07-29 19:05:09 +09:00
Eslam A. Hefnawy
a7f4d544a3 added service level vpc config 2016-07-29 18:50:00 +09:00
Jamie Sutherland
6e14a457c2 refactor(deploy): Make resource ids camel case to make them easier to read 2016-07-29 09:22:34 +01:00
Eslam A. Hefnawy
3e0fe086b1 added support for VPC with tests and docs 2016-07-29 16:46:52 +09:00
Jamie Sutherland
18fbc6ef76 fix(deploy): Functions no longer need to maintain order
Resources and Methods were referenced by their index which made redeploying fail when you swapped the order of functions or added new ones anywhere bar the bottom of the object

Closes #1683
2016-07-28 22:30:22 +01:00
jexact
670e210639 adding principalId to request template 2016-07-27 20:03:19 +02:00
Sander van de Graaf
c98d8d81bf cleanup json notation, make eslint happy 2016-07-27 16:22:37 +02:00
Sander van de Graaf
5ea59d4ed6 Removed unneeded outputs and the corresponding tests. Added postCreate function for easy hook later. 2016-07-27 16:22:37 +02:00