Go to file
Alexios Symeonidis e8e066a945 Merge pull request '9961: add micrometer_info' (#14) from micrometer-expose_app_name_version into master
Reviewed-on: #14
2025-03-10 19:32:13 +01:00
.mvn/wrapper Initial commit: SolrJ client createad; OpenAPI UI init 2024-02-29 17:51:01 +02:00
src 9961: add micrometer_info 2025-03-10 20:30:59 +02:00
.env 9720: get researchProduct links 2025-01-29 23:01:53 +02:00
.gitignore implement checkstyle rules 2025-02-24 22:38:20 +02:00
Dockerfile Update Dockerfile to build jar file 2024-03-14 15:27:53 +02:00
README.md Update README.md 2024-07-19 18:19:43 +02:00
docker-compose.yml Change OPENAPI_SERVER_BASE_URL 2024-07-11 14:49:09 +03:00
mvnw Initial commit: SolrJ client createad; OpenAPI UI init 2024-02-29 17:51:01 +02:00
mvnw.cmd Initial commit: SolrJ client createad; OpenAPI UI init 2024-02-29 17:51:01 +02:00
pom.xml 9961: add micrometer_info 2025-03-10 20:30:59 +02:00

README.md

OpenAIRE Graph API

Welcome to the OpenAIRE Graph API code repository!

This repository houses the latest implementation of our OpenAIRE Graph API, designed to facilitate seamless access to metadata records of research products (i.e., publications, data, software, other research products), and projects within the OpenAIRE Graph.

For more information, please take a look at our documentation page.

Getting Started

Reference for developers

  • This project is built with Java 21; tested using OpenJDK 21.0.2.

  • Before starting the application, please load env variables from .env file. If you are using IntelliJ, you can do that by navigating to Run -> Edit Configurations -> Modify Options, check Environment variables under Operating Systems, and append the env variables with a semicolon separator.

Docker support

Create a docker image using:

# building the jar file
mvn install 

# building the actual docker image
docker build -t openaire-graph-api:latest . 

Start a docker container as follows:

# load required env variables
source .env

# start docker container
docker run -it -p 8080:8080 openaire-graph-api:latest .

or using docker compose:

# adjust env variables in docker-compose.yml

# start container using docker compose 
docker compose up -d

In both case, Swagger should be accessible at ${OPENAPI_SERVER_BASE_URL}/graph/swagger-ui/index.html#/ or http://localhost:8080/graph/swagger-ui/index.html#/ if you are running it on localhost.