institute-atri / deep

🧜‍♀️ DEEP - Digital Evidence Evaluation Profiler 🧜‍♀️
https://github.com/institute-atri/deep
MIT License
4 stars 0 forks source link

feat: versioning documents and evidences enpoints and refactor routes #50

Closed wendoxx closed 5 months ago

sonarcloud[bot] commented 5 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

wendoxx commented 5 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

Issue Number: N/A

PR Type

What kind of change does this PR introduce?

What is the current behavior? (Optional)

What is the new behavior?

Just renamed cases for occurrence and changed endpoint routes. Some methods like FindByCaseID have also been renamed to FindByOccurrenceId.

Other information (Optional)

wendoxx commented 5 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

Issue Number: N/A

PR Type

What kind of change does this PR introduce?

What is the current behavior? (Optional)

What is the new behavior?

Following the requested changes, the DocumentsService and EvidencesService have been refactored. They now have an auxiliary method for updateDocumentsById, updateEvidencesById, createDocuments, and createEvidences.

Other information (Optional)

Screenshot from 2024-05-27 20-40-48 Screenshot from 2024-05-27 20-40-57 Screenshot from 2024-05-27 20-41-02