WIP: Submit transcoding jobs via a HTTP API #6

Draft
ansv7779 wants to merge 22 commits from api-submission into master

22 Commits

Author SHA1 Message Date
855ff96544 Generate OpenAPI specification and provide a GUI for testing 2024-07-11 16:39:19 +02:00
f2eaed3d00 Merge branch 'master' into api-submission
Some checks failed
Clean up branch.dsv.su.se / Cleanup-branch (pull_request) Failing after 3s
Deploy to branch.dsv.su.se / Deploy-branch (pull_request) Successful in 1m13s
# Conflicts:
#	src/main/java/se/su/dsv/whisperapi/WhisperApiApplication.java
2024-07-11 15:07:29 +02:00
8d13dc31c6 Include link to submit job after transcription has at least one attached source file 2024-07-11 15:01:31 +02:00
aa49f418d2 Include link to attach source files when creating a transcription 2024-07-11 14:54:50 +02:00
0064149d79 Allow specifying language on transcription jobs 2024-07-11 14:44:19 +02:00
a1321d10c7 Allow downloading of transcribed results 2024-07-11 14:18:52 +02:00
6ef4994802 Reference correct class on static call 2024-07-11 14:18:39 +02:00
2cf6c9f947 Fix type URI for invalid transcription id in problem detail response 2024-07-11 12:48:04 +02:00
413f2d1f55 Refactoring 2024-07-11 10:33:13 +02:00
39a46c0b0c Fixed job directory not existing when trying to submit jobs 2024-07-11 10:33:13 +02:00
5f34aad32c Group files better in the default folder for easier management 2024-07-11 09:53:35 +02:00
f59eec2ded Respond to callback when a transcription has finished all its jobs. 2024-07-10 11:56:46 +02:00
a7cb45f5e5 Fix column name 2024-07-10 10:48:47 +02:00
515b2aa642 Pre-generate download URI:s for future transcribed results.
Callbacks are sent out from an asynchronous job with no web context. Therefore, it is impossible, at that time, to generate absolute URI:s. Pre-generate them at upload time to maximize the chance that the correct web context is used to generate the URI:s.
2024-07-08 16:10:10 +02:00
6852ce6d50 [WIP] Send out callbacks when all jobs in a transcriptions have completed with progressive back off. 2024-06-20 10:44:27 +02:00
19a3b3c9d1 Persist jobs and handle the callback when they're done 2024-06-19 14:34:05 +02:00
96a975f6bb Default to java.io.tmpdir instead of hardcoded /tmp while developing 2024-06-19 12:24:55 +02:00
9a2a34db0d Fix name 2024-06-19 11:52:22 +02:00
96da213653 Refactoring 2024-06-17 16:38:07 +02:00
c2ace10ff1 [WIP] Submit jobs for processing to the Whisper engine
To get something transcribed is a three-step process;
1. Create and configure the transcription job
2. Attach files to the job to be transcribed
3. Submit the job for processing

This is step three of the process.
2024-06-17 15:48:36 +02:00
69c3e86360 Attach files to be transcribed to a job
To get something transcribed is a three-step process;
1. Create and configure the transcription job
2. Attach files to the job to be transcribed
3. Submit the job for processing

This is step two of the process.
2024-06-17 15:41:29 +02:00
7ee1b2a745 Create a new transcription job.
To get something transcribed is a three-step process;
1. Create and configure the transcription job
2. Attach files to the job to be transcribed
3. Submit the job for processing

This is step one of the process.
2024-06-17 15:28:27 +02:00