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

Make BusinessAdapter writers to extend to nuxeo-core-io low writers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.10, 8.1
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Rest API

      Description

      In order to get the entity-type inside of the response header, we have to make BusinessAdapter writers to extend new abstract writer.

      • org.nuxeo.ecm.automation.jaxrs.io.documents.BusinessAdapterListWriter should extend org.nuxeo.ecm.core.io.marshallers.json.DefaultListJsonWriter
      • org.nuxeo.ecm.automation.jaxrs.DefaultJsonAdapter should extend org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter

      A global cleanup should be done at the org.nuxeo.ecm.automation.io.services.codec.ObjectCodecService level for all writers/readers.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: