-
Notifications
You must be signed in to change notification settings - Fork 84
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
Support for fetching FHIR resources via Bulk export mode #1082
Support for fetching FHIR resources via Bulk export mode #1082
Conversation
8c12502
to
9a7b464
Compare
aaf488e
to
dbc61d0
Compare
dbc61d0
to
c779d2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chandrashekar-s for the change and sorry for the delay caused by DevDays and issues around it. I had a look at most of the non-test code and my main/major comment is about whether we should create temporary files or not (I am suggesting not).
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirEtl.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirSearchUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/model/BulkExportHttpResponse.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirSearchUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirSearchUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/model/BulkExportResponse.java
Outdated
Show resolved
Hide resolved
c779d2d
to
30b4fe9
Compare
5d36f23
to
739e8e7
Compare
Thanks @bashir2 for the review. I have addressed the comments in the latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chandrashekar-s for the changes. Most of my suggestions are minor; there is also a question about the expiry period left from the previous round (not sure if we can do anything about it from the client side). Otherwise please feel free to merge this after addressing the comments.
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/exception/BulkExportException.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirSearchUtil.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportApiClient.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirEtl.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/FhirEtlOptions.java
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/ReadJsonFromFileFn.java
Outdated
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/BulkExportUtil.java
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/model/BulkExportHttpResponse.java
Outdated
Show resolved
Hide resolved
Hi @bashir2, I have addressed your review comments in the latest commit. Can you please have a look (PR is not yet approved for merge) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chandrashekar-s for the changes and sorry that I forgot to flip the approve flag last time; please feel free to merge, this time for real :-)
Description of what I changed
Fixes #1031
fhirFetchMode
has been added, which explicitly specifies which mode the application should use to fetch FHIR resources from source (this avoids the confusion of dynamically figuring out the mode from the parameters configured).E2E test
TESTED:
Checklist: I completed these to help reviewers :)
I have read and will follow the review process.
I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.
My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.
I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)
I ran
mvn clean package
right before creating this pull request and added all formatting changes to my commit.All new and existing tests passed.
My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command
git pull --rebase upstream master