Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 950 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 950 Bytes

YTI terminology API

Requirements

  • Java 17
  • Gradle 8.5
  • Docker

API documentation

http://localhost:9103/terminology-api/swagger-ui/index.html

Running locally

Checkout and publish yti-spring-security and yti-common-backend libraries to local maven repository

Check correct version from the dependencies

# In dependant library directory
git checkout vX.X.X 
./gradlew publishToMavenLocal

Create Fuseki image

Checkout yti-fuseki project and run build.sh script

Start Fuseki and OpenSearch containers from yti-compose

docker-compose up -d yti-fuseki-v4 yti-datamodel-opensearch

Properties

Create file application-local.properties to src/main/resources/config directory. Copy values from template file and adjust as needed.

Run application

./gradlew bootRun  --args='--spring.profiles.active=local'