REST API - Push Repository Policy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

REST API - Push Repository Policy

mistercaste
Hi

I am trying to use the Artifactory PRO's REST API (https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Pull/PushReplication, paragraph Pull/Push Replication), to push a repository, say X, from server A to server B, automatically every 4 hours.

Since we don't want to occupy our whole bandwidth during the replication (it's a big repository), I was wondering if Artifactory copies every time the X artifact from A to B or if it preventively checks the destination server B to contain the latest version of X.
I can not understand this from the execution logs and the REST call is asynchronous.

Also, is there a way to have REST actively wait for the execution completion/failure?


Thank you