Skip to content

Commit 4b0cd42

Browse files
committed
[core] Pull fresh Bookkeeping protofiles
1 parent d5d479d commit 4b0cd42

3 files changed

Lines changed: 4 additions & 19 deletions

File tree

core/integration/bookkeeping/protos/bkcommon.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,18 @@ message Run {
109109
message LHCFill {
110110
int32 fillNumber = 1;
111111
// Timestamp of the start of the stable beam (if it applies)
112-
optional int64 stableBeamStart = 2;
112+
optional int64 stableBeamsStart = 7;
113113
// Timestamp of the end of the stable beam (if it applies)
114-
optional int64 stableBeamEnd = 3;
114+
optional int64 stableBeamsEnd = 8;
115115
// Duration of the stable beam (if it applies)
116-
optional int64 stableBeamDuration = 4;
116+
optional int64 stableBeamsDuration = 9;
117117
string beamType = 5;
118118
string fillingSchemeName = 6;
119119
}
120120

121121
message User {
122122
// The unique CERN identifier of this user.
123-
int32 externalId = 1;
123+
optional int32 externalId = 1;
124124
// The unique identifier of this entity.
125125
optional int32 id = 2;
126126
// Name of the user.

core/integration/bookkeeping/protos/environment.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ message EnvironmentCreationRequest {
2323

2424
message EnvironmentUpdateRequest {
2525
string id = 1;
26-
optional int64 toredownAt = 2;
2726
optional string status = 3;
2827
optional string statusMessage = 4;
2928
}
@@ -36,8 +35,6 @@ message Environment {
3635
int64 createdAt = 2;
3736
// Unix timestamp when this entity was last updated.
3837
int64 updatedAt = 3;
39-
// Unix timestamp when this entity was tore down.
40-
int64 toredownAt = 4;
4138
// The status of the environment.
4239
string status = 5;
4340
// A message explaining the status or the current state of the environment.

core/integration/bookkeeping/protos/log.proto

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ message Log {
4949
int32 rootLogId = 8;
5050
// Array of minified Run objects.
5151
repeated MinimalRun runs = 9;
52-
repeated Subsystem subsystems = 10;
5352
LogSubtype subtype = 11;
5453
repeated Tag tags = 12;
5554
string text = 14;
@@ -67,7 +66,6 @@ enum LogOrigin {
6766
enum LogSubtype {
6867
LOG_SUBTYPE_NULL = 0;
6968
LOG_SUBTYPE_RUN = 1;
70-
LOG_SUBTYPE_SUBSYSTEM = 2;
7169
LOG_SUBTYPE_ANNOUNCEMENT = 3;
7270
LOG_SUBTYPE_INTERVENTION = 4;
7371
LOG_SUBTYPE_COMMENT = 5;
@@ -78,16 +76,6 @@ message MinimalRun {
7876
int32 id = 2;
7977
}
8078

81-
message Subsystem {
82-
// Unix timestamp when this entity was created.
83-
int64 createdAt = 1;
84-
int32 id = 2;
85-
// The label value of the subsystem.
86-
string name = 3;
87-
// Unix timestamp when this entity was last updated.
88-
int64 updatedAt = 5;
89-
}
90-
9179
message Tag {
9280
// Unix timestamp when this entity was created.
9381
int64 createdAt = 1;

0 commit comments

Comments
 (0)