Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
change onaio ref to google
  • Loading branch information
bennsimon committed Apr 24, 2023
1 parent 4baf345 commit 10bf491
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
21 changes: 16 additions & 5 deletions charts/fhir-data-pipes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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` | | `[]` |
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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=<userid>;password=<password>"

hiveSiteConfig: |
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
Expand Down
6 changes: 3 additions & 3 deletions charts/fhir-data-pipes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 10bf491

Please # to comment.