GoogleCloudPlatform / healthcare-data-harmonization-dataflow

Apache License 2.0
35 stars 24 forks source link

Missing region switch. #15

Closed albinpaulos closed 2 years ago

albinpaulos commented 2 years ago

Missing region switch in the command.

java -jar build/libs/converter-0.1.0-all.jar --pubSubSubscription="projects/${PROJECT}/subscriptions/${SUBSCRIPTION}" \ --readErrorPath="gs://${ERROR_BUCKET}/read/read_error.txt" \ --writeErrorPath="gs://${ERROR_BUCKET}/write/write_error.txt" \ --mappingErrorPath="gs://${ERROR_BUCKET}/mapping/mapping_error.txt" \ --mappingPath="gs://${MAPPING_BUCKET}/mapping.textproto" \ --fhirStore="projects/${PROJECT}/locations/${LOCATION}/datasets/${DATASET}/fhirStores/${FHIRSTORE}" \ --runner=DataflowRunner \ --project=${PROJECT}

#################################################################################################

Corrected command.

java -jar build/libs/converter-0.1.0-all.jar --pubSubSubscription="projects/${PROJECT}/subscriptions/${SUBSCRIPTION}" \ --readErrorPath="gs://${ERROR_BUCKET}/read/read_error.txt" \ --writeErrorPath="gs://${ERROR_BUCKET}/write/write_error.txt" \ --mappingErrorPath="gs://${ERROR_BUCKET}/mapping/mapping_error.txt" \ --mappingPath="gs://${MAPPING_BUCKET}/mapping.textproto" \ --fhirStore="projects/${PROJECT}/locations/${LOCATION}/datasets/${DATASET}/fhirStores/${FHIRSTORE}" \ --runner=DataflowRunner \ --project=${PROJECT} --region=${LOCATION}