Revert "chore: use storm for indexing on top boltdb"

This reverts commit 90e7b0c593.
This commit is contained in:
Gareth George
2023-11-22 17:59:33 -08:00
parent 90e7b0c593
commit 5ffbbdd957
19 changed files with 732 additions and 493 deletions
+1 -1
View File
@@ -16,4 +16,4 @@ plugins:
- plugin: grpc-gateway-ts
out: ../webui/gen/ts
opt:
- paths=source_relative
- paths=source_relative
-1
View File
@@ -1,3 +1,2 @@
#! /bin/bash
buf generate
find ../gen/go -name "*.pb.go" -exec protoc-go-inject-tag -input="{}" \;
+2 -11
View File
@@ -11,20 +11,11 @@ message OperationList {
}
message Operation {
// @gotags: `storm:"id,increment"`
int64 id = 1;
// repo id if associated with a repo (always true)
// @gotags: `storm:"index"`
string repo_id = 2;
// plan id if associated with a plan (always true)
// @gotags: `storm:"index"`
string plan_id = 3;
// normalized snapshot id (first 8 chars) if associated with a snapshot
// @gotags: `storm:"index"`
string snapshot_id = 8;
string repo_id = 2; // repo id if associated with a repo (always true)
string plan_id = 3; // plan id if associated with a plan (always true)
OperationStatus status = 4;
int64 unix_time_start_ms = 5;
// operation ended time in unix ms
int64 unix_time_end_ms = 6;
string display_message = 7; // human readable context message (if any)