Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-21740

Change dependencies packaging in exported job from lib to .m2

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Work Item
    • Status: New
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i1edor:
    • 9223372036854775807
    • Small

    Description

      This is to analyze and implement Tacokit requirement to have maven repository (.m2 ) directory in Studio's exported Job.
      There are use-cases, which require to load Tacokit Components dependencies dynamically at runtime.
      Component may require different versions of same dependency (e.g. mysql 5 and mysql 8 for JDBC component depending on user settings).
      Thus, it is convenient to use maven gav to identify and load required dependency.

      This is needed at least for JDBC and JMS generic components.

      New service will be added in Tacokit, which will accept Component Config and return List of dependencies needed for specific configuration:

      List<Artifact> getDependencies(ComponentConfig)
      

      Requirements

      1. Studio should call new Framework service to get list of Tacokit Component dependencies. The resulting list of artifacts should be added to package with maven layout

      Tasks

      1. Need to exclude Tacokit dependencies from java classpath option (from main ClassLoader) as they are loaded dynamically at runtime
      2. Need to provide a proposal about new layout for exported job
      3. Need to find our TUP team about blockers and dependencies about this task

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              igonchar Ivan Gonchar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 1 hour
                  2d 1h