google / fhir-data-pipes

A collection of tools for extracting FHIR resources and analytics services on top of that data.
https://google.github.io/fhir-data-pipes/
Apache License 2.0
142 stars 82 forks source link

Added FHIR Sink Config Properties to the Pipeline Controller #936

Closed mozzy11 closed 5 months ago

mozzy11 commented 5 months ago

Description of what I changed

Fixes https://github.com/google/fhir-data-pipes/issues/825

E2E test

Added Fhir Sink Config Properties to the Pipeline Controller to enable Synching data form a FHIR server to another FHIR server ie

fhirSinkPath: ""
  sinkUserName: "hapi"
  sinkPassword: "hapi123"

TESTED:

Successfully fetched data form OpenMRS to a HAPI FHIR server with both batch and incremental pipeleines

Checklist: I completed these to help reviewers :)

mozzy11 commented 5 months ago

@bashir2 ive looked at the Logs but it doesn't provide any detailed cause of the error

ERROR
ERROR: build step 14 "us-docker.pkg.dev/cloud-build-fhir/fhir-analytics/e2e-tests/controller-spark:31604b4" failed: step exited with non-zero status: 6

On following the Logs , The build breaks around here

The e2e tests run fine in my dev environment but I can't understand why it fails on CI .

mozzy11 commented 5 months ago

created a clean PR here https://github.com/google/fhir-data-pipes/pull/947