Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RevlinkWarmup to ManagementService #205

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ service ManagementService {
// control the associated private key also in order to connect to NATS as
// the token is not enough on its own
rpc CreateToken(CreateTokenRequest) returns (CreateTokenResponse);

// Ensure that all reverse links are populated. This does internal debouncing
// so the actual logic does only run when required.
rpc RevlinkWarmup(RevlinkWarmupRequest) returns (stream RevlinkWarmupResponse);
}

enum SourceStatus {
Expand Down Expand Up @@ -288,3 +292,11 @@ message CreateTokenResponse {
// The JWT as a raw string
string token = 1;
}

message RevlinkWarmupRequest {}

message RevlinkWarmupResponse {
string status = 1;
int32 items = 2;
int32 edges = 3;
}
Loading