Skip to content

Commit

Permalink
Issue #2086 - Change default bulkdata directory
Browse files Browse the repository at this point in the history
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
  • Loading branch information
tbieste committed May 24, 2021
1 parent 8d00fc2 commit 8b53f38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/guides/FHIRServerUsersGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ The Bulk Data web application writes the exported FHIR resources to an IBM Cloud
"storageProviders": {
"default" : {
"type": "file",
"fileBase": "${WLP_OUTPUT_DIR}/fhir-server/output",
"fileBase": "/output/bulkdata",
"exportPublic": true,
"disableOperationOutcomes": true,
"duplicationCheck": false,
Expand Down Expand Up @@ -2071,7 +2071,7 @@ This section contains reference information about each of the configuration prop
|`fhirServer/bulkdata/storageProviders/<source>/location`|string|Object store location |
|`fhirServer/bulkdata/storageProviders/<source>/endpointInternal`|string|Object store end point url used to read/write from COS |
|`fhirServer/bulkdata/storageProviders/<source>/endpointExternal`|string|Object store end point url used in the constructed download URLs|
|`fhirServer/bulkdata/storageProviders/<source>/fileBase`|string| The absolute path of the output directory |
|`fhirServer/bulkdata/storageProviders/<source>/fileBase`|string| The absolute path of the output directory. It may be desirable to set this to a path within a mount point of separate file system if large amounts of data are involved|
|`fhirServer/bulkdata/storageProviders/<source>/validBaseUrls`|list|The list of supported urls which are approved for the fhir server to access|
|`fhirServer/bulkdata/storageProviders/<source>/disableBaseUrlValidation`|boolean|Disables the URL checking feature, allowing all URLs to be imported|
|`fhirServer/bulkdata/storageProviders/<source>/exportPublic`|boolean|Whether or not the server is configured to support export to parquet; to properly enable it the administrator must first make spark and stocator available to the fhir-bulkdata-webapp (e.g through the shared lib at `wlp/user/shared/resources/lib`)|
Expand Down
3 changes: 2 additions & 1 deletion fhir-install/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ RUN features.sh

COPY --chown=1001:0 --from=base /opt/ol/wlp/usr /opt/ol/wlp/usr

RUN configure.sh
RUN configure.sh && \
mkdir -p /output/bulkdata

COPY --chown=1001:0 --from=base /opt/ibm-fhir-server /opt/ibm-fhir-server

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"type": "file",
"_type": "ibm-cos|aws-s3|file|https",
"validBaseUrls": [],
"fileBase": "/fhir-server/output",
"fileBase": "/output/bulkdata",
"bucketName": "fhir-performance",
"location": "us",
"endpointInternal": "https://s3.us-east.cloud-object-storage.appdomain.cloud",
Expand Down

0 comments on commit 8b53f38

Please sign in to comment.