Skip to content

Commit

Permalink
Deployed 24afd8c with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jul 6, 2024
0 parents commit 9ab9911
Show file tree
Hide file tree
Showing 103 changed files with 23,450 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
794 changes: 794 additions & 0 deletions 404.html

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions _css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:root > * {
--md-primary-fg-color: #1b2259;
--md-typeset-a-color: #1b2259;
}

.md-typeset a {
font-weight: bold;
}

[data-md-color-scheme="slate"] {
--md-typeset-a-color: #4e5cc2;
}
Binary file added _img/atlas-first-cohort/atlas-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/atlas-first-cohort/list-test-study.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/atlas-first-cohort/mailhog-opened.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions _img/diagrams/recruit-components.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/diagrams/recruit-graphical-abstract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/docker-compose/list-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/docker-compose/list-sample-m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/docker-compose/notify-mail-sample-m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/favicon.ico
Binary file not shown.
Binary file added _img/k8s/mailhog-sample-mail-notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/k8s/screeninglist-sample-study.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/miracum-logo-transparent-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/miracum-recruit-k8s-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _img/security/keycloak-admin-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 112 additions & 0 deletions _snippets/k8s/cnpg-clusters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
apiVersion: v1
kind: Secret
metadata:
name: recruit-ohdsi-db-app-user
type: kubernetes.io/basic-auth
stringData:
password: recruit-ohdsi
username: ohdsi
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: recruit-ohdsi-db
spec:
instances: 3
primaryUpdateStrategy: unsupervised
replicationSlots:
highAvailability:
enabled: true
storage:
size: 64Gi
bootstrap:
initdb:
database: ohdsi
owner: ohdsi
secret:
name: recruit-ohdsi-db-app-user
---
apiVersion: v1
kind: Secret
metadata:
name: recruit-fhir-server-db-app-user
type: kubernetes.io/basic-auth
stringData:
password: recruit-fhir-server
username: fhir_server_user
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: recruit-fhir-server-db
spec:
instances: 3
primaryUpdateStrategy: unsupervised
replicationSlots:
highAvailability:
enabled: true
storage:
size: 64Gi
bootstrap:
initdb:
database: fhir_server
owner: fhir_server_user
secret:
name: recruit-fhir-server-db-app-user
---
apiVersion: v1
kind: Secret
metadata:
name: vfps-db-app-user
type: kubernetes.io/basic-auth
stringData:
password: vfps
username: vfps_user
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: vfps-db
spec:
instances: 3
primaryUpdateStrategy: unsupervised
replicationSlots:
highAvailability:
enabled: true
storage:
size: 64Gi
bootstrap:
initdb:
database: vfps
owner: vfps_user
secret:
name: vfps-db-app-user
---
apiVersion: v1
kind: Secret
metadata:
name: recruit-notify-db-app-user
type: kubernetes.io/basic-auth
stringData:
password: notify
username: notify_user
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: recruit-notify-db
spec:
instances: 3
primaryUpdateStrategy: unsupervised
replicationSlots:
highAvailability:
enabled: true
storage:
size: 64Gi
bootstrap:
initdb:
database: notify_jobstore
owner: notify_user
secret:
name: recruit-notify-db-app-user
23 changes: 23 additions & 0 deletions _snippets/k8s/kind-config-ingress-calico.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# kind create cluster --config=docs/_snippets/kind-config-ingress-calico.yaml
# kubectl apply -f https://projectcalico.docs.tigera.io/manifests/calico.yaml
# kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
networking:
disableDefaultCNI: true # disable kindnet
podSubnet: 192.168.0.0/16 # set to Calico's default subnet
30 changes: 30 additions & 0 deletions _snippets/k8s/kind-config-istio-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
featureGates:
PodSecurity: true
nodes:
- role: control-plane
image: docker.io/kindest/node:v1.26.0@sha256:45aa9ecb5f3800932e9e35e9a45c61324d656cf5bc5dd0d6adfc1b0f8168ec5f
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 30000
hostPort: 80
protocol: TCP
- containerPort: 30001
hostPort: 443
protocol: TCP
labels:
topology.kubernetes.io/zone: a
- role: worker
image: docker.io/kindest/node:v1.26.0@sha256:45aa9ecb5f3800932e9e35e9a45c61324d656cf5bc5dd0d6adfc1b0f8168ec5f
labels:
topology.kubernetes.io/zone: b
- role: worker
image: docker.io/kindest/node:v1.26.0@sha256:45aa9ecb5f3800932e9e35e9a45c61324d656cf5bc5dd0d6adfc1b0f8168ec5f
labels:
topology.kubernetes.io/zone: c
144 changes: 144 additions & 0 deletions _snippets/k8s/query-argo-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/argoproj/argo-workflows/v3.4.3/api/jsonschema/schema.json
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: recruit-query-workflow-
spec:
entrypoint: full-run
templates:
- name: omop-cdm-etl
container:
image: docker.io/docker/whalesay@sha256:178598e51a26abbc958b8a2e48825c90bc22e641de3d31e18aaf55f3258ba93b
command: [cowsay]
args: ["Running ETL Job from source to the OMOP CDM database"]
securityContext:
readOnlyRootFilesystem: true
runAsUser: 65532
runAsGroup: 65532
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsNonRoot: true

- name: ohdsi-achilles
# run for at most 1 hour before timing out to make sure the query module will run eventually
activeDeadlineSeconds: "3600"
container:
image: docker.io/ohdsi/broadsea-achilles:sha-bccd396@sha256:a881063aff6200d0d368ec30eb633381465fb8aa15e7d7138b7d48b6256a6feb
env:
- name: ACHILLES_DB_URI
value: >-
postgresql://broadsea-atlasdb:5432/postgres?ApplicationName=recruit-ohdsi-achilles
- name: ACHILLES_DB_USERNAME
value: postgres
- name: ACHILLES_DB_PASSWORD
valueFrom:
secretKeyRef:
name: recruit-ohdsi-webapi-db-secret
key: postgres-password
- name: ACHILLES_CDM_SCHEMA
value: demo_cdm
- name: ACHILLES_VOCAB_SCHEMA
value: demo_cdm
- name: ACHILLES_RES_SCHEMA
value: demo_cdm_results
- name: ACHILLES_CDM_VERSION
value: "5.3"
- name: ACHILLES_SOURCE
value: EUNOMIA
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsNonRoot: true
runAsUser: 10001
runAsGroup: 10001
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: achilles-workspace-volume
mountPath: /opt/achilles/workspace
- name: r-tempdir-volume
mountPath: /tmp
volumes:
- name: achilles-workspace-volume
emptyDir: {}
- name: r-tempdir-volume
emptyDir: {}

- name: recruit-query
container:
image: ghcr.io/miracum/recruit/query:v10.1.12 # x-release-please-version
env:
- name: QUERY_RUN_ONCE_AND_EXIT
value: "true"
- name: QUERY_SCHEDULE_ENABLED
value: "false"
- name: QUERY_SELECTOR_MATCHLABELS
value: ""
- name: FHIR_URL
value: http://recruit-fhirserver:8080/fhir
- name: OMOP_JDBCURL
value: >-
jdbc:postgresql://broadsea-atlasdb:5432/postgres?ApplicationName=recruit-query
- name: OMOP_USERNAME
value: postgres
- name: OMOP_PASSWORD
valueFrom:
secretKeyRef:
name: recruit-ohdsi-webapi-db-secret
key: postgres-password
- name: OMOP_CDMSCHEMA
value: demo_cdm
- name: OMOP_RESULTSSCHEMA
value: demo_cdm_results
- name: QUERY_WEBAPI_BASE_URL
value: http://recruit-ohdsi-webapi:8080/WebAPI
- name: ATLAS_DATASOURCE
value: EUNOMIA
- name: MANAGEMENT_ENDPOINT_HEALTH_PROBES_ADD_ADDITIONAL_PATHS
value: "true"
- name: MANAGEMENT_SERVER_PORT
value: "8081"
- name: CAMEL_HEALTH_ENABLED
value: "false"
- name: QUERY_WEBAPI_COHORT_CACHE_SCHEMA
value: webapi
securityContext:
privileged: false
capabilities:
drop:
- ALL
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: tmp-volume
mountPath: /tmp
volumes:
- name: tmp-volume
emptyDir: {}

- name: full-run
dag:
tasks:
- name: run-omop-cdm-etl
template: omop-cdm-etl
- name: run-ohdsi-achilles
depends: run-omop-cdm-etl
template: ohdsi-achilles
- name: run-recruit-query
# doesn't really matter whether the achilles job failed or succeeded
depends: "run-omop-cdm-etl && (run-ohdsi-achilles.Succeeded || run-ohdsi-achilles.Failed)"
template: recruit-query
Loading

0 comments on commit 9ab9911

Please sign in to comment.