Interoperability workbench data model editor backend
- Java 17
- Docker
- Gradle 7.6
- yti-spring-migration
- yti-spring-security
Checkout corresponding tag for version defined in build.gradle, e.g. git checkout v0.2.0
Install package to local maven repository ./gradlew publishToMavenLocal
- yti-groupmanagement
- yti-fuseki
For each project run build.sh
located at the project root folder. The script builds a docker image for the project.
Start dependant containers
docker-compose up -d yti-groupmanagement yti-fuseki-v4 yti-datamodel-opensearch
Copy content from main/resources/config/application.properties.template to file application-local.properties and adjust values as needed.
./src/scripts/init.admin.sh
http://localhost:9004/datamodel-api/swagger-ui/index.html
Solution: Run re-indexing (requires super user). Also JSESSIONID cookie can be used for authorization.
curl -X POST -H 'Authorization: Bearer <api_key>' <host>/datamodel-api/v2/index/reindex
Solution: External resources are not resolved by default on startup.
Define property namespaces.resolveDefault=true
in application-local.properties and restart the application.
Once resolved, set this property to false to make starting application faster.