feat(eda): name and delete capture sources; an armed binding blocks the delete

This commit is contained in:
sam committed 2026-10-05 21:05:58 +11:00
1 parent 738044a949
commit d295fa2680
22 files changed
+1103 -592

No files matched your search

+10
View File
@@ -190,6 +190,8 @@ service StateStoreService {
rpc ListSources(ListSourcesRequest) returns (ListSourcesResponse);
rpc SetSourceSigning(SetSourceSigningRequest) returns (SetSourceSigningResponse);
rpc SetSourceSecret(SetSourceSecretRequest) returns (SetSourceSecretResponse);
rpc SetSourceName(SetSourceNameRequest) returns (SetSourceNameResponse);
rpc DeleteSource(DeleteSourceRequest) returns (DeleteSourceResponse);
// Dispatch
rpc ArmedBindingsForSource(ArmedBindingsForSourceRequest) returns (ArmedBindingsForSourceResponse);
@@ -557,6 +559,7 @@ message Source {
string secret = 3;
google.protobuf.Timestamp created_at = 4;
google.protobuf.Timestamp updated_at = 5;
string name = 6;
}
// WorkflowStat mirrors storecontract.WorkflowStat.
@@ -1119,6 +1122,13 @@ message DeleteBindingResponse {}
message ApproveBindingRequest { string id = 1; }
message ApproveBindingResponse {}
message SetSourceNameRequest {
string path = 1;
string name = 2;
}
message SetSourceNameResponse {}
message DeleteSourceRequest { string path = 1; }
message DeleteSourceResponse {}
message PauseBindingRequest { string id = 1; }
message PauseBindingResponse {}
message ResumeBindingRequest { string id = 1; }