CDCgov / trusted-intermediary

Bringing together healthcare providers by reducing the connection burden.
Apache License 2.0
11 stars 5 forks source link

Rename reportId variables #1601

Open pluckyswan opened 1 week ago

pluckyswan commented 1 week ago

Description

Rename variables, like (sent/received)SubmissionId and (sent/received)MessageId to be (inbound/outbound)ReportId, and any related functions. The naming, inbound and outbound, is from the perspective of TI. The id that we were receiving from ReportStream is now the inbound id while the id we were sending to ReportStream is now the outbound id.

Issue

https://github.com/CDCgov/trusted-intermediary/issues/1404

Checklist

Note: You may remove items that are not applicable

github-actions[bot] commented 1 week ago

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Consistency Check
Ensure that the renaming of variables from 'receivedSubmissionId' to 'inboundReportId' maintains consistency across all related methods and classes, especially where method signatures and return types might be affected.
github-actions[bot] commented 1 week ago

PR Code Suggestions ✨

No code suggestions found for the PR.

pluckyswan commented 1 week ago

Left one comment. Otherwise looking great!

Did we want to change recordId to reportId? Or is that a different card?

basiliskus commented 1 week ago

Did we want to change recordId to reportId? Or is that a different card?

That would be a different card. It involves changes in RS, so we need to coordinate to make those changes in TI and RS at the same time

sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
97.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud