66 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
b84c8df201 fixed more actions 2016-02-27 00:57:20 +07:00
Eslam A. Hefnawy
4621810516 fixed componentCreate and functionCreate 2016-02-26 14:34:47 +07:00
ac360
48758fac83 Serializer: remove config.filePath from assets 2016-02-23 16:22:22 -08:00
Egor Kislitsyn
219cea9f3a Actions: remove serverless prefix 2016-02-18 18:44:11 +07:00
Kamil Burzynski
887e045e27 Bugfixes 2016-02-15 18:12:31 +01:00
ac360
c0ae21f4fc syncMerge branch 'master' into v0.5 2016-02-12 13:36:13 -08: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
c814acd1e9 Bugfixes.
State migration in progress
2016-02-12 12:36:04 +01:00
Kamil Burzynski
fedc2e329b WIP: moved getComponents() to project 2016-02-12 09:10:35 +01:00
Kamil Burzynski
7f80bd6bc1 WIP: moved getFunctions() to project 2016-02-12 09:09:56 +01:00
Eslam A. Hefnawy
bebedc4474 functionCreate: fix error message. Closes #553. 2016-02-12 13:52:42 +07:00
Kamil Burzynski
7c031bb8ec Bugfixes 2016-02-09 17:29:21 +01: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
Austen Collins
cb10215054 FunctionCreate: fix functioncreate 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
ac360
4b79e5e751 ComponentCreate, FunctionCreate: finish refactor and fix tests 2016-02-07 12:22:05 -08:00
ac360
f2ec676eb9 FunctionCreate: refactor to remove modules concept 2016-02-07 12:21:49 -08:00
Kamil Burzynski
df7b3d9db6 WIP - module removal 2016-02-07 12:21:03 -08:00
ac360
e8758ebbbb ComponentCreate, ModuleCreate, FunctionCreate: use state.setAsset() on creation to add new items to the state before save. 2016-01-21 16:16:43 -08:00
Ryan S. Brown
c2e4d7b7bc typofix 2016-01-20 10:17:10 -05: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
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
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
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
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
Eslam A. Hefnawy
8d3382d334 ModuleCreate and FunctionCreate: tested 2016-01-01 20:11:52 +02: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
visualasparagus
5b81d56870 Update FunctionCreate.js
removed module name prefix on function name (line 257)
2015-12-16 15:41:05 +01:00
Austen Collins
82bced93e0 FunctionCreate: Fix creation of event object with correct function name 2015-12-15 08:27:33 -08:00
Eslam λ Hefnawy
11b908cfee remove logs 2015-12-15 12:00:57 +02:00
Eslam λ Hefnawy
7e9c185777 fixed issue: event.json function object was set to undefined. 2015-12-15 11:26:07 +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
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