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

Out of Date File in fhir-audit #4

Closed
prb112 opened this issue Aug 30, 2019 · 2 comments
Closed

Out of Date File in fhir-audit #4

prb112 opened this issue Aug 30, 2019 · 2 comments
Assignees

Comments

@prb112
Copy link
Contributor

prb112 commented Aug 30, 2019

During a review of the codebase on August 30, 2019, we identified an out-of-date and unused file with key iv used for ondisk encryption of logs. The file is fhir-audit/src/main/resources/config.properties

There are no running instances which use the library that use this configuration file specific to audit.
There is no compilable code which uses the config.properties.

The team has opted to remove the unused file.

@prb112
Copy link
Contributor Author

prb112 commented Aug 30, 2019

The file is removed in the latest commits to master

@JohnTimm JohnTimm self-assigned this Aug 30, 2019
@JohnTimm
Copy link
Collaborator

The file removal has been verified.

lmsurpre added a commit that referenced this issue Feb 5, 2020
1. Added FHIRPathSpecTest for executing the spec-provided
FHIRPath Patch test cases. I needed to tweak the test file to work
around our strict interpretation of `ele-1`
which makes empty resources invalid.
I also removed a single fhirpath patch operation from the
`Full Resource` testcase...we currently cannot handle replace of
DomainResource.text.div

2. Added logic to throw UnsupportedOperationException for patches
with nested part values and added corresponding skip logic from the test

3. Added skip logic for 2 other test cases, both with `mode=forwards`
* `Delete Nested Primitive #2`: this test expects that the server will
automatically remove a parent elements when the last element from within
one is removed. We don't do that.
* `Reorder List #4`: on this one, I disagree with the expected output

4. Found and fixed an issue with the original implementation;
patch values for code subtypes come is as basic Code types whereas the
setters expect a subtype, so I needed to add logic to convert the Code
to the appropriate subtype before calling any setters.

Finally, I added the FHIR mimetypes to the patchFormat element of our
CapabilityStatement to indicate that we now support FHIRPath patch.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
lmsurpre added a commit that referenced this issue Feb 5, 2020
1. Added FHIRPathSpecTest for executing the spec-provided
FHIRPath Patch test cases. I needed to tweak the test file to work
around our strict interpretation of `ele-1`
which makes empty resources invalid.
I also removed a single fhirpath patch operation from the
`Full Resource` testcase...we currently cannot handle replace of
DomainResource.text.div

2. Added logic to throw UnsupportedOperationException for patches
with nested part values and added corresponding skip logic from the test

3. Added skip logic for 2 other test cases, both with `mode=forwards`
* `Delete Nested Primitive #2`: this test expects that the server will
automatically remove a parent elements when the last element from within
one is removed. We don't do that.
* `Reorder List #4`: on this one, I disagree with the expected output

4. Found and fixed an issue with the original implementation;
patch values for code subtypes come is as basic Code types whereas the
setters expect a subtype, so I needed to add logic to convert the Code
to the appropriate subtype before calling any setters.

Finally, I added the FHIR mimetypes to the patchFormat element of our
CapabilityStatement to indicate that we now support FHIRPath patch.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
lmsurpre added a commit that referenced this issue Feb 5, 2020
1. Added FHIRPathSpecTest for executing the spec-provided
FHIRPath Patch test cases. I needed to tweak the test file to work
around our strict interpretation of `ele-1`
which makes empty resources invalid.
I also removed a single fhirpath patch operation from the
`Full Resource` testcase...we currently cannot handle replace of
DomainResource.text.div

2. Added logic to throw UnsupportedOperationException for patches
with nested part values and added corresponding skip logic from the test

3. Added skip logic for 2 other test cases, both with `mode=forwards`
* `Delete Nested Primitive #2`: this test expects that the server will
automatically remove a parent elements when the last element from within
one is removed. We don't do that.
* `Reorder List #4`: on this one, I disagree with the expected output

4. Found and fixed an issue with the original implementation;
patch values for code subtypes come is as basic Code types whereas the
setters expect a subtype, so I needed to add logic to convert the Code
to the appropriate subtype before calling any setters.

Finally, I added the FHIR mimetypes to the patchFormat element of our
CapabilityStatement to indicate that we now support FHIRPath patch.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
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

No branches or pull requests

2 participants