78 Commits

Author SHA1 Message Date
Kamil Burzynski
8f9ea9773d Moved getEvents() to project.
Extraced Project._filterSPaths
2016-02-12 09:12:05 +01:00
Kamil Burzynski
7f80bd6bc1 WIP: moved getFunctions() to project 2016-02-12 09:09:56 +01:00
Kamil Burzynski
f6a0a6aa84 Updates after merge to 0.5, minor code cleanups. 2016-02-11 09:42:07 +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
Kamil Burzynski
3ab9291338 Merge branch 'arch-refactor-merge-1' into arch-refactor
Conflicts:
	lib/ServerlessMeta.js
	lib/actions/FunctionRun.js
2016-02-11 09:07:01 +01:00
ac360
77e06e5b92 Classes: fix errors 2016-02-10 22:55:40 -08:00
Austen Collins
2c95c6736e ServerlessFunction: Add support for custom IAM Role 2016-02-10 18:55:22 -08:00
Austen Collins
2c06588bcd Templates: removing .ext convention, too complicatedRevert "Templates: use convention s-templates.ext.json for extending templates"
This reverts commit d049eafcbaa2d7daf2e79891d894e024b605b09b.
2016-02-10 17:55:52 -08:00
Austen Collins
d049eafcba Templates: use convention s-templates.ext.json for extending templates 2016-02-10 17:54:21 -08:00
ac360
6670cd72eb ServerlessEvent: fix setting from ServerlessFunction.set(), ServerlessState: write tests for getEvents() 2016-02-10 14:15:21 -08:00
Kirill Potekhin
585a892d70 Fix rewriting s-templates.json 2016-02-10 18:03:36 +03:00
Kamil Burzynski
24b9d73bfb ServerlessRuntime class hierarchy introduced 2016-02-10 14:07:42 +01:00
Kamil Burzynski
e06786dae7 Merge branch 'master' into arch-refactor 2016-02-10 08:51:05 +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
Eslam A. Hefnawy
785641d576 merged events branch: all tests passing 2016-02-09 18:16:59 +07:00
Eslam A. Hefnawy
9ff594de74 fixing events after merge 2016-02-09 17:04:22 +07:00
ac360
c7b2aa08cb ServerlessFunction: remove component from endpoint path 2016-02-08 08:02:55 -08:00
ac360
95525b37ff FunctionRun: use within function folder 2016-02-08 08:02:09 -08:00
Egor Kislitsyn
730468689c fix python function creation and run 2016-02-08 18:23:18 +07:00
Egor Kislitsyn
b97871ed3f fixes ServerlessFunction scaffolding 2016-02-08 16:33:10 +07:00
ac360
353458c024 NameTemplate: change to customName 2016-02-07 20:48:18 -08:00
Austen Collins
3cfabde174 FunctionRun, FunctionInvoke: Combine 2016-02-07 16:18:22 -08:00
ac360
b45098571c Fix class tests 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
b133677e7a Resources: continue work on getResources method 2016-02-07 12:21:03 -08:00
ac360
794dc05142 Classes: fix all tests 2016-02-07 12:21:03 -08:00
ac360
5e8aa4c242 ServerlessState: fix tests to work w/o modules 2016-02-07 12:21:03 -08:00
Austen Collins
9d0f40022f ServerlessState: updates to remove modules 2016-02-07 12:21:03 -08:00
Austen Collins
68e27f22e2 Remove configs from classes and encourage use of sPath only 2016-02-07 12:21:02 -08:00
Austen Collins
f0de3a5c93 ServerlessComponent: continue work on function loading 2016-02-07 12:21:02 -08:00
Austen Collins
110eee79ab ServerlessComponent: change loading 2016-02-07 12:20:36 -08:00
ac360
bf1698ca76 Continue removing modules 2016-02-07 12:20:36 -08:00
ac360
aa93331941 ServerlessFunction: Keep removing module concept 2016-02-07 12:20:35 -08:00
ac360
b1b8cbf6cd ServerlessModule: begin removing this as a class and concept 2016-02-07 12:20:35 -08:00
Eslam A. Hefnawy
6aec0ba264 Revert "added event source support"
This reverts commit 916d09e1ec686f56f318b986342a192e811e0e69.
2016-01-28 17:59:44 +07:00
Eslam A. Hefnawy
bcf6cb3c2f Revert "ServerlessFunction: Fix endpoint and event loading"
This reverts commit dc6b480358a70b0c776c5b7fbb00e3b4abf01a33.
2016-01-28 17:59:00 +07:00
ac360
dc6b480358 ServerlessFunction: Fix endpoint and event loading 2016-01-27 21:38:44 -08:00
Eslam A. Hefnawy
916d09e1ec added event source support 2016-01-27 20:46:58 +07:00
Ryan S. Brown
2f0bb5620b Copy python templates to new functions 2016-01-23 09:08:14 -05: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
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
ac360
f6e0e02121 ServerlessState: add setAsset() method for conveniently addding in new assets to the state. 2016-01-21 16:12:43 -08:00
ac360
348db9b670 ServerlessFunction: fix getRuntime method 2016-01-21 15:12:31 -08:00
Eslam A. Hefnawy
dadfb50779 bug fixes for componentCreate and dashDeploy 2016-01-21 16:56:10 +02:00
Ryan S. Brown
9f1c57fd0f Hide runtime at component-level behind a function on the ServerlessFunction object 2016-01-20 11:52:36 -05:00
Joost Farla
8aae62a3da Added convenience getters 2016-01-19 20:38:27 +00:00
ac360
5a5590732f Serverless: Fix issue #486 - Changing endpoints breaks project 2016-01-18 11:37: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
Eslam A. Hefnawy
9137224731 fixing all actions to use classes 2016-01-16 00:28:50 +02:00