63 Commits

Author SHA1 Message Date
Egor Kislitsyn
3ce9e0b28c fix actions 2016-02-18 18:53:06 +07: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
703b936c77 Bugfixes 2016-02-16 11:46:43 +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
Egor Kislitsyn
e34be438c0 updates the actions to use ProviderAws 2016-02-15 18:22:52 +07:00
Kamil Burzynski
f6a0a6aa84 Updates after merge to 0.5, minor code cleanups. 2016-02-11 09:42:07 +01:00
Austen Collins
c6a0e51cac Comments: remove all traces of 'development' stage 2016-02-10 20:03:19 -08:00
Eslam A. Hefnawy
6d133a4931 remove SERVERLESS_REGION env var 2016-02-08 17:26:25 +07:00
ac360
c56affdb44 RegionCreate: Fix noExeCf option 2016-02-01 09:42:27 -08:00
ac360
d3998fc2dc ProjectInit, ServerlessProject: Optimize code 2016-01-28 21:33:47 -08:00
ac360
66816804c8 ProjectCreate: Change to ProjectInit 2016-01-28 19:37:09 -08:00
ac360
e3706960f6 RegionCreate: create project bucket in here 2016-01-28 18:13:15 -08:00
ac360
72489fd884 StageCreate,RegionCreate: Deploy CF resources automatically (like we used to) and fix the noExeCf option 2016-01-21 23:36:17 -08:00
Eslam A. Hefnawy
ce7be472ab new env var for region 2016-01-20 15:40:10 +02:00
ac360
d743e94e68 Release v0.1.1 2016-01-18 18:13:04 -08:00
ac360
36b310e9e5 ProjectCreate: fix bug created in f38264 2016-01-18 17:09:03 -08:00
ac360
f38264a296 ProjectCreate: no longer create a project bucket if 'noExeCf' is set 2016-01-18 12:56:56 -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
Eslam A. Hefnawy
9137224731 fixing all actions to use classes 2016-01-16 00:28:50 +02:00
ac360
e38c31ab69 Serverless: change queuing 2016-01-13 16:20:17 -08:00
Eslam A. Hefnawy
4124330405 fixed dashDeploy to use new func.config obj 2016-01-09 00:50:17 +02:00
ac360
931dbde01e Meta: remove public and private folders and namespace 2016-01-08 10:07:01 -08:00
Eslam A. Hefnawy
04d866f6ee removed interactive option 2016-01-05 23:10:00 +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
edecb905b7 Project: add getEndpoints method 2016-01-02 11:52:24 -08:00
ac360
60572e51bb S3: Change projectbucket name back to serverless.region.domain, update settings to always use project bucket in the same region, EndpointDeploy: continue refactor 2016-01-02 09:10:48 -08:00
ac360
1fbff06925 Project/Stage/RegionCreate/ResourcesDeploy: Change returned object to be submitted options only 2015-12-31 16:48:20 -08:00
ac360
d3787e9860 Serverless: change global private properties to be on config object 2015-12-31 16:42:00 -08:00
ac360
96f1af8661 Many updates:
Project/Stage/RegionCreate: Finish refactor
Classes: Rely on Serverless Project Path, instead of passing in class
Utils.populate: Fix
Utils.getResoruces: Finish
ResourcesDeploy: Finish refactor
2015-12-31 14:35:46 -08:00
ac360
a65930d99d Project/Stage/RegionCreate: refactor. Next add auto-resources deploy 2015-12-30 19:55:05 -08:00
ac360
d7164e845b RegionCreate: start refactor 2015-12-30 17:20:07 -08:00
Austen Collins
fc3786f086 All: Add classes for Project, Module and Function 2015-12-28 23:49:29 -08:00
Austen Collins
0522a24c79 Project/Stage/RegionCreate Refactor: Get RegionCreate ready to call ResourcesDeploy 2015-12-28 01:03:43 -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
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
Kamil Burzynski
381028d591 Fixed indentation and duplicate entries in resources-cf 2015-12-21 15:37:16 +01:00
Kamil Burzynski
8613e610f2 Merge branch 'master' into string-indentation
Conflicts:
	lib/actions/RegionCreate.js
	lib/actions/StageCreate.js
2015-12-21 13:51:51 +01:00
Kamil Burzynski
400ff45d8c Removed invalid indentation from multi-line string literals 2015-12-21 12:48:03 +01:00
Eslam A. Hefnawy
1561479838 added PROJECT_NAME env var 2015-12-21 11:39:20 +02:00
Eslam A. Hefnawy
ec4a0dd4df cleared up command options shortcut 2015-12-18 20:46:28 +02:00
Eslam A. Hefnawy
acfefd08cf made region select more robust 2015-12-18 13:25:01 +02: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
e70a7c6aaf ResourcesDeploy: On create, save to s-project.json 2015-12-16 13:58:47 -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
Eslam A. Hefnawy
a0b4e64773 RegionCreate: validate max number of regions per stage. 2015-12-10 22:52:31 +02:00
Austen Collins
c413ee5113 Actions: delete logging of event objects for inspection 2015-12-10 12:44:33 -08:00