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

Drive - Automation Operations : better JSON serialization

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Drive
    • Backlog priority:
      460
    • Story Points:
      3

      Description

      Drive uses a set of dedicated Operations: these operations don't return a DocumentModel but the JSON serialization of the Adapter objects.

      For now, the Operation :

      • handles JSON serialization inside the code
      • returns Blob type

      This does make sense for 5.6, but with the ongoing work on Automation in 5.7, this is not good :

      • serialization should be part of the JAX-RS/Automation marshaling infrastructure
      • Operation signature should return the Adapter object and not a Blob

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified