You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/01 15:38:58 UTC

[jira] [Commented] (ARTEMIS-904) Remove cyclic dependencies from artemis-cli

    [ https://issues.apache.org/jira/browse/ARTEMIS-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15791267#comment-15791267 ] 

ASF GitHub Bot commented on ARTEMIS-904:
----------------------------------------

GitHub user bennetelli opened a pull request:

    https://github.com/apache/activemq-artemis/pull/944

    ARTEMIS-904 - Remove cyclic dependencies from artemis-cli

    To ensure a maintainability in future I refactored the cli project and removed all cyclic dependencies between classes and packages by moving classes and packages near to their real responsibility and reduced access modifiers after it. (I can show you a "before and after" picture of the projects architecture from a package point of view if you want.)
    I tried to move classes and methods only and reduced visibility of methods. Didn't change other stuff like unused methods and so on.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bennetelli/activemq-artemis entangling-artemis-cli

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/944.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #944
    
----
commit 47bc644315ff86d07e409d25ef2aab1511000b65
Author: Bennet Schulz <ma...@bennet-schulz.de>
Date:   2016-12-31T13:56:03Z

    ARTEMIS-903 Add documentation for updating Artemis to newer versions
    
    Currently there is no documentation about updating ActiveMQ Artemis in the Artemis user manual. This commit adds a brief description of the steps necessary to update Artemis to newer versions.

commit fdf14bc57bd85aef28fa277a48f20505a113f728
Author: Bennet Schulz <ma...@bennet-schulz.de>
Date:   2017-01-01T12:10:43Z

    ARTEMIS-903 Add documentation for updating Artemis to newer versions
    
    Add reference to "updating Artemis" section in summary of user manual

commit 569e457b3703285e12b7d94ccc1cdb5c540bf895
Author: Bennet Schulz <ma...@bennet-schulz.de>
Date:   2017-01-01T15:37:04Z

    ARTEMIS-904 - Remove cyclic dependencies from artemis-cli
    
    To ensure a maintainability in future I refactored the cli project and removed all cyclic dependencies between classes and packages by moving classes and packages near to their real responsibility and reduced access modifiers after it. (I can show you a "before and after" picture of the projects architecture from a package point of view if you want.)
    I tried to move classes and methods only and reduced visibility of methods. Didn't change other stuff like unused methods and so on.

----


> Remove cyclic dependencies from artemis-cli
> -------------------------------------------
>
>                 Key: ARTEMIS-904
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-904
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Bennet Schulz
>
> The project needs some smaller refactorings. Some methods should be moved to another class which is responsible it (e.g. printBanner() in Artemis class should be moved to PrintData class.
> In addition to this simple case there are lots of other classes/packages which have cyclic dependencies.
> I already did such a refactoring for artemis-jdbc. (ARTEMIS-830 Remove cyclic dependencies from artemis-jdbc-store)
> We should track all our dependencies between classes and packages as the Spring guys do since quite a while



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)