478 Commits

Author SHA1 Message Date
Egor Kislitsyn
98d22f9fa6 fix tests 2016-02-18 18:53:58 +07:00
ac360
7498e843a5 Classes: remove serverless prefix WIP 2016-02-17 11:17:39 -08:00
Kamil Burzynski
f532b50996 WIP 2016-02-17 16:41:17 +01:00
Egor Kislitsyn
f444f73fa2 adds a test for PluginCreate action (#623) 2016-02-17 00:19:53 +07: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
Kamil Burzynski
8130ea49f4 Bugfixes 2016-02-12 17:52:15 +01:00
Kamil Burzynski
ad70f853bb Reworked function load/save to be done implicitly, removed Event/Endpoint load/save methods 2016-02-12 17:24:14 +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
8f9ea9773d Moved getEvents() to project.
Extraced Project._filterSPaths
2016-02-12 09:12:05 +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
ac360
8da05b8572 merge 2016-02-11 08:58:22 -08:00
Egor Kislitsyn
8ba255bb1e adds ResourcesDiff action (#604) 2016-02-11 21:57:17 +07: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
88dd14b2cc Release v0.4.0 2016-02-10 23:31:24 -08:00
ac360
290441b886 ResourcesDeployTest: fix 2016-02-10 23:18:49 -08:00
ac360
5b22eb5263 Tests: fix 2016-02-10 22:55:40 -08:00
ac360
becb69f53e Dependencies: update 2016-02-10 22:40:34 -08:00
Eslam A. Hefnawy
ae34a57b59 event sources: adding permissions 2016-02-11 12:39:41 +07: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
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
Austen Collins
9193c21497 Variables: name is always reserved and is the name of the config file you are trying to populate 2016-02-10 17:08:09 -08:00
ac360
a95d434d4e ServerlessMeta: skip over hidden files when loading #578 2016-02-10 14:41:42 -08:00
ac360
6670cd72eb ServerlessEvent: fix setting from ServerlessFunction.set(), ServerlessState: write tests for getEvents() 2016-02-10 14:15:21 -08:00
ac360
8dc9057f42 DashDeploy: new hotkeys 2016-02-10 13:44:46 -08:00
Kamil Burzynski
27a7acf877 Updated tests to match recent architectural changes 2016-02-10 10:36:39 +01:00
Kamil Burzynski
e06786dae7 Merge branch 'master' into arch-refactor 2016-02-10 08:51:05 +01:00
Eslam A. Hefnawy
b22f586b1f event sources: added stage for Arn 2016-02-10 12:30:03 +07:00
Kamil Burzynski
c5e644626a Updates for testsuite 2016-02-09 18:19:59 +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
Eslam A. Hefnawy
814c156080 fixing events conflicts 2016-02-09 14:15:30 +07:00
ac360
95525b37ff FunctionRun: use within function folder 2016-02-08 08:02:09 -08:00
Eslam A. Hefnawy
7ee97a4ff7 fixed unit tests. All tests are passing 2016-02-08 18:07:35 +07:00
ac360
9f93986de1 ServerlessState: fix returnPaths option on getFunction and getEndpoint 2016-02-07 22:41:18 -08:00
ac360
48a1e2abf9 ServerlessProject: getResources change to promise 2016-02-07 21:36:53 -08:00
Austen Collins
732889c3ec ServerlessFunction: add test for name template 2016-02-07 18:25:31 -08:00
Austen Collins
929b4dc2f5 FunctionLogs: fix test 2016-02-07 18:10:36 -08:00
Austen Collins
98e7cab81f Tests: remove FunctionInvoke test 2016-02-07 17:36:17 -08:00
Austen Collins
422cb94e4e FunctionRun: combine FunctionInvoke into FunctionRun 2016-02-07 17:23:28 -08:00
Austen Collins
3cfabde174 FunctionRun, FunctionInvoke: Combine 2016-02-07 16:18:22 -08:00
Austen Collins
4c75412794 FunctionRun: Improve 2016-02-07 12:22:07 -08:00