Skip to content

Commit 7713941

Browse files
Update chip-ingress proto and client with RegisterSchema rpc (#1524)
* chip-ingress add register schema rpc and chip-common proto * update client with registerschema * Regenerate mocks: update client.go for chipingress * pathtype enum refactor --------- Co-authored-by: Patrick <patrick.huie@smartcontract.com>
1 parent 8fa1bdd commit 7713941

7 files changed

Lines changed: 964 additions & 82 deletions

File tree

pkg/chipingress/client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ func (c *client) StreamEvents(_ context.Context, _ ...grpc.CallOption) (grpc.Bid
106106
return nil, fmt.Errorf("not implemented: StreamEvents is experimental and not supported yet")
107107
}
108108

109+
func (c *client) RegisterSchema(ctx context.Context, in *pb.RegisterSchemaRequest, opts ...grpc.CallOption) (*pb.RegisterSchemaResponse, error) {
110+
return c.client.RegisterSchema(ctx, in, opts...)
111+
}
112+
109113
func (c *client) Close() error {
110114
return c.conn.Close()
111115
}

pkg/chipingress/mocks/client.go

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)