Skip to content

plantbreeding/BRAVA-Tools

Repository files navigation

BRAVA Tools

A backend application and API which provides tools to validate BrAPI compatible servers

Prerequisites

  • Java 21
  • Gradle 9.2.1

Tools

The Plant Breeding API Validator (BRAVA)

Validates endpoints in a BrAPI compatible server using the BrAPI spec.

The validation process verifies data is stored and that each endpoint produces the data expected via the spec.

Use Case Checker

Validates endpoints have been implemented pursuant to specific use cases required by certain BrApps, like Field Book

Build and Run

Locally hosted

To build and run the app locally:

./gradlew bootRun

To create a jar to package with a DockerFile:

./gradlew bootJar

Docker

For development, you will likely want to test a locally built image.

To build the image:

docker build -t brava-tools-be .

You will also want to build the frontend image if you want to test both end to end.

You can do that using the BRAVA-Tools-Website,

and building that image locally by cd-ing into that directory and running:

docker build -t brava-tools-fe .

Optionally you can grab the latest image of the fe from brapicoordinatorselby/brava-tools-fe:latest in the docker compose.

Finally, you can run the images with:

docker compose -f docker-compose-local.yml up

The regular docker-compose.yml is reserved for production deployments, and will always use the latest images

Releases

Releases will trigger an action to build and upload an image to Docker Hub

For more information please refer to the BRAVA-Tools wiki

About

An API to help developers test servers that comply with the BrAPI specification and BrApp use cases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •