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

BAF: Create get command status endpoint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Bulk, Rest API

      Description

      We want to have a dedicated endpoint to get command status for BAF.

      First step is to be able to get BulkStatus for a given command id.

      Technical Specifications

      BulkStatus JSON Format
      {
        "entity-type": "bulk",
        "id": "00000000-0000-0000-0000-000000000000",
        "state": "SCHEDULED",
        "submit": "2018-06-21T12:37:08.172Z",
        "count": 0,
        "processed": 0,
        "result" : {
          "result1": "o1",
          "result2": ["o2", "o3"]
        }
      }
      
      REST Endpoints
      HTTP Method Path Request Body Response
      GET
      /nuxeo/api/v1/bulk/{commandId}
      x BulkStatus

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.