80 Commits

Author SHA1 Message Date
Kamil Burzynski
8130ea49f4 Bugfixes 2016-02-12 17:52:15 +01:00
Kamil Burzynski
0eeb96d17a Public API usage cleanups 2016-02-12 16:46:24 +01: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
9cb95838d2 Migrated getEndpoints to Project 2016-02-12 11:26:50 +01:00
Kamil Burzynski
4411518e4a Cleanups 2016-02-12 09:26:03 +01:00
Kamil Burzynski
8f9ea9773d Moved getEvents() to project.
Extraced Project._filterSPaths
2016-02-12 09:12:05 +01:00
Kamil Burzynski
f26a1cc13d WIP: fixed getFunctions() usage to be compatible with original code 2016-02-12 09:10:35 +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
Kamil Burzynski
8e2f450fa3 API usage updates after recent merges 2016-02-12 08:45:54 +01:00
ac360
8da05b8572 merge 2016-02-11 08:58:22 -08:00
ac360
07a03996b8 mergeMerge branch 'make-cf-outputs-accessible-as-variables' of https://github.com/HyperBrain/serverless into HyperBrain-make-cf-outputs-accessible-as-variables 2016-02-11 08:35:30 -08:00
ac360
bd18c6ab4c ResourcesDeploy: Merge resoursces correctly if using s-resources-cf.json files 2016-02-11 08:05:10 -08:00
Frank Schmid
fa43a654bb Add iamRoleArnLambda only internally and make use of lodaah lowerFirst function. 2016-02-11 15:07:37 +01:00
Frank Schmid
78240d3b72 Added CF output variables to project stage variables. The export can be controlled by a whitelist array within s-project.json named "resourceVars". 2016-02-11 14:45:02 +01:00
Kamil Burzynski
c4b3aaf43e Merge remote-tracking branch 'origin/v0.5' into arch-refactor
Conflicts:
	lib/actions/CodeDeployLambda.js
	lib/actions/EventDeployS3Lambda.js
	lib/actions/EventDeploySNSLambda.js
	lib/actions/EventDeployScheduledLambda.js
	lib/actions/EventDeployStreamLambda.js
	tests/tests/actions/ResourcesDeploy.js
2016-02-11 09:34:25 +01:00
ac360
77e06e5b92 Classes: fix errors 2016-02-10 22:55:40 -08:00
ac360
becb69f53e Dependencies: update 2016-02-10 22:40:34 -08:00
Austen Collins
c6a0e51cac Comments: remove all traces of 'development' stage 2016-02-10 20:03:19 -08:00
Austen Collins
85984f1a47 Resources: Allow for s-resources.json files to extend project s-resources.json file, by being located in component root, or subfolder1 root 2016-02-10 19:29:45 -08:00
Kamil Burzynski
7c031bb8ec Bugfixes 2016-02-09 17:29:21 +01:00
Kamil Burzynski
0d55b5449f Typos fixed. 2016-02-09 16:27:54 +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
ac360
48a1e2abf9 ServerlessProject: getResources change to promise 2016-02-07 21:36:53 -08:00
ac360
353458c024 NameTemplate: change to customName 2016-02-07 20:48:18 -08:00
ac360
a712a2a35e ServerlessProject: create s-resources-cf.json 2016-02-07 19:07:31 -08:00
ac360
055d7b9501 ResourcesDeploy, ServerlessProject.getResources: fix and fix test 2016-02-07 12:22:05 -08:00
ac360
f2ec676eb9 FunctionCreate: refactor to remove modules concept 2016-02-07 12:21:49 -08:00
ac360
0e43d0f2a6 ServerlessProject: getResources returns promise and supports an s-cloudFormation.json file in root 2016-02-07 12:21:03 -08:00
Kamil Burzynski
8de0b5ff2f getResources() doesnt crash due to undefined variables anymore 2016-02-07 12:21:03 -08:00
ac360
b133677e7a Resources: continue work on getResources method 2016-02-07 12:21:03 -08:00
ac360
a1d79f28d8 Adding backward support for s-module.json cloudformation 2016-02-07 12:21:03 -08:00
Austen Collins
9d0f40022f ServerlessState: updates to remove modules 2016-02-07 12:21:03 -08:00
ac360
d3998fc2dc ProjectInit, ServerlessProject: Optimize code 2016-01-28 21:33:47 -08:00
ac360
5b31ad83e5 ServerlessProject: remove templates property before save 2016-01-28 08:22:29 -08:00
ac360
16d9b6b7bc Templates: Fix template inheritance, allow template files in every level of organization, each inherit subjectively from the project level to the asset being populated 2016-01-22 16:18:12 -08:00
ac360
73be1b3fa7 Templates: fix method used to merge multiple template files 2016-01-22 14:04:09 -08:00
ac360
4911a3b75f Templates: finish support for project level templates. Remove moduleName.template syntax requirement for module-level templates. Module-level templates can extend project level templates. 2016-01-22 11:45:02 -08:00
ac360
145a7a8bbf Templates: now available at the Project level. Any file in the project root that starts with 's-template...' can contain templates 2016-01-21 18:03:56 -08:00
Eslam A. Hefnawy
856c0d0847 bug fixes. Closes #493 and #498 2016-01-20 13:10:46 +02:00
ac360
4ff4cfa4ef CloudFormation: Improve create/update and monitor methods, ServerlessProject: Fix logging issue 2016-01-19 16:35:36 -08:00
ac360
82612388d4 ServerlessProject: Automatically add package.json at the root of every new project 2016-01-17 14:12:40 -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
Eslam A. Hefnawy
9137224731 fixing all actions to use classes 2016-01-16 00:28:50 +02:00
Eslam A. Hefnawy
8dfaf6f701 fixed classes getPopulate method 2016-01-15 21:40:45 +02: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