Class IntegrationProjectDownloadManager

java.lang.Object
org.eclipse.lemminx.customservice.synapse.parser.IntegrationProjectDownloadManager

public class IntegrationProjectDownloadManager extends Object
Manages the downloading and extraction of integration project dependencies.

This class handles the recursive fetching of dependencies for integration projects, including downloading .car files, parsing their descriptor.xml files for additional dependencies, and managing the local storage of these files.

  • Constructor Details

    • IntegrationProjectDownloadManager

      public IntegrationProjectDownloadManager()
  • Method Details

    • downloadDependencies

      public static List<String> downloadDependencies(String projectPath, List<DependencyDetails> dependencies)
      Handles the downloading and extraction of integration project dependencies.

      For each provided dependency, this method attempts to fetch the corresponding .car file, recursively resolves and downloads any additional dependencies specified in their descriptor.xml files, and manages local storage of these files.

      Parameters:
      projectPath - the file system path of the integration project
      dependencies - the list of initial dependencies to process
      Returns:
      a list of dependency identifiers that failed to download or process