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

Promotion service #59

Closed
pschuermann97 opened this issue Sep 10, 2021 · 1 comment
Closed

Promotion service #59

pschuermann97 opened this issue Sep 10, 2021 · 1 comment

Comments

@pschuermann97
Copy link
Collaborator

To keep a nice and clean microservice architecture, we need an additional (Spring) web service that handles all promotion related data.

This means that it stores records for all existing promotions and provides an endpoint for providers to add new ones to the system.
Each promotion needs to be identified by a promotion ID that is passed to the runDeduct algorithm in deduct.DeductService and can be used to resolve the promotion that the user that caused the execution of runDeduct wants to take part in.

This resolution is required to let deduct.DeductService know which reward item to add to the user's basket or (in versions beyond Feb22) which other action to perform (e.g.. 30% off on the basket, ...).

@pschuermann97
Copy link
Collaborator Author

pschuermann97 commented Nov 17, 2021

Since the promotion service exists by now, we need to integrate the logic for communicating with basket/promotion service into the the deduct service to achieve the above behaviour.

@this-kramer this-kramer added this to Backlog in Project Board Mar 24, 2022
Project Board automation moved this from Backlog to Done Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants