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

CLI service:autodiscovery should work also for disabled plugins in cloud installer

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • None
    • None
    • Translate5 CLI
    • Critical
    • CLI: Service Autodiscovery gets a new option to run also on disabled plugins.

    Description

      problem

      The t5 service:autodiscovery is used to configure the used services automatically where possible.

      This is also done in our hosting environment when installing new instances.

      But: The installer calls the autodiscovery also on plugins which are disabled for a new instance, for example VisualReview.

      But: the autodiscovery does not configure the service since the plugin is disabled, or when using the switch "--all-available" it would discover all services of all plugins AND it would also enable the plug-in what is also not desired.

      Without --all-available the service is not configured, because the plugin is disabled:

      With --all-available the service is configured AND the plug-in would be activated, what we don't want.

      solution

      We need a new option "no-plugin-activation" so that the service can be added, but the plugin config is not changed.

      additional todo

      Fix all usages of service:discovery in Repo mittagqi/hosting-scripts code so that the new option is used.

       

      Attachments

        Activity

          People

            Stephan Stephan Bergmann
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: