Skip to content

Commit

Permalink
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
Browse files Browse the repository at this point in the history
mabdh committed Sep 8, 2023
1 parent 8300157 commit 43a7695
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions gotocompany/siren/v1beta1/provider.proto
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);
}

0 comments on commit 43a7695

Please sign in to comment.