53 Commits

Author SHA1 Message Date
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
7b11a9d3d0 tiny stage create fix 2016-01-08 21:55:08 +02:00
ac360
931dbde01e Meta: remove public and private folders and namespace 2016-01-08 10:07:01 -08:00
Eslam A. Hefnawy
5275f2b3b0 CLI Testing: some fixes 2016-01-06 18:13:18 +02: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
Eslam A. Hefnawy
606951c741 projectCreate, regionCreate, stageCreate unit tests fixed without CF 2016-01-03 11:37:25 +02:00
Eslam A. Hefnawy
aa9560586d ModuleCreate and FunctionCreate: refactor 2016-01-01 18:46:31 +02: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
ac360
32899c07e5 StageCreate ProjectCreate: Continue refactor 2015-12-30 16:17:19 -08:00
Austen Collins
fc3786f086 All: Add classes for Project, Module and Function 2015-12-28 23:49:29 -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
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
0490c99ac6 ResourcesDeploy: Creates stack if it does not exist already 2015-12-16 13:46:21 -08:00
Austen Collins
17424e267c merge whitespace PR 2015-12-13 21:35:58 -08:00
Austen
a52b370d40 Merge pull request #369 from ryansb/feature/cfn-parameter-groups
Group parameters in CFN template
2015-12-13 21:12:14 -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
c3dfa16456 FunctionCreate, ModuleCreate: clean up 'evt' objects and ensure they have consistent properties 2015-12-13 14:32:19 -08:00
Ryan S. Brown
8016ca315f Change naming conventions in template generation step 2015-12-13 12:39:17 -05: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
Eslam A. Hefnawy
04e7d230dc new stage has no default val 2015-12-11 00:19: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
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
bd30a1da24 StageCreate: Fix event object and write test to validate it 2015-12-05 17:39:33 -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