TCR-66 mod-rtac-cache initial review - #120
Conversation
Add initial review
| * evidence: https://github.com/folio-org/mod-rtac-cache/blob/master/PERSONAL_DATA_DISCLOSURE.md | ||
| * RECOMMENDED CHANGE: the module uses circulation/loans, so consider: | ||
| * prev: | ||
| * [x] This module does not store any PD. |
There was a problem hiding this comment.
retain "does not store any PD." - revised section as below
- prev:
- This module does not store any PD.
- This module does not process any PD.
- change to:
- This module does not store any PD.
- This module transmits PD (including queues, additional databases, etc.)
- Circulation transaction(s)
There was a problem hiding this comment.
Thanks @rcorr-loc . This is a suggested change in PERSONAL_DATA_DISCLOSURE.md file in our module right? Just checking my understanding about the process here. This module consumes circulation events and http responses from circ that can contain patron PII. We don't do anything with this patron info however. But the events/responses do contain it. So saying it "transmits" is true in that sense.
| * much of FOLIO hasn't been TC evaluated, but only uses interfaces from core modules | ||
| * [x] Gracefully handles the absence of third party systems or related configuration. (3, 5, 12) | ||
| * _Note: This applies to optional third-party integrations and their configurations only. Required environment variables (those without sensible defaults) should fail fast on startup per the Environment Variables Policy._ | ||
| * [x] Sonarqube hasn't identified any security issues, any high or greater severity issues, or excessive (>3%) duplication (6); and any disabled or intentionally ignored rules/recommendations are reasonably justified. |
There was a problem hiding this comment.
https://github.com/folio-org/mod-rtac-cache/blob/v1.1.0/pom.xml#L32-L35 lacks justification
There was a problem hiding this comment.
@julianladisch I think this has been removed. Can this comment be resolved? Same below.
| * much of FOLIO hasn't been TC evaluated, but only uses interfaces from core modules | ||
| * [x] Gracefully handles the absence of third party systems or related configuration. (3, 5, 12) | ||
| * _Note: This applies to optional third-party integrations and their configurations only. Required environment variables (those without sensible defaults) should fail fast on startup per the Environment Variables Policy._ | ||
| * [x] Sonarqube hasn't identified any security issues, any high or greater severity issues, or excessive (>3%) duplication (6); and any disabled or intentionally ignored rules/recommendations are reasonably justified. |
There was a problem hiding this comment.
https://github.com/folio-org/mod-rtac-cache/blob/v1.1.0/src/main/java/org/folio/rtaccache/repository/RtacHoldingRepositoryImpl.java#L27
Suppression scope is too broad (complete function), should go to line 67 as single line suppression.
There was a problem hiding this comment.
Justification should explain why we cannot or don't want to use a method that returns a TypedQuery that doesn't require an unchecked conversion.
There was a problem hiding this comment.
@julianladisch I've removed both cases of suppression in the following PR: folio-org/mod-rtac-cache#51
| * POST /_/tenant | ||
| * DELETE /_/tenant | ||
| * [ ] Environment variables comply with [FOLIO Policy](https://folio-org.atlassian.net/wiki/x/NYCgTg) (5, 11) | ||
| * [ ] [All environment variables documented in ModuleDescriptor with required fields](https://folio-org.atlassian.net/wiki/spaces/TC/pages/1319141429/Environment+Variables#3.3-ModuleDescriptor-Enhancement) |
There was a problem hiding this comment.
There's no top level "env" entry.
The "launchDescriptor"->"env" entry is a minimal default configuration for test environments and is not intended as documentation.
There was a problem hiding this comment.
@julianladisch can you please clarify this comment? We're obviously missing the default and description keys in our env array. Are you saying we should add those?
We do have a env entry in the launchDescriptor. That appears to be where other modules have placed them (not "top level" in other words).
update TCR-66 eval to incorporate sonarqube suppression and sql hotspot changes, top level env in module descriptor
|
Updated TCR-66 md file to incorporate above changes Summary of remaining proposed changes (for further discussion on accuracy/need):
Beyond above, I think everything looks good |
1 similar comment
|
Updated TCR-66 md file to incorporate above changes Summary of remaining proposed changes (for further discussion on accuracy/need):
Beyond above, I think everything looks good |
@rcorr-loc I think you're talking about the Regarding the other changes I have created a ticket for them here: https://folio-org.atlassian.net/browse/MODRTACHCE-58. |
|
@steveellis ok thanks for MODRTACHCE-58 the last thing on my list is the third party licenses - what about adding the Category B third party licenses to the readme? I don't seem many good examples of other repos adopting this tc req but I think it is more recent @okolawole-ebsco |
|
Updated TCR-66 to note MODRTACHCE-58 changes, which have been merged to main/master |
https://folio-org.atlassian.net/browse/TCR-66
https://github.com/folio-org/mod-rtac-cache
Add initial review