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

Feat: Add Reservation Endpoint to Orchestrator API #495

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

nicoprow
Copy link
Contributor

@nicoprow nicoprow commented Sep 27, 2023

Description

This pull request introduces an endpoint to reserve a given number of cleaning tasks from the orchestrator from a given cleaning step queue. For this I introduced interfaces for L/S/A DTOs in the common module an implemented those DTOs in the orchestrator application module, analogous to the generic business partner.

The API endpoint is implemented in the orchestrator controller and returns dummy data on invocation.

I also added tests checking the upsert limit and whether the endpoint can be invoked.

Contributes to #458

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@nicoprow nicoprow force-pushed the feat/orchestrator/cleaning-step-api branch from 19f02d7 to 5cd4929 Compare September 27, 2023 13:42
@nicoprow nicoprow changed the title Feat: Add Reservation and Resolve Endpoints to Orchestrator API Feat: Add Reservation Endpoints to Orchestrator API Sep 27, 2023
@nicoprow nicoprow changed the title Feat: Add Reservation Endpoints to Orchestrator API Feat: Add Reservation Endpoint to Orchestrator API Sep 27, 2023
@nicoprow nicoprow marked this pull request as ready for review September 27, 2023 13:53
@martinfkaeser martinfkaeser self-requested a review September 28, 2023 09:54
@nicoprow nicoprow force-pushed the feat/orchestrator/cleaning-step-api branch 2 times, most recently from de5f7f5 to ecae512 Compare September 28, 2023 10:51
@nicoprow nicoprow force-pushed the feat/orchestrator/cleaning-step-api branch from ecae512 to c61b4a0 Compare September 28, 2023 12:19
- add DTO model for L/S/A business partners
- connect endpoint with orchestrator controller
- return static dummy data on endpoint invocation
- add tests for validating endpoint invocation and dummy data return
@nicoprow nicoprow force-pushed the feat/orchestrator/cleaning-step-api branch from c61b4a0 to 2840146 Compare September 28, 2023 12:23
@martinfkaeser
Copy link
Contributor

Everything looks fine in my opinion!

@nicoprow nicoprow merged commit 9f639f8 into main Sep 28, 2023
7 checks passed
@nicoprow nicoprow deleted the feat/orchestrator/cleaning-step-api branch September 28, 2023 13:51
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.

2 participants