Skip to content
GitLab
  • Explore
  • Sign in
  • EIPEIP
  • LabradorLabrador
  • Wiki
  • LabraCore

LabraCore · Changes

Page history
Create LabraCore authored Feb 14, 2023 by Timur Oberhuber's avatar Timur Oberhuber
Hide whitespace changes
Inline Side-by-side
LabraCore.md 0 → 100644
View page @ 67646417
## Adding an endpoint
Sometimes API endpoints that you might need are missing. To add those, first you need to add them to LabraCore. Then, you update the API spec in LabraDoor. To do this, you need to run
```
curl http://localhost:8082/api-docs > oa-spec-labracore.json
```
in the LabraDoor directory. Make sure LabraCore is running. To access these changes you can publish LabraDoor locally:
```
LABRADOOR=... # Insert location here
cd $LABRADOOR
./gradlew clean
./gradlew build -x test
./gradlew publishToMavenLocal
```
Once your changes are merged to the LabraCore and LabraDoor development branch a new snapshot version or LabraDoor should be created. This is done using `./gradlew publish` instead of `./gradlew publishToMavenLocal`. You can use a personal access token to authenticate yourself. Before doing this update the version in the `build.gradle` file.
When changes are merged to master or development, deploying a new version is done automatically, but the version does still need to be changed.
\ No newline at end of file
Clone repository

Home
General
LabraCore
Librador
Development
    Migrations