Opened 8 years ago

Closed 5 years ago

#1166 closed defect (fixed)

concentrating default values

Reported by: Peter Baumann Owned by: Dimitar Misev
Priority: minor Milestone: Future
Component: build system Version: development
Keywords: Cc: Alex Dumitru, Vlad Merticariu
Complexity: Medium

Description

default values, such as the rasmgr port 7001, should be defined in one central place (maybe in the configuration file?). Currently, some constants are hardwired in code and tests making it hard to impossible to use non-defaults.

Change History (2)

comment:1 by Dimitar Misev, 7 years ago

Cc: Alex Dumitru Vlad Merticariu added

I'd really like to see these default values as options of rasmgr.conf for example. Furthermore, directory locations like etc/rasmgr.conf should similarly be configurable at runtime and not fixed at compile time.

comment:2 by Dimitar Misev, 5 years ago

Resolution: fixed
Status: newclosed

I fixed code to use constants from include/globals.hh instead of ad-hoc values like 7001.

Also start_rasdaman.sh and stop_rasdaman.sh have a -p/—port option which allows to specify the rasmgr port if the default 7001 is not good. All other tools similarly allow to customize the default values if needed.

Note: See TracTickets for help on using tickets.