Skip to content

An API for validating RO Crates in federated trusted research environments πŸ•΅οΈπŸ“¦

License

Notifications You must be signed in to change notification settings

eScienceLab/Cratey-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RO-Crate Validation Service

This project presents a Flask-based API for validating RO-Crates.

Project Structure

app/
β”œβ”€β”€ ro_crates/
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ __init__.py         # Registers blueprints
β”‚   β”‚   └── post_routes.py      # POST API routes
β”‚   └── __init__.py             
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ logging_service.py      # Centralised logging
β”‚   └── validation_service.py   # Queue RO-Crates for validation
β”œβ”€β”€ tasks/
β”‚   └── validation_tasks.py     # Validate RO-Crates
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ config.py               # Configuration
β”‚   β”œβ”€β”€ minio_utils.py          # Methods for interacting with MinIO
β”‚   └── webhook_utils.py        # Methods for sending webhooks

Setting up the project

Prerequisites

  • Docker with Docker Compose

Installation

  1. Clone the repository:

    git clone https://github.com/eScienceLab/Cratey-Validator.git
    cd crate-validation-service
  2. Build and start the services using Docker Compose:

    docker compose build
    docker compose up

About

An API for validating RO Crates in federated trusted research environments πŸ•΅οΈπŸ“¦

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published