You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stringname=1; // task name, based on the name of the task class
79
+
stringtaskid=2; // task id, unique
80
+
stringstate=3; // state machine state for this task
81
+
stringstatus=4; // posible values: ACTIVE/INACTIVE/PARTIAL/UNDEFINED/UNDEPLOYABLE as defined in status.go.
82
+
stringhostname=5;
83
+
stringclassName=6; // name of the task class from which this task was spawned
84
+
Traitstraits=7;
85
+
stringenvironmentId=8;
86
+
stringpath=9; // path to the parent taskRole of this task within the environment
87
+
}
88
+
89
+
messageEv_CallEvent {
90
+
stringfunc=1; // name of the function being called, within the workflow template context
91
+
OpStatuscallStatus=2; // progress or success/failure state of the call
92
+
stringreturn=3; // return value of the function
93
+
Traitstraits=4;
94
+
stringoutput=5; // any additional output of the function
95
+
stringerror=6; // error value, if returned
96
+
stringenvironmentId=7;
97
+
stringpath=8; // path to the parent callRole of this call within the environment
98
+
}
99
+
100
+
messageEv_RoleEvent {
101
+
stringname=1; // role name
102
+
stringstatus=2; // posible values: ACTIVE/INACTIVE/PARTIAL/UNDEFINED/UNDEPLOYABLE as defined in status.go. Derived from the state of child tasks, calls or other roles
103
+
stringstate=3; // state machine state for this role
104
+
stringrolePath=4; // path to this role within the environment
105
+
stringenvironmentId=5;
106
+
}
107
+
108
+
messageEv_IntegratedServiceEvent {
109
+
stringname=1; // name of the context, usually the path of the callRole that calls a given integrated service function e.g. readout-dataflow.dd-scheduler.terminate
110
+
stringerror=2; // error message, if any
111
+
stringoperationName=3; // name of the operation, usually the name of the integrated service function being called e.g. ddsched.PartitionTerminate()"
112
+
OpStatusoperationStatus=4; // progress or success/failure state of the operation
113
+
stringoperationStep=5; // if the operation has substeps, this is the name of the current substep, like an API call or polling phase
114
+
OpStatusoperationStepStatus=6; // progress or success/failure state of the current substep
115
+
stringenvironmentId=7;
116
+
stringpayload=8; // any additional payload, depending on the integrated service; there is no schema, it can even be the raw return structure of a remote API call
117
+
}
118
+
119
+
messageEv_RunEvent {
120
+
stringenvironmentId=1;
121
+
uint32runNumber=2;
122
+
stringstate=3;
123
+
stringerror=4;
124
+
stringtransition=5;
125
+
OpStatustransitionStatus=6;
126
+
reserved7; // 7 was used for `vars` field that was removed
127
+
common.UserlastRequestUser=8;
128
+
}
129
+
130
+
/**
131
+
* Beam mode changes are propagated as Kafka events and to be sent by the BKP-LHC-Client on a dedicated topic
132
+
* e.g. dip.lhc.beam_mode
133
+
*/
134
+
messageEv_BeamModeEvent {
135
+
int64timestamp=1; // milliseconds since epoch when the beam mode change happened
boolpublic=4; // whether the environment is public or not
48
+
}
49
+
50
+
/**
51
+
* Beam information at a specific point in time (e.g. start or end of stable beams)
52
+
*/
53
+
messageBeamInfo {
54
+
int64stableBeamsStart=1; // milliseconds since epoch when stable beams started
55
+
int64stableBeamsEnd=2; // milliseconds since epoch when stable beams ended
56
+
int32fillNumber=3; // LHC fill number
57
+
stringfillingSchemeName=4; // LHC filling scheme name e.g. 25ns_2460b_2448_2089_2227_144bpi_20inj
58
+
floatbeam1Energy=5; // in GeV
59
+
floatbeam2Energy=6; // in GeV
60
+
stringbeamType=7; // e.g. PROTON-PROTON, O8-O8, Pb-Pb, p-Pb, Pb-p
61
+
BeamModebeamMode=8;
62
+
}
63
+
64
+
/**
65
+
* Beam modes as defined and sent by LHC DIP client plus:
66
+
* * virtual type LOST_BEAMS - that is generated when beam 1 and beam 2 energy values are not equal anymore as per LHC DIP track: dip/acc/LHC/RunControl/SafeBeam
67
+
* * virtual type UNKNOWN - that is generated when there is no beam in the machine or value not added by the BKP-LHC Client
68
+
* Source of Beam Modes: https://lhc-commissioning.web.cern.ch/systems/data-exchange/doc/LHC-OP-ES-0005-10-00.pdf
0 commit comments