Skip to content

paulscherrerinstitute/scicat-rocrate

Repository files navigation

scicat-rocrate

Implementation of the RO-Crate API for SciCat.

How to work on this project?

To setup the project, it is recomended to use the provided Development Containers.

Running the application in dev mode

Note: It is possible to use Maven CLI directly (quarkus <command> is equivalent to ./mvnw quarkus:<command>).

quarkus dev

Runing tests in watch mode

quarkus test

Building a Docker image

quarkus build

Publishing a Docker image to GitHub registry

quarkus build -Dquarkus.container-image.push=true

Deployment

This service can be configured using the following environment variables:

Name Description Example value
QUARKUS_REST_CLIENT_SCICAT_API_URL Base URL of the SciCat backend https://dacat.psi.ch/api/v3
TITANIUM_JSONLD_CACHE_SIZE Size of the JSON-LD context cache 10
SCICAT_CLIENT_USE_BEARER Prefix the Authorization header with Bearer (set to false if using legacy backend) true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5