refactor(server): job repository (#1382)

* refactor(server): job repository

* refactor: job repository

* chore: generate open-api

* fix: job panel

* Remove incorrect subtitle

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2023-01-21 23:13:36 -05:00
committed by GitHub
parent f4c90426a5
commit 4cfac47674
34 changed files with 418 additions and 1124 deletions

View File

@@ -16,53 +16,28 @@ void main() {
// final instance = AllJobStatusResponseDto();
group('test AllJobStatusResponseDto', () {
// JobCounts thumbnailGenerationQueueCount
test('to test the property `thumbnailGenerationQueueCount`', () async {
// JobCounts thumbnailGeneration
test('to test the property `thumbnailGeneration`', () async {
// TODO
});
// JobCounts metadataExtractionQueueCount
test('to test the property `metadataExtractionQueueCount`', () async {
// JobCounts metadataExtraction
test('to test the property `metadataExtraction`', () async {
// TODO
});
// JobCounts videoConversionQueueCount
test('to test the property `videoConversionQueueCount`', () async {
// JobCounts videoConversion
test('to test the property `videoConversion`', () async {
// TODO
});
// JobCounts machineLearningQueueCount
test('to test the property `machineLearningQueueCount`', () async {
// JobCounts machineLearning
test('to test the property `machineLearning`', () async {
// TODO
});
// JobCounts storageMigrationQueueCount
test('to test the property `storageMigrationQueueCount`', () async {
// TODO
});
// bool isThumbnailGenerationActive
test('to test the property `isThumbnailGenerationActive`', () async {
// TODO
});
// bool isMetadataExtractionActive
test('to test the property `isMetadataExtractionActive`', () async {
// TODO
});
// bool isVideoConversionActive
test('to test the property `isVideoConversionActive`', () async {
// TODO
});
// bool isMachineLearningActive
test('to test the property `isMachineLearningActive`', () async {
// TODO
});
// bool isStorageMigrationActive
test('to test the property `isStorageMigrationActive`', () async {
// JobCounts storageTemplateMigration
test('to test the property `storageTemplateMigration`', () async {
// TODO
});

View File

@@ -24,13 +24,6 @@ void main() {
// TODO
});
//
//
//Future<JobStatusResponseDto> getJobStatus(JobId jobId) async
test('test getJobStatus', () async {
// TODO
});
//
//
//Future<num> sendJobCommand(JobId jobId, JobCommandDto jobCommandDto) async

View File

@@ -1,32 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for JobStatusResponseDto
void main() {
// final instance = JobStatusResponseDto();
group('test JobStatusResponseDto', () {
// bool isActive
test('to test the property `isActive`', () async {
// TODO
});
// Object queueCount
test('to test the property `queueCount`', () async {
// TODO
});
});
}