Interface GitSyncService

All Known Implementing Classes:
GitSyncServiceImpl

public interface GitSyncService
Orchestrates sync cycles: pull from Git, parse manifest, import artifacts. Triggered either by a webhook (push) or a Quartz poll job.
  • Method Details

    • sync

      Syncs all enabled repositories.
      Returns:
      aggregated import result, or null if nothing to sync
    • syncRepo

      GitImportResult syncRepo(String repoFullName)
      Syncs a specific repository (e.g. triggered by a webhook).
      Parameters:
      repoFullName - the full name of the repo (owner/name)
      Returns:
      the import result, or null if not found or up-to-date
    • syncRepoForce

      GitImportResult syncRepoForce(String repoFullName)
      Syncs a specific repository, re-importing even if the commit hasn't changed.
      Parameters:
      repoFullName - the full name of the repo (owner/name)
      Returns:
      the import result, or null if not found