Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3340

add optional autodiscovery call to plugin:enable

    XMLWordPrintable

Details

    • Critical
    • Add an optional parameter to execute service autodiscovery on t5 plugin:enable call.

    Description

      problem

      In our Hosting we have a Hosting package containing all Plugins. Having / or not having track-changes / VisualReview is just controlled by enabling the plug-in.

      Current autodiscovery is used for setting up a new instances configuration - but since plug-ins are enabled by default if a service is disovered, that would enable also the by purpose disabled plug-ins.

      solution

      Instead of calling autodiscovery on all services, only the general available, plugin-less services should be called with plain autodiscovery.

      For all others: plugin:enable is called anyway for the plugins to be used. In that command an optional parameter should be added, so that all services of that plugins are checked and enabled.

      The parameter should consume an optional domain, used as domain prefix for the services.
      Example:
      t5 plugin:enable visualreview --auto-discovery|-a [URL]
      if no URL given, would search for
      pdfconverter.
      and
      visualconverter.
      if ULR given, would search for:
      pdfconverter.URL and visualconverter.URL

      Attachments

        Issue Links

          Activity

            People

              axelbecher Axel Becher
              tlauria Thomas Lauria
              Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: