25 Commits

Author SHA1 Message Date
Austen Collins
1b759feb78 Test: fixes 2015-12-18 20:42:30 -08:00
Kamil Burzynski
956a64e9d9 Refactored internal plugins to be loaded just like the external ones. 2015-12-17 10:43:10 +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
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 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
Austen Collins
dd6479c382 FunctionCreate, ModuleCreate: fix minor bugs. All: Clone this.S.cli.options, never reference it in Actions to prevent odd behavior in subactions 2015-12-13 18:29:25 -08:00
Austen Collins
a93384661c All: further fixes to use relative paths only and arrays for endpoints 2015-12-12 12:50:56 -08:00
Eslam A. Hefnawy
2d8b2fcbc5 tiny module fixes 2015-12-12 20:01:27 +02:00
Austen Collins
9c3e1d2c2b FunctionRun: show error message if project/cwd has no functions 2015-12-10 20:53:17 -08:00
Austen Collins
0e1f737a8e minor fixes 2015-12-10 13:10:44 -08:00
Austen Collins
c413ee5113 Actions: delete logging of event objects for inspection 2015-12-10 12:44:33 -08:00
Austen Collins
d6ac232910 Actions: Huge effort to clean up EVENT properties across all actions. In this commit, all Actions log their EVENT object at the end of running so we can view and discuss further. Overall, the EVENT properties across all Actions are close to being finalized now 2015-12-09 21:50:42 -08:00
Austen Collins
c7e6b0666d All: version bump 2015-12-08 22:03:25 -08:00
Austen Collins
45b0e1231d ServerlessPlugin: rename cli convenience methods again and fix cliPromptSelectFunctions, FunctionRun: minor fixes, FunctionDeploy: show function select screen in CLI mode. 2015-12-08 18:15:15 -08:00
Austen Collins
660e05ba28 ServerlessPlugin: prefix CLI convenience methods w/ 'cli' 2015-12-08 17:34:42 -08:00
Austen Collins
75f6737dcb All: Change function paths to use this convention: module/function#subfunction@endpoint
FunctionRun: Write tests for specifying funciton path and function name, improve CLI support
2015-12-08 17:24:53 -08:00
Austen Collins
feb5423275 FunctionRun: add options for function name or function path to run a specific function 2015-12-08 16:32:12 -08:00
Austen Collins
99e5856dbc FunctionRun & FunctionRunLambdaNodejs: Fix for new function json, show select menu when encountering multiple functions in s-function.json
ServerlessPlugin: Add selectFunctions conveninence method for use in all Plugins
2015-12-08 09:58:00 -08:00
Austen Collins
1cd738de6e fix case sensitivity 2015-12-08 09:02:27 -08:00
Eslam A. Hefnawy
f8b3cd114c added helpful comments to actions 2015-12-07 13:57:41 +02:00
Eslam A. Hefnawy
1540fce1f9 added unit test for FunctionRun 2015-12-07 01:08:30 +02:00
Eslam A. Hefnawy
6d6cbd667e FunctionRun: make env file available to function 2015-12-06 21:23:06 +02:00
Austen Collins
01ba9f6a52 All: Rebrand 2015-12-03 20:31:49 -08:00