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

Exclude Tacokit components dependencies from JVM classpath option for generated job

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

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

    Description

      Now Tacokit component dependencies are included in classpath option of JVM.
      However, Tacokit component dependencies are loaded dynamically by custom classloader during runtime and should not be present in classpath option.

      Component dependencies are retrieved from IComponent.getModulesNeeded() method. The result is used for both: to compute classpath and package dependencies in Job assembly.
      This should be splitted.

      I suggest to add IComponent.getClasspath() method which will be used to compute classpath only.
      (Alternatively, we may add separate interface with getClasspath() method)
      Please, refer to my POC:
      https://github.com/Talend/tdi-studio-se/compare/igonchar/TUP-21740_poc?expand=1
      https://github.com/Talend/tcommon-studio-se/compare/igonchar/TUP-21740_poc?expand=1

      Some details may be found in https://jira.talendforge.org/browse/TUP-21740

      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: