4240 Commits

Author SHA1 Message Date
Kamil Burzynski
8613e610f2 Merge branch 'master' into string-indentation
Conflicts:
	lib/actions/RegionCreate.js
	lib/actions/StageCreate.js
2015-12-21 13:51:51 +01:00
Eslam λ Hefnawy
387715fef7 Merge pull request #415 from Nopik/debugs-removed
Removed test console.log statements
2015-12-21 14:38:30 +02:00
Kamil Burzynski
cc1408626d Removed test console.log statements 2015-12-21 13:01:55 +01:00
Kamil Burzynski
400ff45d8c Removed invalid indentation from multi-line string literals 2015-12-21 12:48:03 +01:00
Eslam A. Hefnawy
1561479838 added PROJECT_NAME env var 2015-12-21 11:39:20 +02:00
Kevin Old
b6e26c54f2 Fix improper pluralization of creating or updating in CloudFormation error message
Fixes:

[ServerlessError: Something went wrong while createing your cloudformation]

or

[ServerlessError: Something went wrong while updateing your cloudformation]
2015-12-19 09:40:50 -06:00
Austen Collins
1b759feb78 Test: fixes 2015-12-18 20:42:30 -08:00
Austen Collins
2bcb7f3b14 FunctionRuneLambdaNodejs: show error stack 2015-12-18 20:42:29 -08:00
Austen Collins
ec85670cdb Add resources TODO 2015-12-18 20:42:29 -08:00
Austen
8be8d9a8c5 Merge pull request #409 from erikerikson/master
Allow sFunction.json requestTemplates attribute values to be objects.
2015-12-18 16:22:46 -08:00
Eslam A. Hefnawy
c2ab6d4ac7 tiny tiny refactor 2015-12-19 01:01:59 +02:00
Erik Erikson
7e7d4c0626 Allow for non-object (i.e. strings, the prior valid value type) requestTemplate attribute values. Add explanation. 2015-12-18 13:57:08 -08:00
Eslam A. Hefnawy
ec4a0dd4df cleared up command options shortcut 2015-12-18 20:46:28 +02:00
Eslam A. Hefnawy
77ccdeaaf5 better error handling for function deploy 2015-12-18 15:05:32 +02:00
Eslam λ Hefnawy
472e792b12 Merge pull request #405 from Nopik/deploy-params
Added support for properly deploying endpoints with `foo/{bar}/baz` form
2015-12-18 13:28:59 +02:00
Eslam λ Hefnawy
86647e75ae Merge pull request #404 from Nopik/endpoint-deploy-errors
Displayed information about failed endpoint deploys.
2015-12-18 13:26:36 +02:00
Eslam A. Hefnawy
acfefd08cf made region select more robust 2015-12-18 13:25:01 +02:00
Kamil Burzynski
1c74b8989f Added support for properly deploying endpoints with foo/{bar}/baz form 2015-12-18 11:06:58 +01:00
Kamil Burzynski
ce1bb7450f Removed invalid check for successful deploys 2015-12-18 10:59:22 +01:00
Kamil Burzynski
c77d6fb813 Displayed information about failed endpoint deploys. 2015-12-18 10:46:32 +01:00
Erik Erikson
8c7a67f314 Allow for non-object requestTemplates 2015-12-18 01:16:33 -08:00
Erik Erikson
5bef2beb07 Check whether requestTemplates is an object and if so, stringify it so that the ApiG API is happy but we can also use JSON in sFunction.json for the requestTemplates attribute. 2015-12-18 00:52:50 -08:00
Kamil Burzynski
27e8f54d06 Added more verbose error messages for invalid s-module.json case 2015-12-18 09:39:56 +01:00
Austen Collins
325f14cce1 FunctionRun: fix 2015-12-17 13:59:02 -08:00
Austen Collins
94577606e9 merge 2015-12-17 13:44:29 -08:00
Austen
2c6826fc6b Merge pull request #394 from Nopik/console-log-cleanup
Removed console.log
2015-12-17 10:28:42 -08:00
Kamil Burzynski
956a64e9d9 Refactored internal plugins to be loaded just like the external ones. 2015-12-17 10:43:10 +01:00
Kamil Burzynski
11972acc02 Removed console.log 2015-12-17 10:04:13 +01:00
Austen Collins
e70a7c6aaf ResourcesDeploy: On create, save to s-project.json 2015-12-16 13:58:47 -08:00
Austen Collins
0490c99ac6 ResourcesDeploy: Creates stack if it does not exist already 2015-12-16 13:46:21 -08:00
Austen Collins
ff848dc920 minor fixes 2015-12-16 07:50:47 -08:00
visualasparagus
7395cbee68 Update FunctionRunLambdaNodeJs.js
removed incorrect property reference to unused value function.shortname on line 67
2015-12-16 15:45:51 +01:00
visualasparagus
bd8a078e9d Update FunctionRun.js
allows for both unnested function specific event.json files of the format <function-name>-event.json as well as the standard event.json with nested <function-name> properties
moves the parsing of the event property from _runFunction to _loadTestEvent where it makes more sense
2015-12-16 15:44:41 +01:00
visualasparagus
5b81d56870 Update FunctionCreate.js
removed module name prefix on function name (line 257)
2015-12-16 15:41:05 +01:00
Eslam A. Hefnawy
1fea051f35 fix dash deploy region select 2015-12-16 10:57:38 +02:00
visualasparagus
aeff3c9cf5 Centralized and fixed event.json loading
Refactored event.json loading code to be a call to a central function as opposed to duplicating the same code. See _loadTestEvent on line 159 and line 72
Referenced absolute path to event.json file in order to correctly load the file. See 162.
2015-12-16 00:44:25 +01:00
Eslam λ Hefnawy
221a275bbc commented out Event Source 2015-12-16 00:08:47 +02:00
Eslam λ Hefnawy
64dedfc687 commented out Event Source 2015-12-16 00:08:35 +02:00
Eslam A. Hefnawy
a300dad1d8 added EventSource support 2015-12-15 21:11:14 +02:00
Eslam A. Hefnawy
a8bf57ab28 Event Source: continue 2015-12-15 19:43:15 +02:00
Eslam A. Hefnawy
ca14aece80 removed logs 2015-12-15 19:27:46 +02:00
Eslam A. Hefnawy
f5a70eeb3d fixed function run with name option passed 2015-12-15 19:25:04 +02:00
Eslam A. Hefnawy
224de73693 EventSource: added action 2015-12-15 19:11:45 +02:00
Eslam A. Hefnawy
ef9feb8617 EventSource: start work. 2015-12-15 19:11:45 +02:00
Austen Collins
82bced93e0 FunctionCreate: Fix creation of event object with correct function name 2015-12-15 08:27:33 -08:00
Eslam λ Hefnawy
291cd4d29e Merge pull request #377 from Nopik/project-create
Creating parent directories during project create
2015-12-15 12:15:12 +02:00
Eslam λ Hefnawy
b71841cfc9 fix stage create 2015-12-15 12:03:28 +02:00
Eslam λ Hefnawy
11b908cfee remove logs 2015-12-15 12:00:57 +02:00
Eslam λ Hefnawy
28b28f0cad fixes region create when only when region is defined in stage 2015-12-15 12:00:40 +02:00
Kamil Burzynski
bde3a25e4c Creating parent directories during project create 2015-12-15 10:56:36 +01:00