Description: Configures metadata replication of artifacts between the source Artifactory and target Artifactory while artifact replication is done with storage-level replication. The API can also set the number of days to trust the replication, which allows the transfer for a limited number of days. Allows the usage of the checkBinaryExistenceinFilestore
flag in the Pull/Push Replication API on the source Artifactory.
For more information, see Optimize Repository Replication Using Storage Level Synchronization Options.
Note
This feature is available for customers in Self-Hosted environments.
Security: Requires an admin user.
Usage: PUT /api/config/storage/checksumReplication
Consumes: application/json
[ { + "checkBinaryExistenceAllowed" : "<true | false>", // Allows the usage of the checkBinaryExistenceinFilestore flag in the Pull/Push Replication API on the source Artifactory. - "daysToTrust" : "<number of days to trust the replication>" // The number of days for which the full checksum from source Artifactory is trusted. Useful for migration process. The value cannot be more than 30 days. The default is 0. Artifactory UI displays the remaining number of days to trust when the admin logs in. } ]
+=mandatory; -=optional
Since: 7.55.2
Sample Usage:
PUT /api/config/storage/checksumReplication [ { "checkBinaryExistenceAllowed" : "true" } ]