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

332 resolve discrepencies on project branch #333

Merged
merged 14 commits into from
Jan 12, 2024

Conversation

seansica
Copy link
Contributor

Closes #332

  • Removes an unnecessary repository class (CollectionBundlesRepository)
  • Resolves any instances where a Mongoose query was being executed directly the service layer
  • Resolves improper use of dependency injection in a couple repository modules
  • Ensures that .exec() is chained on all Mongoose queries
  • Ensures all imported repositories are imported as camelCase objects (rather than PascalCase) to better reflect the importation of singelton objects as opposed to classes

…correct retrieveOne method to search by 'id' instead of 'stix.id'
…itory to more accurately reflect the importation of an object/class instance as opposed to a class
…ongoose query with repository's retrieveOneByVersion method for better abstraction
…sRepository to more accurately reflect the importation of an object/class instance as opposed to a class
…owercase referencesRepository to more accurately reflect the importation of an object/class instance as opposed to a class; Add repository argument to ReferencesService constructor and set this.repository accordingly
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

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

Comparison is base (4d85b81) 68.03% compared to head (e3df036) 68.03%.
Report is 1 commits behind head on project-orion.

Files Patch % Lines
app/repository/user-accounts-repository.js 0.00% 14 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           project-orion     #333   +/-   ##
==============================================
  Coverage          68.03%   68.03%           
==============================================
  Files                146      144    -2     
  Lines              16441    16430   -11     
  Branches            2013     2009    -4     
==============================================
- Hits               11185    11178    -7     
+ Misses              5248     5244    -4     
  Partials               8        8           

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

@seansica seansica requested a review from ElJocko December 21, 2023 17:58
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
2.5% Duplication on New Code

See analysis details on SonarCloud

@seansica seansica merged commit 4ee6b82 into project-orion Jan 12, 2024
3 of 4 checks passed
@seansica seansica deleted the 332-resolve-discrepencies-on-project-branch branch January 12, 2024 14:56
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.

1 participant