Skip to main content

REANA-DB.

Project description

https://img.shields.io/pypi/pyversions/reana-db.svg https://img.shields.io/travis/reanahub/reana-db.svg https://readthedocs.org/projects/reana-db/badge/?version=latest https://img.shields.io/coveralls/reanahub/reana-db.svg https://badges.gitter.im/Join%20Chat.svg https://img.shields.io/github/license/reanahub/reana-db.svg https://img.shields.io/badge/code%20style-black-000000.svg

About

REANA-DB is a component of the REANA reusable analysis platform. It contains REANA database models and utilities.

Features

  • database persistence for REANA system

  • database models and utilities

  • database upgrades and migrations

Usage

The detailed information on how to install and use REANA can be found in docs.reana.io.

Changes

Version master (UNRELEASED)

  • Encrypts user tokens.

  • Adds initial central workflow status transitions logic.

  • Factors out user tokens from User table to UserToken table.

  • Adds audit table and logic to register actions.

  • Adds new column workspace_path to the Workflow table.

  • Adds fixtures for better testing models.

  • Amends database host configuration to respect REANA component prefixing.

  • Uses centrally configured database service name from REANA-Commons.

  • Adds REANA-Commons as a dependency.

  • Add Black formatter support.

Version 0.6.0 (2019-12-19)

  • Adds new method which returns full workflow name.

  • Adds more granular DB configuration.

  • Adds Git repository information to the workflow model. (Workflow.git_repo, Workflow.git_provider)

  • Adds user name information to the user model. (User.full_name, User.username)

  • Removes restart count information from the job model. (Job.restart_count, Job.max_restart_count)

  • Adds support for Python 3.8.

Version 0.5.0 (2019-04-16)

  • Introduces new workflow statuses: deleted, stopped, queued.

  • Adds new field to store workflow stopping time. (Workflow.run_stopped_at)

  • Moves workflow input parameters to its own column to separate them from operational options. Adapts getters accordingly. (Workflow.input_parameters)

  • Adds new method to retrieve the workflow owner’s token. (Workflow.get_owner_access_token)

  • Introduces new utility function to retrieve workflows by uuid or name. (_get_workflow_with_uuid_or_name)

  • Introduces new fields for interactive sessions: interactive_session, interactive_session_name and interactive_session_type. Note that with current design only one interactive session per workflow is supported.

  • Adds a new enumeration for possible job statuses. (JobStatus)

  • Adds new field to identify jobs in the underlying compute backend. (Job.backend_job_id)

Version 0.4.0 (2018-11-06)

  • Stores reana.yaml in database models.

  • Adds Workflow specification and parameter getters.

  • Adds support for Python 3.7.

  • Changes license to MIT.

Version 0.3.0 (2018-08-10)

  • This package is a result of refactoring reana-commons.

  • Provides common REANA models.

  • Provides database connection logic.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

reana-db-0.7.0a5.tar.gz (22.0 kB view details)

Uploaded Source

File details

Details for the file reana-db-0.7.0a5.tar.gz.

File metadata

  • Download URL: reana-db-0.7.0a5.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for reana-db-0.7.0a5.tar.gz
Algorithm Hash digest
SHA256 1c007e7c7596ed2b6a7e507e1ba097e3fde0fb42b767a418cdd412117b3995af
MD5 2353c78776300737bc2a0ec59c3b96f0
BLAKE2b-256 0c9c8e166115ff40f694c3d66ba68e019201b2379d3a38019a994e5885037c1f

See more details on using hashes here.

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