Skip to content

Commit

Permalink
Add bulk create/get ticket tasks (#246)
Browse files Browse the repository at this point in the history
* add local task/template/error to create ticket resp proto

* fix number

* logs/len check/schema relationship

* update logs/len check

* update error messages

* rename rpc req/resp

* compare response/req len
  • Loading branch information
laurenleach authored Oct 30, 2024
1 parent 8f502f8 commit 43575f8
Show file tree
Hide file tree
Showing 19 changed files with 2,480 additions and 601 deletions.
8 changes: 8 additions & 0 deletions internal/connector/noop_ticketing.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ func (n noopTicketing) ListTicketSchemas(ctx context.Context, request *v2.Ticket
func (n noopTicketing) GetTicketSchema(ctx context.Context, request *v2.TicketsServiceGetTicketSchemaRequest) (*v2.TicketsServiceGetTicketSchemaResponse, error) {
return nil, errors.New("ticketing is not enabled")
}

func (n noopTicketing) BulkCreateTickets(ctx context.Context, request *v2.TicketsServiceBulkCreateTicketsRequest) (*v2.TicketsServiceBulkCreateTicketsResponse, error) {
return nil, errors.New("ticketing is not enabled")
}

func (n noopTicketing) BulkGetTickets(ctx context.Context, request *v2.TicketsServiceBulkGetTicketsRequest) (*v2.TicketsServiceBulkGetTicketsResponse, error) {
return nil, errors.New("ticketing is not enabled")
}
532 changes: 424 additions & 108 deletions pb/c1/connector/v2/ticket.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 43575f8

Please sign in to comment.