55 Commits

Author SHA1 Message Date
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
Eslam A. Hefnawy
bbfe50531a template in root directory of module 2016-01-12 22:06:28 +02:00
ac360
6508c11fbe Classes: Finish refactor/cleanup, TestComponentCreate: finish 2016-01-07 18:33:34 -08:00
Eslam A. Hefnawy
480a4290db updated env actions and functionRun 2016-01-07 23:42:04 +02:00
Eslam A. Hefnawy
810e01b452 added ComponentCreate actions and updates ModuleCreate and FunctionCreate 2016-01-07 22:58:39 +02:00
Austen
78544955d7 Merge pull request #456 from joostfarla/camelcase2
Allow camelcased names + improved validation (#432)
2016-01-07 09:31:50 -08:00
Austen
5cae25ccc2 Merge pull request #455 from joostfarla/create
Fix module / function creation
2016-01-07 09:24:48 -08:00
Eslam A. Hefnawy
791ce2d7b2 function and endpoint deploy now deploys according to CWD 2016-01-06 12:12:01 +02:00
Eslam A. Hefnawy
04d866f6ee removed interactive option 2016-01-05 23:10:00 +02:00
Joost Farla
8d7826dbae Allow camelcased names + improved validation (#432) 2016-01-05 12:36:50 +00:00
Joost Farla
ba2cccace1 Fix module / function creation 2016-01-05 11:03:37 +00:00
ac360
e4af33204d Serverless: add useful middleware which ensures quality between Actions and Hooks 2016-01-04 19:08:48 -08:00
Eslam A. Hefnawy
f631d1b86f fixed actions and unit tests 2016-01-05 00:52:37 +02:00
Eslam A. Hefnawy
1e6bf5dd73 fixing unit tests 2016-01-03 03:13:38 +02:00
ac360
edecb905b7 Project: add getEndpoints method 2016-01-02 11:52:24 -08:00
ac360
91069d21de FunctionDeploy: refactor 2016-01-01 22:29:14 -08:00
Eslam A. Hefnawy
ec33f6af17 functionRun: refactored and tested 2016-01-01 22:57:28 +02:00
Eslam A. Hefnawy
8d3382d334 ModuleCreate and FunctionCreate: tested 2016-01-01 20:11:52 +02:00
ac360
4ef1f75894 merge 2016-01-01 09:43:40 -08:00
Eslam A. Hefnawy
aa9560586d ModuleCreate and FunctionCreate: refactor 2016-01-01 18:46:31 +02:00
ac360
d3787e9860 Serverless: change global private properties to be on config object 2015-12-31 16:42:00 -08:00
Austen Collins
fc3786f086 All: Add classes for Project, Module and Function 2015-12-28 23:49:29 -08:00
Kamil Burzynski
400ff45d8c Removed invalid indentation from multi-line string literals 2015-12-21 12:48:03 +01:00
Eslam A. Hefnawy
ec4a0dd4df cleared up command options shortcut 2015-12-18 20:46:28 +02:00
Kamil Burzynski
956a64e9d9 Refactored internal plugins to be loaded just like the external ones. 2015-12-17 10:43:10 +01:00
Eslam λ Hefnawy
b55c86bb91 removed logs 2015-12-15 11:27:57 +02:00
Austen Collins
c632603894 ModuleCreate, FunctionCreate: fix bug with missing name 2015-12-14 13:29:23 -08:00
Eslam A. Hefnawy
998a9948e5 replaced nodejs0 with nodejs - that's what aws expects and was causing deployment issues 2015-12-14 17:03:56 +02:00
Austen Collins
6d22be465c Utils: fix typo 2015-12-13 22:03:26 -08:00
Austen Collins
17424e267c merge whitespace PR 2015-12-13 21:35:58 -08: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
c0239ff67e ModuleCreate, FunctionCreate: Further cleanups of EVENT object 2015-12-13 16:14:12 -08:00
Austen Collins
c3dfa16456 FunctionCreate, ModuleCreate: clean up 'evt' objects and ensure they have consistent properties 2015-12-13 14:32:19 -08:00
Eslam A. Hefnawy
5e6f414cbc tiny fixes 2015-12-13 18:36:31 +02:00
Ryan S. Brown
eef57a7882 Monster whitespace commit
Since so many folks have trailing whitespace removal on, we should really get
rid of these all at once to make it easier to deal with the resulting merge
conflicts.
2015-12-13 09:36:59 -05:00
Austen Collins
d9f3bdf8ad Plugins: add in support to read plugins from plugins folder 2015-12-10 20:46:24 -08:00
Austen Collins
462f78f3e4 minor cleanup 2015-12-10 16:42:28 -08:00
Eslam A. Hefnawy
315b1f1910 ModuleCreate uses FunctionCreate as sub action 2015-12-11 02:15:22 +02: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
660e05ba28 ServerlessPlugin: prefix CLI convenience methods w/ 'cli' 2015-12-08 17:34:42 -08:00
Eslam A. Hefnawy
45ac2dd9ad stringify event obj 2015-12-08 20:13:53 +02:00
Eslam A. Hefnawy
f342ea0f43 added function name to event.json 2015-12-08 20:05:07 +02:00
Austen Collins
2e3502de4c FunctionCreate: minor fixes, EndpointDeploy and FunctionDeploy: better status updates 2015-12-07 22:36:19 -08:00
Austen Collins
d9f6db782f All: major changes, refactor s-function.json completely, support multiple lambdas w/ multiple endpoints in a single s-function.json, add tests, remove browserify/optimization code, fix module create 2015-12-07 21:28:39 -08:00
Austen Collins
2aa69719fd FunctionDeploy: Fix CLI support, ModuleCreate: Use 'serverless-helpers-js' and auto-nom-install on creation 2015-12-07 09:10:05 -08:00
Eslam A. Hefnawy
7f99f2f916 moved package folder to module root 2015-12-07 13:28:34 +02:00
Eslam A. Hefnawy
689988db0d added unit test for ModuleInstall 2015-12-06 22:16:26 +02:00
Austen Collins
955f7ca773 ModuleCreate: Refactor ModuleCreate scaffolding and include NPM dotenv dependency 2015-12-06 09:34:11 -08:00