Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2858

Add dynamic classpath support for modules

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.2 M1
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Story Points:
      5
    • Rank (Obsolete):
      9223372036854775807
    • Sprint:
      Sprint 46

      Description

      As a developer, I'd like to add support for dynamic classpath for modules, so we can have the flexibility to load the right dependencies either based on module options (0) or via other properties such as including the dependencies from a specific location (1).

      (0):

      /lib/*.jar:lib/${distro}/*.jar
      

      (1):

      ${xd.home}/lib/hadoop/${distro}/*.jar
      

      Example:

      http | hdfs --distro=PHD22
      
      http | myCustomModule --classpath=/my/funky/dir
      
      http | jpa --provider=eclipse
      
      jpa:
      /config/
      /lib/something-that-is-common.jar
          /eclipse/eclipse-link-3.2.jar
          /hibernate/hibernate-core-5.0.jar
      
      module.classpath = /lib/*.jar:/lib/${provider}/*.jar
      

        Attachments

          Activity

            People

            Assignee:
            eric.bottard Eric Bottard
            Reporter:
            sabby Sabby Anandan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: