⚠️ This repository is no longer maintained. The code has been integrated and it is further developed at: https://github.com/neicnordic/sensitive-data-archive
sda-download
is a go
implementation of the Data Out API. The API Reference has example requests and responses.
Recommended provisioning method for production is:
- on a
kubernetes cluster
using the helm chart;
For local development/testing see instructions in dev_utils folder. There is an README file in the dev_utils folder with sections for running the pipeline locally using Docker Compose.
Component | Role |
---|---|
middleware | Performs access token verification and validation |
sda | Constructs the main API endpoints for the NeIC SDA Data Out API. |
Component | Role |
---|---|
config | Package for managing configuration. |
database | Provides functionalities for using the database, as well as high level functions for working with the SDA-DB. |
storage | Provides interface for storage areas such as a regular file system (POSIX) or as a S3 object store. |
session | DatasetCache stores the dataset permissions and information whether this information has already been checked or not. This information can then be used to skip the time-costly authentication middleware |
Component | Role |
---|---|
auth | Auth pkg is used by the middleware to parse OIDC Details and extract GA4GH Visas from a GA4GH Passport |
request | This pkg Stores a HTTP client, so that it doesn't need to be initialised on every request. |