Class GitImportOrchestratorImpl

Object
GitImportOrchestratorImpl
All Implemented Interfaces:
GitImportOrchestrator

@Service public class GitImportOrchestratorImpl extends Object implements GitImportOrchestrator
Orchestrates import of all artifacts from a manifest. Discovers all Spring-managed ArtifactImporter implementations, sorts them by ArtifactImporter.getOrder(), and executes them sequentially. After import, reconciles orphaned keys against the previous tracking state and persists the updated tracking for this repo.
  • Constructor Details

  • Method Details

    • importFromManifest

      public GitImportResult importFromManifest(GitManifest manifest, FileResolver resolver, String user, String repoFullName)
      Description copied from interface: GitImportOrchestrator
      Imports all artifacts declared in the manifest and reconciles orphans against the previous tracking state for this repo.
      Specified by:
      importFromManifest in interface GitImportOrchestrator
      Parameters:
      manifest - the parsed manifest
      resolver - resolves file paths referenced in the manifest
      user - the login of the user performing the import
      repoFullName - the repo identifier (e.g. "owner/repo-name"), used for orphan tracking
      Returns:
      aggregated import result