Project

General

Profile

Actions

action #52685

closed

Support customizing port numbers

Added by mkittler almost 5 years ago. Updated almost 5 years ago.

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

0%

Estimated time:

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.

Actions #1

Updated by okurz almost 5 years ago

  • Category set to Feature requests
Actions #2

Updated by kraih almost 5 years 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.

Actions #3

Updated by kraih almost 5 years ago

  • Assignee set to kraih
  • Target version set to Current Sprint
Actions #4

Updated by kraih almost 5 years ago

  • Status changed from New to In Progress
Actions #5

Updated by mkittler almost 5 years ago

  • Status changed from In Progress to Resolved

The PR has been merged.

Actions

Also available in: Atom PDF