45 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
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
Eslam A. Hefnawy
4786d189db more user friendly region selects 2015-12-10 18:34:40 +02:00
Eslam A. Hefnawy
3b50bff910 removed redundant prompts 2015-12-10 16:10:30 +02: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
Eslam A. Hefnawy
d3ede5bd36 env list is now aware of func env vars 2015-12-09 23:39:26 +02:00
Austen Collins
45b0e1231d ServerlessPlugin: rename cli convenience methods again and fix cliPromptSelectFunctions, FunctionRun: minor fixes, FunctionDeploy: show function select screen in CLI mode. 2015-12-08 18:15:15 -08:00
Austen Collins
660e05ba28 ServerlessPlugin: prefix CLI convenience methods w/ 'cli' 2015-12-08 17:34:42 -08:00
Eslam A. Hefnawy
f8b3cd114c added helpful comments to actions 2015-12-07 13:57:41 +02:00
Austen Collins
974c6258bb Tests: Fix to use one project 2015-12-05 23:26:05 -08:00
Austen Collins
263ecff02f StageCreate, RegionCreate: Return event object, add tests to check and validate event object. 2015-12-05 18:28:35 -08:00
Austen Collins
cd281f62a9 ProjectCreate: Remove apiFunctionAlias from project.stage.region objects.
Project/Stage/Region: Replace projectBucket term w/ regionBucket
2015-12-04 16:35:26 -08:00
Austen Collins
5766cc8772 ProjectCreate/All: Remove requirement to persist profile to file system and read from it. Save API Keys to admin.env instead. Involve AWS profile only in ProjectCreate prompt for convenience.
S3: lowercase Serverless in Bucket scaffolding, when created
2015-12-04 16:19:29 -08:00
Eslam A. Hefnawy
ed7e98cd2d rebranding fixes 2015-12-04 17:00:21 +02:00
Austen Collins
01ba9f6a52 All: Rebrand 2015-12-03 20:31:49 -08:00