feat(workers): worker operational state (#2427)

* feat(workers): worker operational state
This commit is contained in:
Irena Rindos authored and GitHub committed 2022-09-12 16:10:03 -04:00
1 parent f3f0c55d91
commit fc0ead73e6
17 files changed
+696 -166

No files matched your search

@@ -32,4 +32,7 @@ message ServerWorkerStatus {
// The version of Boundary the worker binary is running
string release_version = 60 [json_name = "release_version"]; // @gotags: `class:"public"`
// The state of the worker, to indicate if the worker is active or in shutdown.
string operational_state = 70; // @gotags: `class:"public"`
}
@@ -58,6 +58,10 @@ message Worker {
// The version of Boundary the worker binary is running
// @inject_tag: `gorm:"default:null"`
string release_version = 140;
// The state of the worker, to indicate if the worker is active or in shutdown.
// @inject_tag: `gorm:"not_null"`
string operational_state = 150;
}
// WorkerTag is a tag for a worker. The primary key is comprised of the