From 10bf49187c91bdd743a544e3c1d569cc6be28ef6 Mon Sep 17 00:00:00 2001 From: bennsimon Date: Mon, 24 Apr 2023 11:10:00 +0300 Subject: [PATCH] update readme change onaio ref to google --- charts/fhir-data-pipes/README.md | 21 ++++++++++++++++----- charts/fhir-data-pipes/values.yaml | 6 +++--- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/charts/fhir-data-pipes/README.md b/charts/fhir-data-pipes/README.md index 5a612733f..62ba36c1e 100644 --- a/charts/fhir-data-pipes/README.md +++ b/charts/fhir-data-pipes/README.md @@ -6,13 +6,13 @@ An open-source pipeline to transform data from a FHIR server (like HAPI, GCP FHI ## TL;DR ```bash -$ helm repo add opensrp-fhir-data-pipes https://fhir-data-pipes.helm.smartregister.org -$ helm install fhir-data-pipes opensp-fhir-data-pipes/fhir-data-pipes +$ helm repo add google-fhir-data-pipes https://google.github.io/fhir-data-pipes/ +$ helm install fhir-data-pipes google-fhir-data-pipes/fhir-data-pipes ``` ## Introduction -This chart bootstraps [fhir-data-pipes](https://github.com/onaio/fhir-data-pipes) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. +This chart bootstraps [fhir-data-pipes](https://github.com/google/fhir-data-pipes) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. ## Prerequisites @@ -26,7 +26,7 @@ The following table lists the configurable parameters of the Fhir-data-pipes cha | Parameter | Description | Default | |-------------------------------------------------------|-------------|-------------------------------------------------------------------------------------------------------| | `replicaCount` | | `1` | -| `image.repository` | | `"onaio/fhir-data-pipes"` | +| `image.repository` | | `"google/fhir-data-pipes"` | | `image.pullPolicy` | | `"IfNotPresent"` | | `image.tag` | | `"master"` | | `imagePullSecrets` | | `[]` | @@ -105,7 +105,7 @@ The following table lists the configurable parameters of the Fhir-data-pipes cha ## Spark SQL (Thrift Server) as Sidecar -The chart provides the necessary configuration to set up additional containers on the StatefulSet. One such container could be the spark thrift server. Below is how one can set it up. +The chart provides the necessary configuration to set up additional containers on the StatefulSet. One such container is the spark thrift server. Below is how one can set it up. ````yaml --- sidecars: @@ -164,6 +164,17 @@ service: protocol: TCP name: hive +# For LDAP ensure that user has the attribute `uid` on its DN. +# As of now the hive jdbc credentials are not parsed on the pipeline code, as a workaround append the credentials on the `databaseName` credentials as follows: +#thriftserver: +# hive: +# databaseService: "hive2" +# databaseHostName: "fhir-data-pipes" +# databasePort: "10000" +# databaseUser: "user" (not used as of now) +# databasePassword: "password" (not used as of now) +# databaseName: "default;user=;password=" + hiveSiteConfig: | diff --git a/charts/fhir-data-pipes/values.yaml b/charts/fhir-data-pipes/values.yaml index c71432756..1484f005f 100644 --- a/charts/fhir-data-pipes/values.yaml +++ b/charts/fhir-data-pipes/values.yaml @@ -21,7 +21,7 @@ replicaCount: 1 image: - repository: onaio/fhir-data-pipes + repository: google/fhir-data-pipes pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "master" @@ -146,9 +146,9 @@ applicationConfig: fhirServerUrl: "" dbConfig: "/app/config/hapi-postgres-config.json" dwhRootPrefix: "/dwh/controller_DWH" - thriftserverHiveConfig: "/app/config/thrifter-hive-config.json" + thriftserverHiveConfig: "/app/config/thriftserver-hive-config.json" incrementalSchedule: "* * * * * *" - resourceList: "PatientEncounterObservation" + resourceList: "Patient,Encounter,Observation" maxWorkers: "10" createHiveResourceTables: "true" hiveJdbcDriver: "org.apache.hive.jdbc.HiveDriver"