You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2019/09/26 05:26:00 UTC

[jira] [Created] (UNOMI-250) Refactor services implementations into separate packages

Serge Huber created UNOMI-250:
---------------------------------

             Summary: Refactor services implementations into separate packages
                 Key: UNOMI-250
                 URL: https://issues.apache.org/jira/browse/UNOMI-250
             Project: Apache Unomi
          Issue Type: Bug
          Components: core
    Affects Versions: 1.4.0, 1.5.0
            Reporter: Serge Huber
            Assignee: Serge Huber
             Fix For: 1.5.0


Right now we have a bit of a mess in our services implementation sub-project. All the service implementations are in the package:
  org.apache.unomi.services.services

I propose that we rename this package to:
  org.apache.unomi.services.impl
and that each service gets its own sub-package, for example the RulesServiceImpl would be in:
  org.apache.unomi.services.impl.rules

This would make it much easier to activate/deactivate logging per service implementation, because currently it is tricky to get logging activated properly unless using configuration by class. Having it by package would be a lot better. 

Utility classes such as ThirdPartyService or the clustering event classes would also be moved with the service sub-package they belong to.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)