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
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
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,32 @@ | ||
syntax = "proto3"; | ||
|
||
package gotocompany.siren.provider.v1beta1; | ||
|
||
import "gotocompany/siren/v1beta1/siren.proto"; | ||
|
||
option go_package = "github.com/goto/proton/gotocompany/siren/provider/v1beta1;sirenproviderv1beta1"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "ServiceManager"; | ||
option java_package = "com.gotocompany.proton.siren.provider"; | ||
|
||
message SyncRuntimeConfigRequest { | ||
string namespaceID = 1; | ||
string namespaceURN = 2; | ||
gotocompany.siren.v1beta1.Provider provider = 3; | ||
} | ||
|
||
message SyncRuntimeConfigResponse {} | ||
|
||
message UpsertRuleRequest { | ||
string namespaceURN = 1; | ||
gotocompany.siren.v1beta1.Provider provider = 3; | ||
gotocompany.siren.v1beta1.Rule rule = 4; | ||
gotocompany.siren.v1beta1.Template template = 5; | ||
} | ||
|
||
message UpsertRuleResponse {} | ||
|
||
service ProviderService { | ||
rpc SyncRuntimeConfig(SyncRuntimeConfigRequest) returns (SyncRuntimeConfigResponse); | ||
rpc UpsertRule(UpsertRuleRequest) returns (UpsertRuleResponse); | ||
} |
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