Schema Changes
Release Patch Area
Add attribute PatchArea to
SW_Repository class. Use this attribute to specify location of release
patch area. If patch area attribute is non-empty, it's value is taking
into account for calculation of:
- the PATH and the LD_LIBRARY_PATH process environment variables of
sw objects using it;
- the possible binary file names (i.e. if exists, binary will be
taken from the patch area).
See also https://savannah.cern.ch/bugs/?64910.
Application Exit Timeout
Add attribute ExitTimeout to
BaseApplication class. It defines the number of seconds to wait for the
application to exit before sending it a SIGKILL. By default the timeout
is 5 seconds. Increase it (maximum up to 60 seconds), if the
application needs more time to exist cleanly.
See also https://savannah.cern.ch/bugs/?57590.
Conversion between application and node id
Remove obsolete reset parameter from 2 methods of Partition class. The
new methods are:
- std::string get_app_id(unsigned
short
nodeId) const throw
(daq::core::AlgorithmError)
- unsigned short get_node_id(const
std::string&
appID) const
throw (daq::core::AlgorithmError)
The reset of static conversion map is done automatically of a database
action ([re]load, close, update).
See also https://savannah.cern.ch/patch/?4002.
VariableSet contains parameters
Replace Variable by Parameter class in Contains relationship of VariableSet class to fix
problem with netsed sets (patched in tdaq-02-00-03).
Add Coral as DB connection type
Extend range of Type
attribute of the DBConnection class. The enumeration range includes
"Coral" (patched in tdaq-02-00-03).
Platforms Compatibility
Add new class PlatformCompatibility
to describe compatibilities between platforms. The class is derived
from Platform class and has 0
to many relationship CompatibleWith
pointing to self. If one takes tdaq-02-00-03 as an example, the
following compatibility rules can be defined using 3 objects of this
class:
- x86_64-slc5 is CompatibleWith i686-slc5 and i686-slc4
- i686-slc5 is CompatibleWith i686-slc4
If computer runs 64 bits SLC5 (i.e. it's platform is described in OKS
as x86_64-slc5), above
allows to run on it applications with any tags starting from x86_64-slc5, i686-slc5 and i686-slc4. If computer runs 32
bits SLC5 (i.e. it's platform is described in OKS as i686-slc5), above allows
applications with any tags starting from i686-slc5 and i686-slc4.
To be uniquely defined in scope of the partition, the objects of this
class have to be linked OnlineSegment
object via new zero to many CompatibilityInfo
relationship.
Utilities Changes
- avoid duplications of tag mappings in
dal_create_sw_repository (patched in tdaq-02-00-03)
- dal_print_hosts allows to print host for an
application (patched in tdaq-02-00-03)