You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (Jira)" <se...@james.apache.org> on 2020/03/30 08:24:00 UTC

[jira] [Commented] (JAMES-3127) Cassandra migrations should not depend on Guice

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

Matthieu Baechler commented on JAMES-3127:
------------------------------------------

We recently added a migration of data-cassandra module so there's no longer a central place to put these migrations.
We should probably have a dedicated set of migration for each cassandra module.

> Cassandra migrations should not depend on Guice
> -----------------------------------------------
>
>                 Key: JAMES-3127
>                 URL: https://issues.apache.org/jira/browse/JAMES-3127
>             Project: James Server
>          Issue Type: Improvement
>          Components: cassandra, guice
>            Reporter: Matthieu Baechler
>            Priority: Major
>
> For now, Cassandra migrations are associated to schema versions in a guice module, preventing the reuse of the versions in other parts of the code.
> We don't really need guice to build a Map so we should move this code in the non-guice module and stop duplicating schema version information in the codebase. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org