Ticket #155 (closed enhancement: done)

Opened 7 years ago

Last modified 7 years ago

elapsed time filename needs to be configurable

Reported by: jdalbey Owned by: jdalbey
Priority: Urgent Milestone: May 2019 Training
Component: Simulation Manager Version:
Severity: Major Keywords:
Cc:

Description

Currently the name of the file to which the Simulation Mgr write the simulation time is hardcoded in Coordinator.java as webapps/dynamicdata/sim_elapsedtime.json. This works fine when a local webserver is run from the same machine where the Sim Mgr runs. But if we want to run a webserver on a different machine, Sim Mgr has to write to a shared drive. So we need to change the file name in a config file.

We could have the Coordinator read a properties file itself, but since it only needs this one value, we'll add it to the CAD Server properties and have CAD Server read it and pass it to the Coordinator's constructor.

Change History

comment:1 Changed 7 years ago by jdalbey

  • Owner set to jdalbey
  • Status changed from new to accepted

comment:2 Changed 7 years ago by jdalbey

  • Status changed from accepted to closed
  • Resolution set to done

Fixed in r408.

cad_simulator_config.properties file now contains this property:
ElapsedTimeFile = webapps/dynamicdata/sim_elapsedtime.json

That can be modified if the need arises to write elapsed time to a different location.

Note: See TracTickets for help on using tickets.