Class GitOpsStatus
java.lang.Object
io.apicurio.registry.rest.v3.beans.GitOpsStatus
Root Type for GitOpsStatus
Describes the current synchronization status of the GitOps storage backend. This includes the current sync state, the Git commit marker, load statistics, and any errors from the last sync attempt.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNumber of artifacts loaded in the last successful sync.Errors from the last failed load attempt.Number of groups loaded in the last successful sync.ISO 8601 timestamp of the last successful synchronization.ISO 8601 timestamp of the last synchronization attempt (successful or not).Per-source identifiers.The current synchronization state of the GitOps storage.Number of artifact versions loaded in the last successful sync.voidsetArtifactCount(Integer artifactCount) Number of artifacts loaded in the last successful sync.voidsetErrors(List<GitOpsError> errors) Errors from the last failed load attempt.voidsetGroupCount(Integer groupCount) Number of groups loaded in the last successful sync.voidsetLastSuccessfulSync(Date lastSuccessfulSync) ISO 8601 timestamp of the last successful synchronization.voidsetLastSyncAttempt(Date lastSyncAttempt) ISO 8601 timestamp of the last synchronization attempt (successful or not).voidsetSources(Sources sources) Per-source identifiers.voidsetSyncState(String syncState) The current synchronization state of the GitOps storage.voidsetVersionCount(Integer versionCount) Number of artifact versions loaded in the last successful sync.
-
Constructor Details
-
GitOpsStatus
public GitOpsStatus()
-
-
Method Details
-
getSyncState
The current synchronization state of the GitOps storage. Possible values: INITIALIZING (first load not yet completed), IDLE (serving latest data), LOADING (sync in progress), SWITCHING (data loaded, waiting for write lock to publish), ERROR (last sync or switch failed, serving previous data). -
setSyncState
The current synchronization state of the GitOps storage. Possible values: INITIALIZING (first load not yet completed), IDLE (serving latest data), LOADING (sync in progress), SWITCHING (data loaded, waiting for write lock to publish), ERROR (last sync or switch failed, serving previous data). -
getLastSuccessfulSync
ISO 8601 timestamp of the last successful synchronization. -
setLastSuccessfulSync
ISO 8601 timestamp of the last successful synchronization. -
getLastSyncAttempt
ISO 8601 timestamp of the last synchronization attempt (successful or not). -
setLastSyncAttempt
ISO 8601 timestamp of the last synchronization attempt (successful or not). -
getGroupCount
Number of groups loaded in the last successful sync. -
setGroupCount
Number of groups loaded in the last successful sync. -
getArtifactCount
Number of artifacts loaded in the last successful sync. -
setArtifactCount
Number of artifacts loaded in the last successful sync. -
getVersionCount
Number of artifact versions loaded in the last successful sync. -
setVersionCount
Number of artifact versions loaded in the last successful sync. -
getErrors
Errors from the last failed load attempt. Empty if the last load was successful. -
setErrors
Errors from the last failed load attempt. Empty if the last load was successful. -
getSources
Per-source identifiers. Maps source ID (e.g., repository ID, Kubernetes server/namespace) to its current marker (e.g., abbreviated commit SHA, resource version). -
setSources
Per-source identifiers. Maps source ID (e.g., repository ID, Kubernetes server/namespace) to its current marker (e.g., abbreviated commit SHA, resource version).
-