Kamil Burzynski
e0e027dcd3
Refactoring: removed S.config.projectPath, Project instance is created at correct moments, common project helpers moved to Project
2016-02-09 15:14:17 +01:00
ac360
95525b37ff
FunctionRun: use within function folder
2016-02-08 08:02:09 -08:00
Egor Kislitsyn
a0fc52deec
fix FunctionRun log output
2016-02-08 18:47:44 +07:00
Egor Kislitsyn
6714e24122
improves FunctionRun action:
...
- strip trailing slashes from path
- FunctionRunLambdaNodeJs: show error stack trace
2016-02-08 17:45:55 +07:00
ac360
353458c024
NameTemplate: change to customName
2016-02-07 20:48:18 -08:00
Austen Collins
98e7cab81f
Tests: remove FunctionInvoke test
2016-02-07 17:36:17 -08:00
Austen Collins
422cb94e4e
FunctionRun: combine FunctionInvoke into FunctionRun
2016-02-07 17:23:28 -08:00
Austen Collins
3cfabde174
FunctionRun, FunctionInvoke: Combine
2016-02-07 16:18:22 -08:00
Austen Collins
4c75412794
FunctionRun: Improve
2016-02-07 12:22:07 -08:00
ac360
7e45408983
FunctionDeploy: refactor for module removal
2016-02-07 12:22:06 -08:00
ac360
f95d92f720
FunctionCreate: start refactoring to only use sPath
2016-02-07 12:22:06 -08:00
Jordan Mack
4345e9c012
Add functionality to allow serverless function run to use the current function path if one was not specified on the CLI.
2016-01-31 18:33:12 -08:00
Austen
7b0b90ed65
Merge pull request #507 from ryansb/python-support
...
Python support
2016-01-25 16:34:38 -08:00
Eslam A. Hefnawy
e597f1dff5
function run fetches env var from stage and region if provided
2016-01-26 00:04:35 +07:00
Ryan S. Brown
21d0f270ec
Add Python run handler
2016-01-23 09:08:15 -05:00
ac360
f587413892
FunctionRun: throw error if incorrect path is specified
2016-01-21 15:00:24 -08:00
Eslam A. Hefnawy
10753765d0
fixed functionRun
2016-01-16 19:01:43 +02:00
ac360
016a1b4965
ServerlessState, ServleressMeta: add new helpful methods: getProject, getMeta, validateStageExists, validateRegionExists, add these to actions, fix additional tests
2016-01-15 21:41:46 -08:00
Eslam A. Hefnawy
9137224731
fixing all actions to use classes
2016-01-16 00:28:50 +02:00
ac360
f675457b4e
Classes: beging removing data prop
2016-01-14 23:19:16 -08:00
ac360
3caa7588da
FunctionDeploy: Fix handler error and script errors due to lodash
2016-01-08 23:38:21 -08:00
ac360
63bb5c9c99
FunctionRun: Better error messages, Serverless: validatePath checks existence
2016-01-08 11:48:08 -08:00
Eslam A. Hefnawy
bdd7b85c79
tiny function run fix
2016-01-08 21:49:25 +02:00
Eslam A. Hefnawy
699440fde7
functionRun updates
2016-01-08 00:41:56 +02:00
Eslam A. Hefnawy
480a4290db
updated env actions and functionRun
2016-01-07 23:42:04 +02:00
ac360
e194e3e72b
Actions: fix all to pass evt object through, wherever possible, Tests: get function and endpoint deploy tests workign, minor fixes for the validateevent function
2016-01-04 23:26:35 -08:00
Eslam A. Hefnawy
f631d1b86f
fixed actions and unit tests
2016-01-05 00:52:37 +02:00
ac360
ed9fae6e77
FunctionDeploy: Refactor, untested
2016-01-01 17:40:03 -08:00
Eslam A. Hefnawy
ec33f6af17
functionRun: refactored and tested
2016-01-01 22:57:28 +02:00
ac360
d3787e9860
Serverless: change global private properties to be on config object
2015-12-31 16:42:00 -08:00
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