Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongoose service+ #1794

Merged
merged 4 commits into from
Apr 10, 2018
Merged

Mongoose service+ #1794

merged 4 commits into from
Apr 10, 2018

Conversation

bartekgorny
Copy link
Collaborator

@bartekgorny bartekgorny commented Apr 6, 2018

EDIT:

This PR improves #1792 with stuff discussed during tech meeting.

Old description:

This is an alternative to PR#1792, see
https://redmine.erlang-solutions.com/issues/18914
and
https://redmine.erlang-solutions.com/projects/mongooseim/wiki/MongooseIM_global_modules_tech_discussion

@codecov
Copy link

codecov bot commented Apr 6, 2018

Codecov Report

Merging #1794 into mongoose-service will increase coverage by 0.22%.
The diff coverage is 92.85%.

Impacted file tree graph

@@                 Coverage Diff                  @@
##           mongoose-service    #1794      +/-   ##
====================================================
+ Coverage             74.16%   74.39%   +0.22%     
====================================================
  Files                   291      291              
  Lines                 26999    27002       +3     
====================================================
+ Hits                  20024    20088      +64     
+ Misses                 6975     6914      -61
Impacted Files Coverage Δ
src/gen_mod.erl 77.44% <100%> (ø) ⬆️
src/mongoose_service.erl 71.66% <90.9%> (-0.27%) ⬇️
src/mod_mam_muc_odbc_async_pool_writer.erl 70.73% <0%> (-3.26%) ⬇️
src/ejabberd_c2s.erl 84.34% <0%> (+0.14%) ⬆️
src/ejabberd_config.erl 64.06% <0%> (+0.21%) ⬆️
src/mod_roster.erl 79.16% <0%> (+0.24%) ⬆️
src/mod_muc.erl 72.89% <0%> (+0.27%) ⬆️
src/mod_mam.erl 89.39% <0%> (+0.37%) ⬆️
src/mod_mam_odbc_arch.erl 89.34% <0%> (+0.4%) ⬆️
...c/global_distrib/mod_global_distrib_server_mgr.erl 80.28% <0%> (+0.7%) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53ed418...00155b5. Read the comment docs.

@fenek fenek changed the base branch from master to mongoose-service April 10, 2018 08:27
@fenek fenek changed the title Mongoose service alt Mongoose service+ Apr 10, 2018
@fenek fenek merged commit fae1b3f into mongoose-service Apr 10, 2018
@fenek fenek deleted the mongoose-service-alt branch April 10, 2018 13:02
bartekgorny added a commit that referenced this pull request Apr 12, 2018
* single callback for module dependencies and requirements

* unified vocabulary (no requirements, only deps)

* fail module start if required services not loaded (a.k.a. no lazy service startup)

* Extend error on circular services dependency
bartekgorny added a commit that referenced this pull request Apr 16, 2018
* single callback for module dependencies and requirements

* unified vocabulary (no requirements, only deps)

* fail module start if required services not loaded (a.k.a. no lazy service startup)

* Extend error on circular services dependency
@fenek fenek added this to the 2.2.0 milestone May 7, 2018
@arcusfelis
Copy link
Contributor

No docs, oh no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants