Skip to content

Order Assignment Routing #29

@DakotaCondos

Description

@DakotaCondos

As the Order Service,
I want to submit order assignment events for specific bots,
so that the simulator can route each order to the selected bot object for validation and delivery processing.

Acceptance Criteria

  • Given the Order Service has selected a bot for an order
    When it publishes an order assignment event
    Then the event includes bot ID, order ID, requested items, and GPS destination.

  • Given the simulator receives an order assignment event
    When the specified bot exists
    Then the simulator routes the order assignment to that bot object.

  • Given the simulator receives an order assignment event
    When the specified bot does not exist
    Then the simulator publishes a BotNotFound order response event.

  • Given a bot object receives an order assignment
    When the bot determines whether it has enough available, unreserved stock to fulfill the order
    Then the bot validates the order and returns the appropriate order response.

  • Given the bot returns an order response
    When the simulator receives that response
    Then the simulator routes the response back through Event Hub for the Order Service and other consumers.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for User Story.

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions