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

"Instance Iteration" API: introduce method to Initiate iteration of instance records

    XMLWordPrintable

Details

    • Volaris Sprint 122, Volaris Sprint 123, Volaris Sprint 124
    • 8
    • Volaris

    Description

      Purpose/Overview:

      Introduce new method to initiate iteration of instance records:

      POST /instance-storage/instances/iteration

      Request schema:

      {
          "$schema": "http://json-schema.org/draft-04/schema#",
          "description": "Start new instance iteration job",
          "type": "object",
          "properties":
          {
              "eventType":
              {
                  "description": "Type of events to be published",
                  "type": "string"
              },
              "topicName":
              {
                  "description": "Name of Kafka topic to publish events to",
                  "type": "string"
              }
          },
          "additionalProperties": false
      }
      

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

      This method should be similar to POST method in Re-index interface and reuse its service/utility classes/repository as mush as possible but do not break it.

      Events published to Kafka by this method areĀ "Iteration" domain events

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases