Skip to main content

Simulation Verification Service and API

Project description

Simulation Verification Service API

This service utilizes separate containers for API management, job processing, and datastorage with MongoDB, ensuring scalable and robust performance.

TODO: Update this readme to reflect high level api

This application (bio_check) uses a microservices architecture which presents the following libraries:

  • api: This library handles all requests including saving uploaded files, pending job creation, fetching results, and contains the user-facing endpoints.
  • storage: This library handles MongoDB configs as well as bucket-like storages for uploaded files.
  • worker: This library handles all job processing tasks for verification services such as job status adjustment, job retrieval, and comparison execution.

Getting Started:

For Developers:

  1. git clone https://github.com/biosimulators/bio-check.git
  2. cd bio-check/bio_check
  3. touch .env
  4. Enter the following fields into the .env file: MONGO_DB_USERNAME, MONGO_DB_PWD, MONGO_DB_URI.
  5. Ensure that your IP address has been authorized in the bio-check cluster in Mongo Atlas.

Notes:

  • This application currently uses MongoDB as the database store in which jobs are read/written. Database access is given to both the api and worker libraries. Such database access is executed/implemented with the use of a Supervisor singleton. TODO: Make this pattern implementation threadsafe.

Note (05/22/2024):

The only package source that is currently supported by this tooling is PyPI. The support of other potential package sources such as conda, brew, apt, and more is currently under development.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bio_check-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

bio_check-0.0.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page