Belle II Software  release-05-01-25
SimpleConditionsDB Class Reference
Inheritance diagram for SimpleConditionsDB:
Collaboration diagram for SimpleConditionsDB:

Static Public Attributes

string globaltag_states
 json string with the defined globaltag states More...
 
string example_payload
 json string containing information for one payload More...
 

Detailed Description

Simple ConditionsDB server which handles just the two things needed to
test the interface: get a list of payloads for the current run and download
a payloadfile. It will return different payloads for the experiments to
check for different error conditions

Definition at line 30 of file conditions.py.

Member Data Documentation

◆ example_payload

string example_payload
static
Initial value:
= """[{{
"payload": {{
"baseUrl": "%(baseurl)s",
"payloadId":1,
"checksum":"{checksum}",
"revision":{revision},
"payloadUrl":"dbstore_BeamParameters_rev_{revision}.root",
"basf2Module": {{ "name":"BeamParameters", "basf2Package": {{ "name":"dbstore" }} }}
}}, "payloadIov": {{
"expStart": %(exp)s,
"expEnd": %(exp)s,
"runStart": %(run)s,
"runEnd": %(run)s
}}
}}]"""

json string containing information for one payload

Definition at line 47 of file conditions.py.

◆ globaltag_states

string globaltag_states
static
Initial value:
= """[
{ "name": "OPEN" },
{ "name": "TESTING" },
{ "name": "VALIDATED" },
{ "name": "PUBLISHED" },
{ "name": "RUNNING" },
{ "name": "INVALID" }
]"""

json string with the defined globaltag states

Definition at line 37 of file conditions.py.


The documentation for this class was generated from the following file: