Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
/ datasets_service Public archive

Microservice implementation of dataset search services from CanDIG v1

License

Notifications You must be signed in to change notification settings

CanDIG/datasets_service

Repository files navigation

This repo is no longer maintained or updated.

datasets_service

Microservice implementation of Datasets from CanDIG v1 for CanDIG v2

Based on CanDIG demo projects: OpenAPI variant service demo, Python Model Service.

Stack

Installation

The datasets_service can be installed in a py3.7+ virtual environment:

pip install -r requirements.txt

Running

The service can be started with:

python -m candig_dataset_service

If wanting to run multiple nodes on the same network, create different service configs and specify them at runtime:

python -m candig_dataset_service --host 0.0.0.0 --port 4232 --logfile ./log/newlog.log

Once the service is running, a Swagger UI can be accessed at : /v2/

Testing

Tests can be run with pytest and coverage:

pytest --cov=candig_datasets tests/

About

Microservice implementation of dataset search services from CanDIG v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published