Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19640

Migrate Task and DocumentRoute writer to new entity writer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Rest API, Workflow
    • Tags:
    • Upgrade notes:
      Hide

      The json serialization of workflow blob variables have changed. The 'url' property is not available anymore. The url to download the blob is provided in the 'data' property instead.

      Show
      The json serialization of workflow blob variables have changed. The 'url' property is not available anymore. The url to download the blob is provided in the 'data' property instead.
    • Sprint:
      nxGang Sprint 8.3.3
    • Story Points:
      3

      Description

      Currently:

      • org.nuxeo.ecm.restapi.server.jaxrs.routing.io.DocumentRouteWriter
      • org.nuxeo.ecm.restapi.server.jaxrs.routing.io.GraphRouteWriter
      • org.nuxeo.ecm.restapi.server.jaxrs.routing.io.TaskWriter

      both inherits from org.nuxeo.ecm.automation.jaxrs.io.EntityWriter.

      We need to migrate them in order to use org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter

      And the same for:

      • org.nuxeo.ecm.restapi.server.jaxrs.routing.io.DocumentRouteListWriter
      • org.nuxeo.ecm.restapi.server.jaxrs.routing.io.TaskListWriter

      They need to use org.nuxeo.ecm.restapi.server.jaxrs.routing.io.DefaultListJsonWriter

      + add unit test for new writers (use org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriterTest.External as base class).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: