Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-764

"Instance Iteration" API: introduce method to Get iteration job by its id

    XMLWordPrintable

Details

    • Volaris Sprint 123, Volaris Sprint 124
    • 1
    • Volaris

    Description

      Purpose/Overview:

      Introduce new method to get iteration job by its id:

      GET /instance-storage/instances/iteration/<jobId>

      Response schema:

      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "description": "Get job by id response",
        "type": "object",
        "properties": {
          "id": {
            "description": "Job id",
            "type": "string",
            "$schema": "http://json-schema.org/draft-04/schema#",
            "id": "uuid.schema",
            "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
          },
          "published": {
            "description": "Number of records that was published so far",
            "type": "integer",
            "minimum": 0,
            "default": 0
          },
          "jobStatus": {
            "description": "Overall job status",
            "type": "string",
            "enum": [
              "In progress",
              "Id publishing failed",
              "Ids published",
              "Pending cancel",
              "Id publishing cancelled"
            ]
          },
          "submittedDate": {
            "description": "Timestamp when the job has been submitted",
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      }
      

      More details provided in Changes in mod-inventory-storage section of SPIKE: [MODINREACH-80]

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                dmtkachenko Dmytro Tkachenko
                dmtkachenko Dmytro Tkachenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases