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

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

XMLWordPrintable

    • Critical
    • CLI: Service Autodiscovery gets a new option to run also on disabled plugins.

      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-change" so that the service can be added, but the plugin config is not changed (not disabled if service not reachable and not enabled if reachable)

      additional todo

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

       

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

              Created:
              Updated:
              Resolved: