refactor(server): jobs (#2023)

* refactor: job to domain

* chore: regenerate open api

* chore: tests

* fix: missing breaks

* fix: get asset with missing exif data

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2023-03-20 11:55:28 -04:00
committed by GitHub
parent db6b14361d
commit 386eef046d
68 changed files with 1355 additions and 907 deletions

View File

@@ -16,28 +16,43 @@ void main() {
// final instance = AllJobStatusResponseDto();
group('test AllJobStatusResponseDto', () {
// JobCounts thumbnailGeneration
test('to test the property `thumbnailGeneration`', () async {
// JobCountsDto thumbnailGenerationQueue
test('to test the property `thumbnailGenerationQueue`', () async {
// TODO
});
// JobCounts metadataExtraction
test('to test the property `metadataExtraction`', () async {
// JobCountsDto metadataExtractionQueue
test('to test the property `metadataExtractionQueue`', () async {
// TODO
});
// JobCounts videoConversion
test('to test the property `videoConversion`', () async {
// JobCountsDto videoConversionQueue
test('to test the property `videoConversionQueue`', () async {
// TODO
});
// JobCounts machineLearning
test('to test the property `machineLearning`', () async {
// JobCountsDto objectTaggingQueue
test('to test the property `objectTaggingQueue`', () async {
// TODO
});
// JobCounts storageTemplateMigration
test('to test the property `storageTemplateMigration`', () async {
// JobCountsDto clipEncodingQueue
test('to test the property `clipEncodingQueue`', () async {
// TODO
});
// JobCountsDto storageTemplateMigrationQueue
test('to test the property `storageTemplateMigrationQueue`', () async {
// TODO
});
// JobCountsDto backgroundTaskQueue
test('to test the property `backgroundTaskQueue`', () async {
// TODO
});
// JobCountsDto searchQueue
test('to test the property `searchQueue`', () async {
// TODO
});

View File

@@ -26,7 +26,7 @@ void main() {
//
//
//Future<num> sendJobCommand(JobId jobId, JobCommandDto jobCommandDto) async
//Future sendJobCommand(JobName jobId, JobCommandDto jobCommandDto) async
test('test sendJobCommand', () async {
// TODO
});

View File

@@ -21,8 +21,8 @@ void main() {
// TODO
});
// bool includeAllAssets
test('to test the property `includeAllAssets`', () async {
// bool force
test('to test the property `force`', () async {
// TODO
});

View File

@@ -11,11 +11,11 @@
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for JobCounts
// tests for JobCountsDto
void main() {
// final instance = JobCounts();
// final instance = JobCountsDto();
group('test JobCounts', () {
group('test JobCountsDto', () {
// int active
test('to test the property `active`', () async {
// TODO

View File

@@ -11,10 +11,10 @@
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for JobId
// tests for JobName
void main() {
group('test JobId', () {
group('test JobName', () {
});