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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/05/27 02:56:00 UTC

[jira] [Created] (JAMES-3194) Rely on DTOConverter in TaskRoute

Benoit Tellier created JAMES-3194:
-------------------------------------

             Summary: Rely on DTOConverter in TaskRoute
                 Key: JAMES-3194
                 URL: https://issues.apache.org/jira/browse/JAMES-3194
             Project: James Server
          Issue Type: Improvement
          Components: task, webadmin
    Affects Versions: master
            Reporter: Benoit Tellier
             Fix For: 3.6.0


The taskManager defines task serialization, used to persist a task and additional information, in order to be accessible in a distributed context.

However, we rely on implicit Jackson serialization for returning task details over webadmin.

This results in confusing expectation as a developer. We furthermore "leak" jackson annotation in the details models.

We should rely on the DTOs for details serialization over webadmin.

https://github.com/linagora/james-project/pull/3382 is a trial to reach this prurpose.



--
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