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

[define] support for commands #24

Open
BirgitBader opened this issue May 16, 2023 · 2 comments
Open

[define] support for commands #24

BirgitBader opened this issue May 16, 2023 · 2 comments

Comments

@BirgitBader
Copy link
Contributor

(i) This issue has been manually transferred from a former internal repository, as a private repository issue cannot be transferred to a public repository.

Context

This ticket contains the use cases and requirements for Commands in the context of asynchronous API.

@BirgitBader
Copy link
Contributor Author

Comment history

Jul 8, 2022 by @JanKlasser3000

Also to start with, there are both command and request response pattern, so it might be reasonable to split it up

Commands use cases

  1. TriggerOrderConfirmation : sent from order management once all conditions are fulfilled and the customer should get an order confirmation message via email. Ipanema is subscribed as single subscriber to this event type/ topic and once a message is received sends the order confirmation to the customer
  2. Send Partner E-mail : to inform market place partners, e.g. UI-partners that do not want to check the UI often a message can be sent to Neptune so that they inform the partner (TODO find out who owns the topic)

Request Response

  1. For market place orders partner / fulfillment control an order(part=position-item) once its processable. In case a customer wants to cancel an position-item he requests it. As consequence the sales-order-management will send out a message to the fulfillment. As we have two teams providing fulfillment services, there is a criteria in the message to allow the teams to find out where they are responsible. The requests message is sent to the normal order stream topic. As a consequence a cancel message or a rejection message is sent back in the topic of the responding team, which the sales order management consumes and updates the position item status.

@BirgitBader
Copy link
Contributor Author

Sep 13, 2022 by @thake

When adding the concept of a "command," we'll have to check if the definitions of "API provider" and "event producer" also fit the "command" use-case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant