47 Commits

Author SHA1 Message Date
ac360
840e0610e1 ProjectInstall: first pass at implementing this Action 2016-01-19 12:31:34 -08:00
ac360
84b8ae3227 Plugin Loading: Change and simplify plugin loading 2016-01-16 21:03:18 -08:00
ac360
5d1564cbd7 Serverless: add init() method for programmatic usage to init state, Classes: make getPopulated and getResources no longer return promises, ServerlessModule: add template property to module 2016-01-16 17:20:38 -08: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
ac360
16bdfe9659 Serverless: fix state loading, ProjectCreate/StageCreate/RegionCreate: fix/update to better use classes, State Class: add new getProject and getMeta methods, fix getResources bugs, write tests 2016-01-15 19:34:00 -08:00
ac360
6d5a7f8c15 Classes: Major classes refactor 2016-01-14 23:19:16 -08:00
ac360
f675457b4e Classes: beging removing data prop 2016-01-14 23:19:16 -08:00
ac360
e38c31ab69 Serverless: change queuing 2016-01-13 16:20:17 -08:00
ac360
a0102e159c ServerlessState: Move methods from ServerlessProject to ServerlessState 2016-01-13 16:20:17 -08:00
ac360
4e9d65e253 ServerlessState: create class and add to Serverless instance 2016-01-13 16:19:20 -08:00
Austen
67c5751e51 Merge pull request #476 from martinlindenberg/v0.1.0
add aws profile support
2016-01-11 09:57:54 -08:00
Martin Lindenberg
7e1273209c add aws profile support 2016-01-11 18:13:12 +01:00
ac360
3caa7588da FunctionDeploy: Fix handler error and script errors due to lodash 2016-01-08 23:38:21 -08:00
Eslam A. Hefnawy
6996822740 validating that we are inside a serverless project for all actions except project create 2016-01-09 01:06:14 +02:00
ac360
d78f6d60de Serverless: fix path validation 2016-01-08 11:48:08 -08:00
ac360
63bb5c9c99 FunctionRun: Better error messages, Serverless: validatePath checks existence 2016-01-08 11:48:08 -08:00
Eslam A. Hefnawy
e37400ef1c updated plugins node modules folder 2016-01-08 17:19:56 +02:00
ac360
fde3eee4fd Utils: refactor getResources, populate, Tests: fix all, Serverless: add methods to work with sPaths 2016-01-08 01:17:42 -08:00
ac360
6508c11fbe Classes: Finish refactor/cleanup, TestComponentCreate: finish 2016-01-07 18:33:34 -08:00
ac360
da01175368 Classes: Create Component class and refactor for simplicity. 2016-01-07 16:49:06 -08:00
Nicolas Grenié
20d52c5bca add shortcut -v, --version to get the version 2016-01-05 11:33:49 +01: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
ac360
6a146dd358 Serverless: always add evt.data property 2016-01-04 11:06:29 -08:00
ac360
197f63c9e6 sync 2016-01-04 11:05:21 -08:00
Joost Farla
c6c204d87a Make sure action options/parameters are always present 2016-01-04 09:40:01 +00:00
ac360
8d4c29352c ResourcesDeploy: remove rollback due to it causing an error 2016-01-04 01:09:16 -08:00
ac360
016f0812ad EndpointDeploy: finish refactor 2016-01-03 20:24:21 -08:00
ac360
91069d21de FunctionDeploy: refactor 2016-01-01 22:29:14 -08:00
ac360
d3787e9860 Serverless: change global private properties to be on config object 2015-12-31 16:42:00 -08:00
ac360
a65930d99d Project/Stage/RegionCreate: refactor. Next add auto-resources deploy 2015-12-30 19:55:05 -08:00
Austen Collins
5e3198fbcc ProjectCreate: start refactor to use classes 2015-12-30 15:49:28 -08:00
Austen Collins
47a3713126 Serverless: add Function class to base class 2015-12-28 23:51:03 -08:00
Austen Collins
fc3786f086 All: Add classes for Project, Module and Function 2015-12-28 23:49:29 -08:00
Austen Collins
8a06c1ca2b Utilities: Add populateVariables function 2015-12-28 08:56:23 -08:00
Austen Collins
9b4b618185 Project/Stage/Region Create: Almost done refactoring to use 1 Project Bucket, call each relevant subaction, and use new CF resources deployment 2015-12-28 00:51:08 -08:00
Austen Collins
11801ad797 All: prepare for Project/Stage/Region Create refator to call each as subactions 2015-12-27 18:24:00 -08:00
Austen Collins
3026632048 ProjectCreate: Create new meta scaffolding. Add CF to s-project.json template and stop using resources-cf.json 2015-12-27 17:08:38 -08:00
Austen Collins
0a1b71318c All: Change _projectJson to _project and include entire project JSON.
This change breaks some things that will be fixed in subsequent commits
2015-12-27 09:02:57 -08:00
Austen Collins
d8cd446b6f Serverless: create _project and _meta properties on base class 2015-12-26 15:33:01 -08:00
Austen Collins
530b93d3fb Utilities: Implement getProject function 2015-12-26 14:20:34 -08:00
Kamil Burzynski
956a64e9d9 Refactored internal plugins to be loaded just like the external ones. 2015-12-17 10:43:10 +01:00
Austen Collins
00824ca77f ServerlessPlugin: no longer take a config object 2015-12-13 18:51:59 -08:00
Austen Collins
63c53afec9 FunctionCreate: fix path bug 2015-12-13 13:05:08 -08:00
Austen Collins
419b71078d Utilities: Accidently saved to serverless.json instead of s-project.json 2015-12-11 02:31:46 -08:00
Austen Collins
d9f3bdf8ad Plugins: add in support to read plugins from plugins folder 2015-12-10 20:46:24 -08:00
Norm MacLennan
3569e0cb9c Fix case-senstivity issues 2015-12-08 09:02:27 -08:00