Online acceptance DP environment

Online acceptance DP environment

Last updated: 2023-05-16 15:21

Rebuild environment

Every Saturday, the online acceptance DP environment is rebuild and all data will be removed automatically. This is triggered by a workflow with a cron: https://github.com/Sciensano-Healthdata/hd4dp/blob/main/.github/workflows/promote.yml#L6

Add organization

When a new organization want to have access to the online acceptance DP environment. A ticket will be created in the service desk.
The organization and riziv numbers must be added in the Liquibase scripts of MDM services. You can request this to the developer to add the organization to the online acceptance DP environment.
Once the mdm-services image is tagged. The latest version tag of Github is used for the next deployment.

Workflow Deployment

You can trigger the workflow https://github.com/Sciensano-Healthdata/hd4dp/actions/workflows/promote.yml to rebuild the environment.

Note: An extra option will be added to clean the database or not.

Manually running the workflow

Credentials

Once the environment is up and running and all accounts are created. The credentials can be found in our vault. https://vault.healthdata.be.
Go to secret_v2/azure_k8s > environments > acceptance
UI logins: formio-users-pass
API login: s2s-api-user-pass
CSV logins: csv-user-pass

When you want to share the credentials with the ticket owner in ServiceNow. Make sure to use the Arxus secure password link. Add the different endpoints for CSV, API and UI to the ticket.

Users/Author groups

Each organization will have 1 user test@sciensano.be and 1 Author group Test group. This can be used as Author, Co-Author and Author group in the CSV and API payloads.
CSV user is based on organization-<org_id>
API user is 1 generic user for all organization.