Open
Description
Task Description
We need to have an strictChecksum
option for Repository
which will prevent of uploading artifacts with broken checksum. For now we have only ERROR
log message in case of invalid checksum (see ArtifactManagementService.validateUploadedChecksumAgainstCache
).
This should be configurable.
Tasks
The following tasks will need to be carried out:
- Add
strictChecksum
property of typeboolean
fororg.carlspring.strongbox.storage.repository.Repository
interface - Support
strictChecksum
option forrepositories
items instrongbox.yaml
- Throw
ArtifactStorageException
in case ofmatchesChecksum
returnsfalse
andRepository.isStrictChecksum() == true
withinArtifactManagementService#validateUploadedChecksumAgainstCache
- Provide Unit Tests covering new feature
- Update the
strongbox-yaml
documentation instrongbox-docs
Useful Links
Help
- Our chat
- Points of contact: