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

LNK-1871: Some refactors to the FileSystemSender. Also, updates to an… #716

Merged
merged 8 commits into from
Mar 14, 2024

Conversation

ajagann1
Copy link
Contributor

@ajagann1 ajagann1 commented Mar 7, 2024

…notate validation results with what file each issue listed in the results comes from when the not a Bundle flag is set in the sender configuration and saves said results to the same location as the rest of the bundle files.

…notate validation results with what file each issue listed in the results comes from when the not a Bundle flag is set in the sender configuration and saves said results to the same location as the rest of the bundle files.
Copy link
Contributor

@seanmcilvenna seanmcilvenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider re-formatting/indenting the file as a whole... Noticed a couple weird indentations.
Also consider (not required by this ticket, though) modifying the folder that's exported to so that it is based on <tenant's-nhsn-org-id>-<date-time-stamp>. For example: 43242-20240307T095900+0800 where 43242 is the nhsnOrgId in the tenant's config. Again, not required for this ticket, but I think it would be ideal, if it can be squeezed in.

Copy link
Contributor

@seanmcilvenna seanmcilvenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry... meant to reject to request changes as described in my comment within the code file.

Copy link
Contributor

@smailliwcs smailliwcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One additional general comment: the validation issue expressions reflect locations in the "unified bundle" (since that's what we actually perform validation on). So when we saveToFolder, and all those bundled resources get split out into separate files, the expressions are no longer accurate. Not sure how big of a problem this is.

Copy link
Contributor

@smailliwcs smailliwcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but note the need for one small thread-safety tweak before merging.

core/src/main/java/com/lantanagroup/link/FhirHelper.java Outdated Show resolved Hide resolved
…of being done each time filterResourcesByPathList is called
@ajagann1 ajagann1 merged commit a1a0776 into development Mar 14, 2024
3 checks passed
@smailliwcs smailliwcs deleted the LNK-1871 branch March 14, 2024 20:39
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.

None yet

3 participants