Uploaded image for project: 'Content Translation Support'
  1. Content Translation Support
  2. MGNLCTS-23

Make dependency on STK optional

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.3
    • 1.1
    • None

      The module should not require STK to be installed. However, if STK is installed it should support its dialogs by automatically switching to the STK capable NodeDataToTranslateFinder implementation.

      • The maven dependency needs to be scoped as provided.
      • The module descriptor dependency needs to be flagged optional.
      • We should not bootstrap in the STK NodeDataToTranslateFinder by default at installation.

      We should provide an implementation of NodeDataToTranslateFinder that uses reflection (via ComponentProvider.newInstance) to instantiate and delegate to the right implementation automatically based on which modules are installed. Should the user install STK or uninstall it the class will automatically switch implementation. Users won't need to fix the class name in config themselves. The class should be called AdaptiveNodeDataToTranslateFinder. This mechanism will be used to solve MGNLCTS-63.

        Acceptance criteria

              peili.liang Peili Liang
              mdivilek Milan Divilek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD