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

Create transfer framework #911

Merged
merged 28 commits into from
May 4, 2023
Merged

Conversation

benn02
Copy link
Contributor

@benn02 benn02 commented Apr 24, 2023

PR Checklist

Please make sure to fulfil the following conditions before marking this PR ready for review:

  • If this PR adds or changes features or fixes bugs, this has been added to the changelog
  • If this PR adds new actions or other ways to alter the state, test scenarios have been added

@benn02 benn02 self-assigned this Apr 24, 2023
@benn02 benn02 linked an issue Apr 24, 2023 that may be closed by this pull request
58 tasks
@benn02 benn02 marked this pull request as ready for review May 2, 2023 09:16
@lukasrad02 lukasrad02 self-requested a review May 2, 2023 10:05
@benn02 benn02 requested a review from lukasrad02 May 3, 2023 11:30
@lukasrad02
Copy link
Contributor

During testing, I've noticed that requests handled by the answer request behavior that could not be fulfilled do not cause an internal request for resources any more. Therefore, a staging area won't notify the trainees if there aren't enough vehicles left.

Could you please make the answer requests behavior react on the RequestReceivedEvent and create an internal ResourceRequiredEvent if the request could not be satisfied completely.

@lukasrad02
Copy link
Contributor

Looks good!

Please add some new test scenarios and I will be fine with this PR!

@benn02 benn02 enabled auto-merge (squash) May 3, 2023 17:05
@benn02 benn02 requested a review from lukasrad02 May 3, 2023 17:05
@benn02
Copy link
Contributor Author

benn02 commented May 3, 2023

I changed a validator for an event id because I don't want to use a real uuid for them (they dont use it and changing stuff with randomness always deletes our action history so I do not like it)

@benn02 benn02 merged commit df17c82 into dev May 4, 2023
@benn02 benn02 deleted the feature/891-create-transfer-framework branch May 4, 2023 10:30
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

Successfully merging this pull request may close these issues.

Create transfer framework
2 participants