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

Rename config runtimeOptions.worker.server

XMLWordPrintable

    • High
    • Hide
      The config name runtimeOptions.worker.server is misleading since its used in general for internal connections not only for workers. So its renamed to
      runtimeOptions.server.internalURL.
      Show
      The config name runtimeOptions.worker.server is misleading since its used in general for internal connections not only for workers. So its renamed to runtimeOptions.server.internalURL.

      problem

      The configuration name runtimeOptions.worker.server is misleading since its not used for workers anymore since they are started by default as direct processes not via HTTP.

      But the config is still in use for all internal connections to the server where needed (since behind a proxy). 

      Therefore the configuration must be changed. 

      Solution

      Rename the configuration name to 
       runtimeOptions.server.internalURL
       

      Do that also in the instance:create script of our hosting tools and properly in the sh scripts of the testsuite - if needed. Perhaps autodiscovery is used there to set the value, then all is changed automatically. 

      Check also confluence for occurences of the config.

      Search for runtimeOptions.worker.server in the code, and replace it in ALL files, also the already delivered SQL files and DbInit.sql. 

      Same for all occurences of "worker->server". 

       

       

            volodymyr@mittagqi.com Volodymyr Kyianenko
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: