forked from raystack/proton
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add siren provider plugin proto
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
syntax = "proto3"; | ||
|
||
package gotocompany.siren.provider.v1beta1; | ||
|
||
import "siren.proto"; | ||
|
||
message SyncRuntimeConfigRequest { | ||
string namespaceID = 1; | ||
string namespaceURN = 2; | ||
Provider provider = 3; | ||
} | ||
|
||
message SyncRuntimeConfigResponse {} | ||
|
||
message UpsertRuleRequest { | ||
string namespaceURN = 1; | ||
Provider provider = 3; | ||
Rule rule = 4; | ||
Template template = 5; | ||
} | ||
|
||
message UpsertRuleResponse {} | ||
|
||
service Provider { | ||
rpc SyncRuntimeConfig(SyncRuntimeConfigRequest) returns (SyncRuntimeConfigResponse); | ||
rpc UpsertRule(UpsertRuleRequest) returns (UpsertRuleResponse); | ||
} |