Bug 543047 - ChecksumVerifier should read checksum from processing step descriptor's data only
Initially, ChecksumVerifier has been modeled after MD5Verifier which
tries to read artifact descriptor's properties and falls back to
processing step descriptor's data.
But ChecksumVerifier actually never touches artifact descriptor and
its properties:
- ChecksumUtilities's getChecksumVerifiers is the only method to
create instances of ChecksumVerifier
- ChecksumUtilities's getChecksumVerifiers knows the property to read
checksum from and stores its value into processing step descriptor's
data
This decouples ChecksumVerifier from artifact descriptor properties.
Change-Id: I635f89d598df6a90a068220f0c1ba31bf603b45d
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
1 file changed