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

Bulk Export/Import: $export-status Operation support for returning multiple files with links #113

Closed
albertwang-ibm opened this issue Sep 20, 2019 · 1 comment

Comments

@albertwang-ibm
Copy link
Contributor

albertwang-ibm commented Sep 20, 2019

Bulk Export/Import $export-status Operation support for returning multiple files with links

Input
After a javabatch job is submitted, there will be response which includes the ID.
Validate the Tenant Id for the Job

Output
400 - Bad Request
404 - Job Execution not found
403 - forbidden access to job (beyond normal 403)
500 - Internal error

Steps

  • Use the Java BatchRuntime to access the Job and extract the files
  • The export job can generate multiple files, the files names can be parsed from the job exit status like following:
{
    "jobName": "bulkexportchunkjob",
    "executionId": 6,
    "instanceId": 6,
    "batchStatus": "COMPLETED",
    "exitStatus": "Export was finished; job6/Patient_1.ndjson",

After ";", there are the file names separated by ":"

  • Expand the tests

Related to Issue #55

@albertwang-ibm albertwang-ibm added this to the Sprint 2 milestone Sep 20, 2019
@prb112 prb112 removed their assignment Sep 20, 2019
@prb112
Copy link
Contributor

prb112 commented Sep 20, 2019

What's the priority here?

@prb112 prb112 changed the title Enhance bulkexport operation to take file names from the job exit status. Bulk Export/Import: $export-status Operation support for returning multiple files with links Sep 20, 2019
@senthilbak senthilbak modified the milestones: Sprint 2, Sprint 3 Oct 7, 2019
@lmsurpre lmsurpre modified the milestones: Sprint 3, Sprint 4 Oct 15, 2019
@senthilbak senthilbak removed this from the Sprint 4 milestone Nov 4, 2019
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

4 participants