Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orders: manage order status #54

Closed
5 tasks done
nmoutschen opened this issue Mar 11, 2020 · 0 comments
Closed
5 tasks done

orders: manage order status #54

nmoutschen opened this issue Mar 11, 2020 · 0 comments
Labels
service:orders Issue related to the orders service

Comments

@nmoutschen
Copy link
Contributor

nmoutschen commented Mar 11, 2020

This change adds a new field to orders named "status", which is already part of the Order schema, and a new field called "history" containing the changes for the order over time.

The "status" field could have the following values:

  • NEW
  • PACKAGED
  • PACKAGING_FAILED
  • DELIVERY_FAILED
  • FULFILLED

This should add the following capabilities:

  • New orders should have a status field with the value "NEW".
  • Changing the status to PACKAGED following a PackageCreated event from the warehouse service.
  • Changing the status to FULFILLED following a DeliveryCompleted event from the delivery service.
  • Changing the status to PACKAGING_FAILED following a PackagingFailed event from the warehouse service.
  • Changing the status to DELIVERY_FAILED following a DeliveryFailed event from the delivery service.
@nmoutschen nmoutschen added the service:orders Issue related to the orders service label Mar 11, 2020
@nmoutschen nmoutschen added this to the Public release milestone Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service:orders Issue related to the orders service
Projects
None yet
Development

No branches or pull requests

1 participant