chore: Major dependency updates #292
151 passed, 0 failed and 0 skipped
β Β ./target/test-reports/TEST-swiss.dasch.api.AuthorizationHandlerSpec.xml
3 tests were completed in 22ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.api.AuthorizationHandlerSpec | 3β | 22ms |
β Β swiss.dasch.api.AuthorizationHandlerSpec
β
should disable auth - should authorize anyone
β
should handle auth - should check admin
β
should handle auth - should authorize project read with read or admin
β Β ./target/test-reports/TEST-swiss.dasch.api.AuthServiceLiveSpec.xml
9 tests were completed in 409ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.api.AuthServiceLiveSpec | 9β | 409ms |
β Β swiss.dasch.api.AuthServiceLiveSpec
β
AuthServiceLive - An expired token should fail with a JwtProblem
β
AuthServiceLive - An invalid token should fail with JwtProblem
β
AuthServiceLive - A token with invalid signature should fail with JwtProblem
β
AuthServiceLive - Should validate contents
β
AuthServiceLive - A valid token should be verified
β
AuthServiceLive - A token with invalid issuer should fail with JwtProblem
β
AuthServiceLive - A token with invalid audience should fail with JwtProblem
β
AuthServiceLive - Should extract AuthScope from contents
β
AuthServiceLive - A token without subject should fail with JwtProblem
β Β ./target/test-reports/TEST-swiss.dasch.api.MaintenanceEndpointsSpec.xml
3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.api.MaintenanceEndpointsSpec | 3β | 2s |
β Β swiss.dasch.api.MaintenanceEndpointsSpec
β
MaintenanceEndpoint - /maintenance/needs-originals should - should return 204 and create a report
β
MaintenanceEndpoint - /maintenance/needs-originals should - should return 204 and create an extended report
β
MaintenanceEndpoint - /maintenance/needs-top-left-correction should - should return 204 and create a report
β Β ./target/test-reports/TEST-swiss.dasch.api.MonitoringEndpointsSpec.xml
3 tests were completed in 570ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.api.MonitoringEndpointsSpec | 3β | 570ms |
β Β swiss.dasch.api.MonitoringEndpointsSpec
β
MonitoringEndpoints - get /info - should return 200
β
MonitoringEndpoints - get /health - when unhealthy should return status DOWN
β
MonitoringEndpoints - get /health - when healthy should return status UP
β Β ./target/test-reports/TEST-swiss.dasch.api.ProjectsEndpointSpec.xml
22 tests were completed in 24s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.api.ProjectsEndpointSpec | 22β | 24s |
β Β swiss.dasch.api.ProjectsEndpointSpec
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the Content-Type header is not-present, return correct error
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the Content-Type header is invalid, return correct error
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the shortcode is invalid, return 400
β
ProjectsEndpoint - POST /projects/{shortcode}/export should, - given the project shortcode is invalid, return 400
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the Body is empty, return 400
β
ProjectsEndpoint - POST /projects/{shortcode}/export should, - given the project does not exist, return 404
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId> - given the project folder exists but the asset info file does not exist should return Not Found
β
ProjectsEndpoint - /projects/<shortcode>/asset/ingest/<filename>.mp3 - should refuse ingesting without content
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId> - given the project folder does not exist should return Not Found
β
ProjectsEndpoint - /projects/<shortcode>/asset/ingest/<filename>.mp3 - should handle ingest denormalized filenames
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId> - given a basic asset info file exists it should return the info
β
ProjectsEndpoint - /projects/<shortcode>/asset/ingest/<filename>.mp3 - should ingest successfully
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId> - given a still image asset info file exists it should return the info
β
ProjectsEndpoint with SttpStub - /projects/<shortcode>/asset/<assetId>/original - fail by no permissions
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the Body is not a zip, will return 400
β
ProjectsEndpoint - POST /projects/{shortcode}/import should - given the Body is a zip, return 200
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId> - given a moving image asset info file exists it should return the info
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId>/original - return the original contents
β
ProjectsEndpoint - /projects/<shortcode>/asset/<assetId>/original - given the info file does not exist, it should return Not Found
β
ProjectsEndpoint - /admin/projects/{shortcode} - DELETE ./erase should delete the project folder
β
ProjectsEndpoint - GET /projects should list non-empty project in test folders
β
ProjectsEndpoint - POST /projects/{shortcode}/export should, - given the project is valid, return 200 with correct headers
β Β ./target/test-reports/TEST-swiss.dasch.domain.AssetFilenameSpec.xml
4 tests were completed in 151ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.AssetFilenameSpec | 4β | 151ms |
β Β swiss.dasch.domain.AssetFilenameSpec
β
- should not allow invalid filenames containing path traversals
β
- should not allow invalid filenames missing a valid extension
β
- should allow valid filenames
β
- should not allow invalid characters
β Β ./target/test-reports/TEST-swiss.dasch.domain.AssetIdSpec.xml
4 tests were completed in 780ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.AssetIdSpec | 4β | 780ms |
β Β swiss.dasch.domain.AssetIdSpec
β
- AssetId.makeNew should create a UUID in Base 62 encoding
β
- AssetId should not be created from an String containing invalid characters
β
- AssetId should not be created from a String shorter than four characters
β
- AssetId should be created from a valid string
β Β ./target/test-reports/TEST-swiss.dasch.domain.AssetInfoServiceSpec.xml
4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.AssetInfoServiceSpec | 4β | 1s |
β Β swiss.dasch.domain.AssetInfoServiceSpec
β
- findByAssetRef - parsing an info file for a still image with complete metadata info works
β
- findByAssetRef - parsing an info file for a moving image with complete metadata info works
β
- findByAssetRef - parsing an info file for a other file type with complete metadata info works
β
- findByAssetRef - parsing a simple file info works
β Β ./target/test-reports/TEST-swiss.dasch.domain.AugmentedPathSpec.xml
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.AugmentedPathSpec | 22β | 2s |
β Β swiss.dasch.domain.AugmentedPathSpec
β
AugmentedPath - MovingImageDerivativeFile - cannot be created if filename is not a valid AssetId
β
AugmentedPath - MovingImageDerivativeFile - cannot be created from original file
β
AugmentedPath - MovingImageDerivativeFile - cannot be created from hidden file
β
AugmentedPath - JpxDerivativeFile - cannot be created from original file
β
AugmentedPath - JpxDerivativeFile - cannot be created from directory
β
AugmentedPath - MovingImageDerivativeFile - cannot be created from directory
β
AugmentedPath - MovingImageDerivativeFile - can be created from a Path which is a derivative file mov
β
AugmentedPath - ProjectFolder - cannot be created from a Path which is not a project folder
β
AugmentedPath - JpxDerivativeFile - cannot be created if filename is not a valid AssetId
β
AugmentedPath - ProjectFolder - can be created from a Path which is a project folder
β
AugmentedPath - JpxDerivativeFile - can be created from a Path which is a derivative file jpx
β
AugmentedPath - OrigFile - can be created if Path ends with .orig
β
AugmentedPath - OrigFile - cannot be created if filename is not a valid AssetId
β
AugmentedPath - OtherDerivativeFile - cannot be created if filename is not a valid AssetId
β
AugmentedPath - OrigFile - cannot be created if file is not an .orig file, e.g. directory or other extension
β
AugmentedPath - OrigFile - cannot be created from hidden file
β
AugmentedPath - ProjectFolder - cannot be created from a Path which is hidden
β
AugmentedPath - OtherDerivativeFile - cannot be created from original file
β
AugmentedPath - JpxDerivativeFile - cannot be created from hidden file
β
AugmentedPath - OtherDerivativeFile - cannot be created from directory
β
AugmentedPath - OtherDerivativeFile - can be created from a Path which is a derivative file
β
AugmentedPath - OtherDerivativeFile - cannot be created from hidden file
β Β ./target/test-reports/TEST-swiss.dasch.domain.AuthScopeSpec.xml
4 tests were completed in 117ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.AuthScopeSpec | 4β | 117ms |
β Β swiss.dasch.domain.AuthScopeSpec
β
- should parse the project read scope
β
- should ignore unknown keys, report bad project shortcodes
β
- should parse the project write scope
β
- should parse the admin scope
β Β ./target/test-reports/TEST-swiss.dasch.domain.BulkIngestServiceSpec.xml
7 tests were completed in 9s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.BulkIngestServiceSpec | 7β | 9s |
β Β swiss.dasch.domain.BulkIngestServiceSpec
β
BulkIngestServiceLive - start ingest - fail when import folder does not exist
β
BulkIngestServiceLive - finalize bulk ingest should - fail when import folder does not exist
β
BulkIngestServiceLive - finalize bulk ingest should - remove all files
β
BulkIngestServiceLive - check semaphores released - check semaphores
β
BulkIngestServiceLive - getBulkIngestMappingCsv - return the mapping csv file
β
BulkIngestServiceLive - postBulkIngestEndpoint - test bulk-ingest individual upload
β
BulkIngestServiceLive - start ingest - lock project while ingesting
β Β ./target/test-reports/TEST-swiss.dasch.domain.CsvUtilSpec.xml
3 tests were completed in 62ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.CsvUtilSpec | 3β | 62ms |
β Β swiss.dasch.domain.CsvUtilSpec
β
- escapeCsvValue - Should escape a value with a double quote
β
- escapeCsvValue - Should escape a value with a comma
β
- escapeCsvValue - Should not escape a value without special characters
β Β ./target/test-reports/TEST-swiss.dasch.domain.FileChecksumServiceLiveSpec.xml
5 tests were completed in 783ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.FileChecksumServiceLiveSpec | 5β | 783ms |
β Β swiss.dasch.domain.FileChecksumServiceLiveSpec
β
FileChecksumService - should calculate checksum of .jp2.orig should be correct
β
FileChecksumService - should verify the checksums of an asset's original
β
FileChecksumService - should calculate checksum of .jp2 should not match orig
β
FileChecksumService - should verify the checksums of an asset's derivative
β
FileChecksumService - should verify the checksums of an asset's derivative and original
β Β ./target/test-reports/TEST-swiss.dasch.domain.IngestServiceSpec.xml
1 tests were completed in 167ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.IngestServiceSpec | 1β | 167ms |
β Β swiss.dasch.domain.IngestServiceSpec
β
IngestService - should ingest a simple csv file
β Β ./target/test-reports/TEST-swiss.dasch.domain.MimeTypeGuesserSpec.xml
2 tests were completed in 17ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.MimeTypeGuesserSpec | 2β | 17ms |
β Β swiss.dasch.domain.MimeTypeGuesserSpec
β
MimeTypeGuesser - should return None if it cannot guess the MIME type
β
MimeTypeGuesser - should guess the MIME type from the filename
β Β ./target/test-reports/TEST-swiss.dasch.domain.MovingImageServiceSpec.xml
4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.MovingImageServiceSpec | 4β | 1s |
β Β swiss.dasch.domain.MovingImageServiceSpec
β
MovingImageService - createDerivative - should die for unsupported files
β
MovingImageService - extractMetaData - given correct metadata it should extract
β
MovingImageService - createDerivative - should create a derivative for supported files
β
MovingImageService - extractMetaData - given invalid metadata it should not extract
β Β ./target/test-reports/TEST-swiss.dasch.domain.ProjectRepositoryLiveSpec.xml
8 tests were completed in 469ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.ProjectRepositoryLiveSpec | 8β | 469ms |
β Β swiss.dasch.domain.ProjectRepositoryLiveSpec
β
ProjectRepositoryLive - findByShortcode
β
ProjectRepositoryLive - given an empty database should find nothing
β
ProjectRepositoryLive - is advancing the id
β
ProjectRepositoryLive - findById
β
ProjectRepositoryLive - deleteProjectById
β
ProjectRepositoryLive - deleteProjectByShortcode
β
ProjectRepositoryLive - refuse to create a project twice
β
ProjectRepositoryLive - is deleting multiple projects
β Β ./target/test-reports/TEST-swiss.dasch.domain.ProjectServiceSpec.xml
7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.ProjectServiceSpec | 7β | 5s |
β Β swiss.dasch.domain.ProjectServiceSpec
β
ProjectService - findProject path - should not find not existing projects
β
ProjectService - findAssetsOfProject path - should not find non existing projects
β
ProjectService - findProject path - should find existing projects which contain at least one non hidden regular file
β
ProjectService - zipping a project - given it does not exist, should return None
β
ProjectService - listAllProjects - should list all projects which contain assets in the asset directory
β
ProjectService - findAssetsOfProject path - should find asset infos from existing project
β
ProjectService - zipping a project - given it does exists, should zip and return file path
β Β ./target/test-reports/TEST-swiss.dasch.domain.ProjectShortcodeSpec.xml
3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.ProjectShortcodeSpec | 3β | 1s |
β Β swiss.dasch.domain.ProjectShortcodeSpec
β
- ProjectShortcode should not accept invalid strings
β
- ProjectShortcodes with different cases should be equal
β
- ProjectShortcode should accept any four digit hex strings
β Β ./target/test-reports/TEST-swiss.dasch.domain.SipiCommandSpec.xml
3 tests were completed in 44ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.SipiCommandSpec | 3β | 44ms |
β Β swiss.dasch.domain.SipiCommandSpec
β
SipiCommand - should assemble query command
β
SipiCommand - should assemble topleft command
β
SipiCommand - should render format command
β Β ./target/test-reports/TEST-swiss.dasch.domain.StillImageServiceLiveSpec.xml
6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.StillImageServiceLiveSpec | 6β | 1s |
β Β swiss.dasch.domain.StillImageServiceLiveSpec
β
StillImageServiceLive - createDerivative should create a jpx file with correct name
β
StillImageServiceLive - not apply top left if not necessary
β
StillImageServiceLive - createDerivative should fail if Sipi silently does not transcode the image
β
StillImageServiceLive - getDimensions should return Dimensions if Sipi returns them
β
StillImageServiceLive - apply top left should apply correction, create backup and update info file
β
StillImageServiceLive - getDimensions should fail Dimensions if Sipi does not return them
β Β ./target/test-reports/TEST-swiss.dasch.domain.StorageServiceLiveSpec.xml
10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.StorageServiceLiveSpec | 10β | 2s |
β Β swiss.dasch.domain.StorageServiceLiveSpec
β
- should return asset path
β
- should return the path of the folder where the asset is stored
β
- should return project directory
β
- should return temp path
β
- load and save json files - should fail to load a non-existing json file
β
- create temp directory scoped - Should remove directory and content after scope
β
- load and save json files - should overwrite (i.e. create new) and load a json file
β
- load and save json files - should fail to load a file which does not contain json
β
- create temp directory scoped - should create a temp directory
β
- load and save json files - should overwrite existing file and load a json file
β Β ./target/test-reports/TEST-swiss.dasch.domain.SupportedFileTypeSpec.xml
5 tests were completed in 139ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.SupportedFileTypeSpec | 5β | 139ms |
β Β swiss.dasch.domain.SupportedFileTypeSpec
β
SupportedFileTypesSpec - All still images which are supported by Sipi are supported
β
SupportedFileTypesSpec - All valid extensions for StillImage are supported
β
SupportedFileTypesSpec - All valid extensions for Other are supported
β
SupportedFileTypesSpec - All valid extensions for MovingImage are supported
β
SupportedFileTypesSpec - Unknown file extensions are not supported
β Β ./target/test-reports/TEST-swiss.dasch.domain.ZipUtilitySpec.xml
2 tests were completed in 22ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.domain.ZipUtilitySpec | 2β | 22ms |
β Β swiss.dasch.domain.ZipUtilitySpec
β
ZipUtility - creating the test directory should work
β
ZipUtility - should zip/unzip a folder with a single file
β Β ./target/test-reports/TEST-swiss.dasch.infrastructure.AggregatedHealthSpec.xml
1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.infrastructure.AggregatedHealthSpec | 1β | 6ms |
β Β swiss.dasch.infrastructure.AggregatedHealthSpec
β
AggregatedHealth - aggregates Health
β Β ./target/test-reports/TEST-swiss.dasch.infrastructure.Base62Spec.xml
1 tests were completed in 73ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.infrastructure.Base62Spec | 1β | 73ms |
β Β swiss.dasch.infrastructure.Base62Spec
β
Base62 - should encode and decode a UUID
β Β ./target/test-reports/TEST-swiss.dasch.infrastructure.CommandExecutorLiveSpec.xml
2 tests were completed in 267ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.infrastructure.CommandExecutorLiveSpec | 2β | 267ms |
β Β swiss.dasch.infrastructure.CommandExecutorLiveSpec
β
CommandExecutorLive - buildCommand without docker when useLocalDev is false
β
CommandExecutorLive - buildCommand with docker when useLocalDev is true
β Β ./target/test-reports/TEST-swiss.dasch.infrastructure.FileSystemHealthIndicatorLiveSpec.xml
2 tests were completed in 119ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.infrastructure.FileSystemHealthIndicatorLiveSpec | 2β | 119ms |
β Β swiss.dasch.infrastructure.FileSystemHealthIndicatorLiveSpec
β
FileSystemCheck - should fail smoke test given the expected folders do not exist
β
FileSystemCheck - should pass smoke test given the expected folders exist
β Β ./target/test-reports/TEST-swiss.dasch.infrastructure.HealthSpec.xml
1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
swiss.dasch.infrastructure.HealthSpec | 1β | 5ms |
β Β swiss.dasch.infrastructure.HealthSpec
β
Health - aggregation