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

Refine $import, $export and $export-status operations #55

Closed
prb112 opened this issue Sep 13, 2019 · 6 comments
Closed

Refine $import, $export and $export-status operations #55

prb112 opened this issue Sep 13, 2019 · 6 comments
Assignees
Milestone

Comments

@prb112
Copy link
Contributor

prb112 commented Sep 13, 2019

Refine $import, $export and $export-status operations

  • confirm the multi-tenancy
  • resolve TODO
  • refactor to support DELETE operations
  • push batch code down to the library for bulkdata and pull into the Operation

Reference - https://javaee.github.io/tutorial/batch-processing006.html#BCGCAHCB

 <dependency>
            <groupId>javax.batch</groupId>
            <artifactId>javax.batch-api</artifactId>
            <version>1.0.1</version>
        </dependency>


 JobOperator jobOperator = BatchRuntime.getJobOperator();
        jobOperator.start("FhirBulkExportChunkJob", toProperties(properties));


 private Properties toProperties(Map<String,String> props){
        Properties properties = new Properties();
        for(Entry<String, String> entry : props.entrySet()) {
            properties.put(entry.getKey(), entry.getValue());
        }
        
        return properties;
    }
@prb112
Copy link
Contributor Author

prb112 commented Sep 14, 2019

per #67 and #69 - update the code.

@prb112
Copy link
Contributor Author

prb112 commented Sep 15, 2019

linked to Custom operation should support more types being passed from URI #75

@prb112
Copy link
Contributor Author

prb112 commented Sep 15, 2019

Linked the two together in ZenHub

@prb112
Copy link
Contributor Author

prb112 commented Jan 24, 2020

Unfortunately, JobOperator was not an option.

@prb112
Copy link
Contributor Author

prb112 commented Jan 24, 2020

I still refactored the code.

prb112 added a commit that referenced this issue Jan 25, 2020
- Clean up BulkData Constants
- Update BulkData Operations
- Refactor the BulkDataClient
- Also implemented, Refine $import, $export and $export-status
operations #55

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@prb112
Copy link
Contributor Author

prb112 commented Jan 25, 2020

PR #633

@prb112 prb112 closed this as completed Jan 25, 2020
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