Go to file
Nico Athanassiadis 774f1e9d7a
All checks were successful
Build and test / build-and-test (push) Successful in 6m56s
Fix for project title commit 90604b8ef1f82343e913319c54802dbd09278027
The project title was added to the wrong panel which caused side effect of showing a title when
creating a new template. Moved the previous code it is only shown when editing a template.

Also changed it to read the title from the database using the LoadableDetachableModel pattern.

Now the project title should only be shown when editing an existing template.
2024-11-21 06:48:37 +01:00
.gitea/workflows Build and test on each push (#9) 2024-10-30 10:19:50 +01:00
.mvn/wrapper Build and test on each push (#9) 2024-10-30 10:19:50 +01:00
api Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
core Fix some remaining issues from the Spring migration (#20) 2024-11-20 12:56:21 +01:00
daisy-integration Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
resources/db_update_scripts new db file 2013-10-10 11:16:14 +09:00
view Fix for project title commit 90604b8ef1f82343e913319c54802dbd09278027 2024-11-21 06:48:37 +01:00
war Fix users getting stuck at a blank white page after logging in. (#16) 2024-11-13 08:01:17 +01:00
.gitignore Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
.mailmap Updated git mailmap. 2015-02-05 15:56:03 +01:00
docker-compose.yml Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
GetToken.java Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
mvnw Build and test on each push (#9) 2024-10-30 10:19:50 +01:00
mvnw.cmd Build and test on each push (#9) 2024-10-30 10:19:50 +01:00
owasp.xml Supress bogus security vulnerability 2024-04-22 09:30:47 +02:00
parallel.sh Bash script to enable parallel deployment. 2014-05-08 09:54:39 +02:00
pom.xml Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00
README.md Enable creating an API using Spring Web (#5) 2024-11-06 11:23:28 +01:00

Working with the API

The API is protected by OAuth 2 acting as a resource server verifying tokens using token introspection.

When developing it uses a locally running instance of an authorization server that is run inside Docker. It can be started with docker compose -f docker-compose.yml up. Since there is no frontend to interact with the authorization server there's a helper script in GetToken.java that can be run directly with java GetToken.java to run through the authorization flow and get an access token.

Once the token has been obtained go to the Swagger UI to interact with the API. Click the "Authorize" button in the top right and paste the access token to log in.