Project

General

Profile

action #52685

Support customizing port numbers

Added by mkittler 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2019-06-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
easy
Duration:

Description

Setting up multiple web UI instances on the same host can be useful for development, e.g. for implementing the round robin worker. Actually one can right now start multiple web UIs quite easily by adjusting the environment variables MOJO_LISTEN and OPENQA_CONFIG. The only problem is that openQA's internal clients for IPC via HTTP would still use the default port numbers. So this last detail should be fixed. I propose allowing to set an environment variable OPENQA_BASE_PORT which defines the base port used by the main web UI. Additional services would use a fix offset added to that port.

If this kind of setup is also desired for non-development purposes we can also consider adding a base_port field to the config file.

History

#1 Updated by okurz 12 months ago

  • Category set to Feature requests

#2 Updated by kraih 12 months ago

This is a good idea. We also have some fullstack tests that set port numbers manually, that could probably be simplified with a base port setting.

#3 Updated by kraih 12 months ago

  • Assignee set to kraih
  • Target version set to Current Sprint

#4 Updated by kraih 12 months ago

  • Status changed from New to In Progress

#5 Updated by mkittler 11 months ago

  • Status changed from In Progress to Resolved

The PR has been merged.

Also available in: Atom PDF