Project

General

Profile

Actions

Bug #3038

closed

Clean up recommended/default port numbers for API server and Workbench

Added by Tom Clegg almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Story points:
1.0

Description

Currently there are various conflicting conventions in use.

  • Default apiserver port number in run_test_server.py is 3001.
  • Default apiserver port number to connect to in workbench default config is 3001.
  • Apiserver port number to connect to in workbench example config file is 3000.
  • Default workbench address to redirect to in apiserver default config is workbench.local:3001 -- but that's where API server itself wants to run!

Proposed improvement:

  • Hacking Workbench page currently suggests running Workbench in dev mode on port 3031.
  • Hacking API server page currently suggests running API server in dev mode on port 3030.
  • Let's choose port 3001 for "Workbench in test mode".
  • Let's choose port 3000 for "API server in test mode".
  • Update run_test_server.py and various other bits to reflect this 3000/3001 convention.
  • */*/config/application.default.yml should use localhost:3000 / localhost:3001 in the "test" section.
  • */*/config/application.yml.example should have encouraging comments in the "dev" and "production" section. Perhaps the "dev" section can use localhost:3030 / localhost:3031 (uncommented) as appropriate.
  • None of the yaml files should have any of these settings in the "common" section.

Subtasks 4 (0 open4 closed)

Task #3958: Update all the port numbers as specifiedResolvedRadhika Chippada09/23/2014Actions
Task #3959: Review branch: 3038-default-port-numbersResolvedRadhika Chippada09/23/2014Actions
Task #3995: Review 3991-docker-workbench-addressResolvedWard Vandewege09/23/2014Actions
Task #3991: Update docker scripts to set workbench_address, reset it to nil in default configResolvedTom Clegg09/23/2014Actions
Actions

Also available in: Atom PDF