80 Commits

Author SHA1 Message Date
Egor Kislitsyn
9fae29dd16 adds build() method to Runtime class; Removes FunctionRunNode and FunctionRunPython27 2016-03-10 21:08:34 +07:00
Eslam A. Hefnawy
43d1317f61 fixes across actions to remove components completely 2016-03-09 03:13:32 +07:00
ac360
241f70ed37 Remove old utils 2016-03-01 16:02:28 -08:00
ac360
4e57f0ff8b Extend templates in toObjectPopulate() methods, Classes take config again, test fixes 2016-03-01 13:30:52 -08:00
Eslam A. Hefnawy
dd598ca4f1 fixed action tests 2016-03-02 02:51:01 +07:00
Eslam A. Hefnawy
b84c8df201 fixed more actions 2016-02-27 00:57:20 +07:00
ac360
48758fac83 Serializer: remove config.filePath from assets 2016-02-23 16:22:22 -08:00
Eslam A. Hefnawy
c580ec6fa5 continue refactoring actions 2016-02-23 05:59:09 +07:00
Austen Collins
241a376f1e remove mkdirp in favor of fs-extar 2016-02-22 14:10:32 -08:00
Egor Kislitsyn
219cea9f3a Actions: remove serverless prefix 2016-02-18 18:44:11 +07:00
Kamil Burzynski
f532b50996 WIP 2016-02-17 16:41:17 +01:00
Kamil Burzynski
b67b044117 Bugfixes
- project load is truly used in async way now
- a number of typos related to misplaced ; or ,
- S.init() used properly and systematically throughout the code
- sPath indexOf usage now looks only at beginning of paths, to avoid bugs like "foo/bar-get".indexOf( "bar" ) mistakenly finding a component 'bar' within 'foo'
2016-02-16 11:19:12 +01:00
Eslam A. Hefnawy
914efae537 merging v0.5-providers branch: fixing conflicts 2016-02-16 13:19:59 +07:00
Eslam A. Hefnawy
7ac8175b47 EndpointRun: init 2016-02-15 20:22:45 +07:00
Egor Kislitsyn
e34be438c0 updates the actions to use ProviderAws 2016-02-15 18:22:52 +07:00
Kamil Burzynski
0a913255e7 Object hierarchy properly created.
Removal of few instances of private interface being used
2016-02-12 14:36:42 +01:00
Kamil Burzynski
f26a1cc13d WIP: fixed getFunctions() usage to be compatible with original code 2016-02-12 09:10:35 +01:00
Kamil Burzynski
7f80bd6bc1 WIP: moved getFunctions() to project 2016-02-12 09:09:56 +01:00
ac360
8da05b8572 merge 2016-02-11 08:58:22 -08:00
Kamil Burzynski
3ab9291338 Merge branch 'arch-refactor-merge-1' into arch-refactor
Conflicts:
	lib/ServerlessMeta.js
	lib/actions/FunctionRun.js
2016-02-11 09:07:01 +01:00
Egor Kislitsyn
283da110cf Merge remote-tracking branch 'upstream/master' 2016-02-11 13:45:39 +07:00
ac360
48f8e9dffa FunctionRun: fix description 2016-02-10 14:44:04 -08:00
Kamil Burzynski
24b9d73bfb ServerlessRuntime class hierarchy introduced 2016-02-10 14:07:42 +01:00
Egor Kislitsyn
1b46bc9140 fixes FunctionRun: region option, error handling 2016-02-10 17:34:32 +07:00
Jordan Mack
63c257105e Improve a few minor text regions. 2016-02-10 01:13:13 -08:00
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