Skip to content

Commit

Permalink
proto: add protobuf definition for loadtest service (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirbyquerby authored Dec 6, 2022
1 parent 6feb411 commit 8b27faa
Show file tree
Hide file tree
Showing 10 changed files with 1,618 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY: pb

pb:
(cd proto && buf mod update)
(cd proto && buf generate)
npx --yes swagger-typescript-api -p ./proto/orijtech/cosmosloadtester/v1/loadtest_service.swagger.json -o ./ui/src/gen -n LoadtestApi.ts
14 changes: 14 additions & 0 deletions proto/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: v1
plugins:
- name: go
out: .
opt: paths=source_relative
- name: go-grpc
out: .
opt: paths=source_relative
- name: grpc-gateway
out: .
opt: paths=source_relative
- name: openapiv2
out: .
opt:
7 changes: 7 additions & 0 deletions proto/buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: c0b37eaf6f1f43ecacbc85e4e4d1a440
11 changes: 11 additions & 0 deletions proto/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: v1
name: buf.build/orijtech/cosmosloadtester
deps:
- buf.build/googleapis/googleapis
lint:

use:
- DEFAULT
except:
# We follow the guidelines from https://google.aip.dev which conflict with Buf's suggestions.
- RPC_RESPONSE_STANDARD_NAME
Loading

0 comments on commit 8b27faa

Please sign in to comment.