[xwiki-devs] JIRA module refactorings
Hi devs, While moving the jira macro to contrib and while adding support for the JIRA Macro configuration I”ve realized that the Macro JIRA configuration is actually generic to all JIRA modules since it configures JIRA instances (url, username, password). Thus I’m planning to do the follow module refactorings in contrib. There’ll be a single repository related to all JIRA stuff: jira |_ config-jira |_ config-jira-api (JIRAConfiguration). Can be used with just xwiki-rendering alone. |_ config-jira-platform (impl using wiki pages + SS). Depends on config-jira-api |_ config-jira-ui (admin ui). Depends on config-jira-platform |_ api-jira (JRJC API, currently in xwiki-platform-jira). Depends on config-jira-api |_ macro-jira |_ macro-jira-default <--- jira macro. Depends on config-jira-api. Can be used with just xwiki-rendering alone. We won’t advertise it on e.x.o. |_ macro-jira-platform <--- full jira macro. Depends on config-jira-ui. This is the macro that’ll advertise on e.x.o. Note: I’m planning to rename the existing "macro-jira" repository in contrib to “jira”. If you have any comments, let me know ASAP. Thanks -Vincent
Looks good AFAICS and if this leads to (hopefully) the disambiguation (and removal) of all the 3+ jira macros (leaving a consistent and complete implementation), then definitely +1. Thanks, Eduard On Sat, May 28, 2016 at 1:11 PM, Vincent Massol <vincent@massol.net> wrote:
Hi devs,
While moving the jira macro to contrib and while adding support for the JIRA Macro configuration I”ve realized that the Macro JIRA configuration is actually generic to all JIRA modules since it configures JIRA instances (url, username, password).
Thus I’m planning to do the follow module refactorings in contrib. There’ll be a single repository related to all JIRA stuff:
jira |_ config-jira |_ config-jira-api (JIRAConfiguration). Can be used with just xwiki-rendering alone. |_ config-jira-platform (impl using wiki pages + SS). Depends on config-jira-api |_ config-jira-ui (admin ui). Depends on config-jira-platform |_ api-jira (JRJC API, currently in xwiki-platform-jira). Depends on config-jira-api |_ macro-jira |_ macro-jira-default <--- jira macro. Depends on config-jira-api. Can be used with just xwiki-rendering alone. We won’t advertise it on e.x.o. |_ macro-jira-platform <--- full jira macro. Depends on config-jira-ui. This is the macro that’ll advertise on e.x.o.
Note: I’m planning to rename the existing "macro-jira" repository in contrib to “jira”.
If you have any comments, let me know ASAP.
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Eduard Moraru -
Vincent Massol