To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit e07bff7a authored by Go Protoc Bot's avatar Go Protoc Bot
Browse files

update

parent 04a6c06b
......@@ -5,7 +5,7 @@ go 1.16
require (
github.com/golang/protobuf v1.5.2
github.com/mwitkow/go-proto-validators v0.3.2
google.golang.org/genproto v0.0.0-20211020151524-b7c3a969101a
google.golang.org/genproto v0.0.0-20211021150943-2b146023228c
google.golang.org/grpc v1.41.0
google.golang.org/protobuf v1.27.1
)
......@@ -109,8 +109,8 @@ google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoA
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto v0.0.0-20211020151524-b7c3a969101a h1:8maMHMQp9NroHXhc3HelFX9Ay2lWlXLcdH5mw5Biz0s=
google.golang.org/genproto v0.0.0-20211020151524-b7c3a969101a/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211021150943-2b146023228c h1:FqrtZMB5Wr+/RecOM3uPJNPfWR8Upb5hAPnt7PU6i4k=
google.golang.org/genproto v0.0.0-20211021150943-2b146023228c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
......
......@@ -2244,11 +2244,11 @@ var file_sip_accounting_accounting_proto_rawDesc = []byte{
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x74,
0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x18, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x76, 0x73, 0x65, 0x74, 0x68,
0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x74,
0x79, 0x70, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x15, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x62, 0x61,
0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f,
0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0xb7, 0x02, 0x0a, 0x08, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a,
0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
......@@ -2563,7 +2563,7 @@ var file_sip_accounting_accounting_proto_rawDesc = []byte{
0x12, 0x38, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x69, 0x70, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x69, 0x6e, 0x67, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x32, 0xc8, 0x07, 0x0a, 0x0a, 0x41,
0x52, 0x08, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x32, 0xc0, 0x07, 0x0a, 0x0a, 0x41,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x5c, 0x0a, 0x0d, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x2e, 0x73, 0x69, 0x70,
0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x72, 0x65, 0x61,
......@@ -2618,19 +2618,19 @@ var file_sip_accounting_accounting_proto_rawDesc = []byte{
0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x53, 0x75, 0x70, 0x70, 0x6c,
0x69, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x59, 0x0a, 0x0f, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x72, 0x6d, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x2e, 0x2e,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x51, 0x0a, 0x0f, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x72, 0x6d, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x26, 0x2e,
0x73, 0x69, 0x70, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43,
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x49, 0x6e,
0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x5e, 0x0a, 0x11, 0x63, 0x68, 0x2e, 0x73, 0x69, 0x70, 0x2e,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69,
0x74, 0x6c, 0x61, 0x62, 0x2e, 0x65, 0x74, 0x68, 0x7a, 0x2e, 0x63, 0x68, 0x2f, 0x76, 0x73, 0x65,
0x74, 0x68, 0x2f, 0x30, 0x34, 0x30, 0x33, 0x2d, 0x69, 0x73, 0x67, 0x2f, 0x6c, 0x69, 0x62, 0x72,
0x61, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x74, 0x75, 0x62, 0x2d,
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x73, 0x69, 0x70, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x5e, 0x0a,
0x11, 0x63, 0x68, 0x2e, 0x73, 0x69, 0x70, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69,
0x6e, 0x67, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x65, 0x74, 0x68,
0x7a, 0x2e, 0x63, 0x68, 0x2f, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x30, 0x34, 0x30, 0x33, 0x2d,
0x69, 0x73, 0x67, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x73, 0x74, 0x75, 0x62, 0x2d, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x73,
0x69, 0x70, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
......@@ -2738,7 +2738,7 @@ var file_sip_accounting_accounting_proto_depIdxs = []int32{
26, // 47: sip.accounting.Accounting.CreateSupplierInvoice:input_type -> sip.accounting.CreateSupplierInvoiceRequest
24, // 48: sip.accounting.Accounting.ListSupplierInvoices:input_type -> sip.accounting.ListSupplierInvoicesRequest
28, // 49: sip.accounting.Accounting.ConfirmSupplierInvoices:input_type -> sip.accounting.ConfirmSupplierInvoicesRequest
28, // 50: sip.accounting.Accounting.ConfirmBookings:input_type -> sip.accounting.ConfirmSupplierInvoicesRequest
29, // 50: sip.accounting.Accounting.ConfirmBookings:input_type -> sip.accounting.ConfirmBookingsRequest
6, // 51: sip.accounting.Accounting.CreateBooking:output_type -> sip.accounting.CreateBookingResponse
9, // 52: sip.accounting.Accounting.ListAccounts:output_type -> sip.accounting.ListAccountsResponse
12, // 53: sip.accounting.Accounting.ListCenters:output_type -> sip.accounting.ListCentersResponse
......
......@@ -48,7 +48,7 @@ type AccountingClient interface {
// ConfirmSupplierInvoices allow confirmation of manual booking of supplier invoices
ConfirmSupplierInvoices(ctx context.Context, in *ConfirmSupplierInvoicesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// ConfirmBookings allow confirmation of manual bookings
ConfirmBookings(ctx context.Context, in *ConfirmSupplierInvoicesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
ConfirmBookings(ctx context.Context, in *ConfirmBookingsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
type accountingClient struct {
......@@ -140,7 +140,7 @@ func (c *accountingClient) ConfirmSupplierInvoices(ctx context.Context, in *Conf
return out, nil
}
func (c *accountingClient) ConfirmBookings(ctx context.Context, in *ConfirmSupplierInvoicesRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
func (c *accountingClient) ConfirmBookings(ctx context.Context, in *ConfirmBookingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/sip.accounting.Accounting/ConfirmBookings", in, out, opts...)
if err != nil {
......@@ -182,7 +182,7 @@ type AccountingServer interface {
// ConfirmSupplierInvoices allow confirmation of manual booking of supplier invoices
ConfirmSupplierInvoices(context.Context, *ConfirmSupplierInvoicesRequest) (*empty.Empty, error)
// ConfirmBookings allow confirmation of manual bookings
ConfirmBookings(context.Context, *ConfirmSupplierInvoicesRequest) (*empty.Empty, error)
ConfirmBookings(context.Context, *ConfirmBookingsRequest) (*empty.Empty, error)
mustEmbedUnimplementedAccountingServer()
}
......@@ -217,7 +217,7 @@ func (UnimplementedAccountingServer) ListSupplierInvoices(context.Context, *List
func (UnimplementedAccountingServer) ConfirmSupplierInvoices(context.Context, *ConfirmSupplierInvoicesRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method ConfirmSupplierInvoices not implemented")
}
func (UnimplementedAccountingServer) ConfirmBookings(context.Context, *ConfirmSupplierInvoicesRequest) (*empty.Empty, error) {
func (UnimplementedAccountingServer) ConfirmBookings(context.Context, *ConfirmBookingsRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method ConfirmBookings not implemented")
}
func (UnimplementedAccountingServer) mustEmbedUnimplementedAccountingServer() {}
......@@ -396,7 +396,7 @@ func _Accounting_ConfirmSupplierInvoices_Handler(srv interface{}, ctx context.Co
}
func _Accounting_ConfirmBookings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ConfirmSupplierInvoicesRequest)
in := new(ConfirmBookingsRequest)
if err := dec(in); err != nil {
return nil, err
}
......@@ -408,7 +408,7 @@ func _Accounting_ConfirmBookings_Handler(srv interface{}, ctx context.Context, d
FullMethod: "/sip.accounting.Accounting/ConfirmBookings",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AccountingServer).ConfirmBookings(ctx, req.(*ConfirmSupplierInvoicesRequest))
return srv.(AccountingServer).ConfirmBookings(ctx, req.(*ConfirmBookingsRequest))
}
return interceptor(ctx, in, info, handler)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment