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

Refactored marking definitions service #336

Merged
merged 15 commits into from
Jan 12, 2024

Conversation

vsun757
Copy link

@vsun757 vsun757 commented Jan 4, 2024

No description provided.

@vsun757 vsun757 requested a review from ElJocko January 4, 2024 21:30
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Comparison is base (ab23273) 68.40% compared to head (dafc60b) 68.28%.
Report is 1 commits behind head on project-orion.

❗ Current head dafc60b differs from pull request most recent head 404efbd. Consider uploading reports for the commit 404efbd to get more accurate results

Files Patch % Lines
app/controllers/marking-definitions-controller.js 66.66% 17 Missing and 1 partial ⚠️
app/services/marking-definitions-service.js 76.38% 17 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           project-orion     #336      +/-   ##
=================================================
- Coverage          68.40%   68.28%   -0.12%     
=================================================
  Files                146      147       +1     
  Lines              15488    16341     +853     
  Branches            1837     2000     +163     
=================================================
+ Hits               10595    11159     +564     
- Misses              4885     5173     +288     
- Partials               8        9       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Jack Sheriff added 3 commits January 12, 2024 15:39
Use shared error class instead of service-defined errors.
…y from saving a document.

Modify marking definitions service to use marking definitions repository instead of the model.
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

5.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@ElJocko ElJocko merged commit 3195c3e into project-orion Jan 12, 2024
1 of 2 checks passed
@ElJocko ElJocko deleted the markingdefinitions-test-298 branch January 12, 2024 22:18
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.

Refactor Marking Definitions Service for Improved Structure and Asynchronicity
2 participants