Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: common/api/logdog_coordinator/services/v1/service.proto

Issue 1910923002: LogDog: Add project namespace to service endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-coordinator-backend
Patch Set: Comments. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: common/api/logdog_coordinator/services/v1/service.proto
diff --git a/common/api/logdog_coordinator/services/v1/service.proto b/common/api/logdog_coordinator/services/v1/service.proto
index d3f804da06ae8ebf5a905a5fe0bbb7d3de61e665..e041a14067260f79f0904beb840115091cbd483c 100644
--- a/common/api/logdog_coordinator/services/v1/service.proto
+++ b/common/api/logdog_coordinator/services/v1/service.proto
@@ -27,15 +27,17 @@ message GetConfigResponse {
// RegisterStreamRequest is the set of caller-supplied data for the
// RegisterStream Coordinator service endpoint.
message RegisterStreamRequest {
+ // The log stream's project.
+ string project = 1;
// The log stream's path.
- string path = 1;
+ string path = 2;
// The log stream's secret.
- bytes secret = 2;
+ bytes secret = 3;
// The protobuf version string for this stream.
- string proto_version = 3;
+ string proto_version = 4;
// The serialized LogStreamDescriptor protobuf for this stream.
- logpb.LogStreamDescriptor desc = 4;
+ logpb.LogStreamDescriptor desc = 5;
}
// The response message for the RegisterStream RPC.
@@ -54,11 +56,13 @@ message RegisterStreamResponse {
// LoadStreamRequest loads the current state of a log stream.
message LoadStreamRequest {
+ // The log stream's project.
+ string project = 1;
// The log stream's path.
- string path = 1;
+ string path = 2;
// If true, include the log stream descriptor.
- bool desc = 2;
+ bool desc = 3;
}
// The response message for the LoadStream RPC.
@@ -81,30 +85,34 @@ message LoadStreamResponse {
// TerminateStreamRequest is the set of caller-supplied data for the
// TerminateStream service endpoint.
message TerminateStreamRequest {
+ // The log stream's project.
+ string project = 1;
// The log stream's path.
- string path = 1;
+ string path = 2;
// The log stream's secret.
- bytes secret = 2;
+ bytes secret = 3;
// The terminal index of the stream.
- int64 terminal_index = 3;
+ int64 terminal_index = 4;
}
// ArchiveStreamRequest is the set of caller-supplied data for the ArchiveStream
// service endpoint.
message ArchiveStreamRequest {
+ // The log stream's project.
+ string project = 1;
// The path of the log stream that was archived.
- string path = 1;
+ string path = 2;
// The number of log entries that were archived.
- int64 log_entry_count = 2;
+ int64 log_entry_count = 3;
// The highest log stream index that was archived.
- int64 terminal_index = 3;
+ int64 terminal_index = 4;
// If not empty, there was an archival error.
//
// This field serves to indicate that an error occured (being non-empty) and
// to supply an value that will show up in the Coordinator ArchiveStream
// endpoint logs.
- string error = 4;
+ string error = 5;
// The archive URL of the log stream's stream data.
string stream_url = 10;
« no previous file with comments | « common/api/logdog_coordinator/services/v1/pb.discovery.go ('k') | common/api/logdog_coordinator/services/v1/service.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698