1324 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
712e60b621 finished Service class tests 2016-05-18 13:27:59 +02:00
Philipp Muens
d0b42c70e0 Update Promise check
So that it won't fail if nothing is returned by the hook.
2016-05-18 11:57:27 +02:00
Philipp Muens
f74f565859 Add intelligent "before" and "after" hook keywording
The PluginManager will run the correct hook even if the capitalization is
wrong ("foo:beforeBar" will be executed as well as "foo:beforebar"). This
way users don't have to deal with the correct capitalization of function names
issue.
2016-05-18 11:10:18 +02:00
Philipp Muens
a3afcd51ab Add support to load service plugins 2016-05-18 10:17:51 +02:00
Philipp Muens
4e2fb39c81 Rename PluginManagement to PluginManager 2016-05-18 10:01:38 +02:00
Philipp Muens
57f7e20d85 Add Promise support for return value of hook functions 2016-05-18 09:32:41 +02:00
Philipp Muens
5869872e3b Refactor loadCorePlugins functionality
Add the correct path to the plugin so that slice magic to get the correct
path is not necessary anymore.
2016-05-17 20:29:54 +02:00
Eslam A. Hefnawy
1fdcaf4763 implemented more Service methods and tests and updated populate function 2016-05-17 20:25:22 +02:00
Philipp Muens
7401ab2de7 Add PluginManagement class
Add basic functionality for the PluginManagement class.
Refs #1118 and #1116.
2016-05-17 20:08:24 +02:00
Eslam A. Hefnawy
c7054784a2 basic service and config working 2016-05-17 17:53:27 +02:00
Eslam A. Hefnawy
8f6364b250 basic new plugin system 2016-05-17 08:43:55 +02:00
Philipp Muens
2e5736f5b6 Refactor YamlParser class 2016-05-14 10:19:31 +02:00
Philipp Muens
9c3de2afef Refactor Utils class tests and add YamlParser class 2016-05-14 09:39:44 +02:00
Eslam A. Hefnawy
be9a5ae0c7 added inline doc for parseYaml method 2016-05-13 21:37:57 +07:00
Eslam A. Hefnawy
674404aef9 added yaml parser 2016-05-13 16:55:34 +07:00
Philipp Muens
7e60d9e6e2 Refactor Plugin class and Plugin tests 2016-05-13 08:15:39 +02:00
Eslam A. Hefnawy
aa40ea9c6b Plugin class uses correct reference to S 2016-05-12 11:25:08 +07:00
Philipp Muens
1713bde04c Comment out sDebug usage in Utils class
As the usage break the tests.
2016-05-11 16:51:06 +02:00
Philipp Muens
da11c08e79 Add additional test for Utils class 2016-05-11 16:37:40 +02:00
Eslam A. Hefnawy
e6af9341a1 created and did basic refactoring for Utils class 2016-05-11 14:45:08 +07:00
Eslam A. Hefnawy
136f6dbda3 basic refactoring for CLI 2016-05-11 14:07:52 +07:00
Eslam A. Hefnawy
8c020da34e created basic CLI class 2016-05-11 13:15:50 +07:00
Eslam A. Hefnawy
0025427d1a basic refactoring of the plugin class 2016-05-11 12:57:41 +07:00
Eslam A. Hefnawy
77119936d2 updating directory structure 2016-05-11 12:50:32 +07:00