Closed albinpaulos closed 2 years ago
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}
#################################################################################################
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}
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}