-
Notifications
You must be signed in to change notification settings - Fork 0
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
Kickoff import #47
Kickoff import #47
Conversation
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success78 tests passing in 7 suites. Report generated by 🧪jest coverage report action from 614dbe8 |
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.
Just one small comment! I think we can wait to think about unit testing for this when we do the unit testing task for the bulk-export-server
.
README.md
Outdated
@@ -144,6 +144,16 @@ Alternatively, a POST request (`POST [fhir base]/$export`) can be sent. The expo | |||
|
|||
For more information on the export endpoints, read this documentation on the [Export Request Flow](https://hl7.org/fhir/uv/bulkdata/export/index.html#request-flow). | |||
|
|||
#### Bulk Status | |||
|
|||
This server supports the bulk status endpoint in support of the [Export Request Flow](https://hl7.org/fhir/uv/bulkdata/export/index.html#request-flow). |
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.
This link does not appear to be working for me
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.
Lgtm!
Summary
Creates a new endpoint on the bulk-export-server to kickoff $import against a specified endpoint on an import server
New behavior
Server now supports endpoint:
POST [fhir base]/bulkstatus/[client id]/kickoff-import
Code changes
gatherParams
out of export.service.js into its own shared serviceUtilsTesting guidance
npm run check
/kickoff-import
to the end of the bulkstatus request and use that endpoint to do a POST with a receiver parameter in the body. Example:{ "resourceType": "Parameters", "parameter": [ { "name": "receiver", "valueString": "http://localhost:3000/4_0_1/$import" } ] }
kickoff-import-insomnia.json