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

[O2B-484] Fix C++ integration by bringing back runQuality to EndRun DTO #514

Merged
merged 4 commits into from
Feb 16, 2022

Conversation

awegrzyn
Copy link
Contributor

No description provided.

@awegrzyn awegrzyn added the bug Something isn't working label Feb 16, 2022
@awegrzyn awegrzyn requested a review from graduta as a code owner February 16, 2022 07:54
awegrzyn referenced this pull request Feb 16, 2022
* Ending a run should not add a quality anymore
* Adds a new `UpdateRunDto` which for now checks only on `runQuality`
* Adds a new use case: `UpdateRun`
@@ -16,6 +16,7 @@ const Joi = require('joi');
const BodyDto = Joi.object({
timeO2End: Joi.date(),
timeTrgEnd: Joi.date(),
runQuality: Joi.string().valid('good', 'bad', 'test', '').optional(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runQuality should not be brought back and also empty string should not be accepted.
We can keep it here for validation and backwards compatibility but it should not be added in the EndRunUseCase

@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #514 (858275e) into master (2cf9c67) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #514   +/-   ##
=======================================
  Coverage   41.62%   41.62%           
=======================================
  Files         234      234           
  Lines        4183     4183           
  Branches      758      758           
=======================================
  Hits         1741     1741           
  Misses       2442     2442           
Impacted Files Coverage Δ
lib/domain/dtos/EndRunDto.js 100.00% <ø> (ø)
lib/public/views/About/Overview/index.js 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2cf9c67...858275e. Read the comment docs.

@graduta graduta self-requested a review February 16, 2022 08:37
@graduta graduta merged commit 3b2a3f5 into master Feb 16, 2022
@graduta graduta deleted the O2B-484-fix branch February 16, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants