Description: Returns the synchronization status of the Federation for a specific repository.
Note
This is the v2 version of the endpoint, which was released to offer a wider range of possible member statuses, as described below. The original version is still available for purposes of backward compatibility.
Warning
This API greatly impacts the database and should be used with care.
Since: 7.82.2 (Cloud)
Security: Requires an admin user.
Usage: GET api/v2/federation/status/repo/<REPO_NAME>
Sample Request:
https://federationtest2.jfrogdev.org/artifactory/api/v2/federation/status/repo/fed-generic
Sample Response:
{ "localKey" : "fed-generic", "binariesTasksInfo" : { "inProgressTasks" : 0, "failingTasks" : 0 }, "mirrorEventsStatusInfo" : [ { "remoteUrl" : "https://federationtest4.jfrogdev.org/artifactory/", "remoteRepoKey" : "fed-generic", "status" : "HEALTHY", "createEvents" : 0, "updateEvents" : 0, "deleteEvents" : 0, "propsEvents" : 0, "errorEvents" : 0, "lagInMS" : 0, "eventRegistrationTimeStamp" : 0 }, { "remoteUrl" : "https://federationtest7.jfrogdev.org/artifactory/", "remoteRepoKey" : "fed-generic", "status" : "HEALTHY", "createEvents" : 0, "updateEvents" : 0, "deleteEvents" : 0, "propsEvents" : 0, "errorEvents" : 0, "lagInMS" : 0, "eventRegistrationTimeStamp" : 0 } ], "federatedArtifactStatus" : { "countFullyReplicateArtifacts" : 0, "countArtificiallyReplicatedArtifacts" : 0 } }
The response displays the following information:
Property | Description |
---|---|
| The name of the local repository. |
| Includes the properties listed below: |
| Total number of tasks in the binaries tasks table waiting to download artifacts (currently only metadata is stored in the local JFrog Platform Deployment). |
| Total number of tasks that failed to download from the member during the download. |
| Includes the properties listed below: |
| URL of one of the Federated members (mirrors). |
| Repository name of the Federated member. |
| The current synchronization status of the Federated member:
|
| The number of Create events waiting to be sent to the target member. |
| The number of Update events waiting to be sent to the target member. |
| The number of Delete events waiting to be sent to the target member. |
| The number of node properties waiting to be sent to the target member. |
| The number of failed events during the sync process. |
| The amount of time the event waits to be processed (in milliseconds). The calculation is current time/query time (eventRegistrationTimeStamp). |
| The time when the event was created. |
| Includes the properties listed below: |
| The number of artifacts that fully exist (binary data & metadata) in the JFrog Platform Deployment [JPD]. |
| The number of artificial artifacts (metadata only) in the JPD. The full binary file does not yet exist. If the user tries to download the artifact, the search will proceed on one of the other members. |