Skip to content

Commit

Permalink
Adding confidence levels to async requests (#208)
Browse files Browse the repository at this point in the history
* Added confidence to async

* protogen

* adding max results

* protogen + make and dockerfile

* readme

* get transaction results updated

---------

Co-authored-by: “anton-cornak” <“[email protected]”>
  • Loading branch information
anton-cornak and “anton-cornak” authored Aug 13, 2024
1 parent 40bbf85 commit bc2a712
Show file tree
Hide file tree
Showing 14 changed files with 750 additions and 387 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ENV PATH=/usr/local/go/bin:${PATH}
ENV GOPATH=/go
ENV PATH=/go/bin:$PATH

# https://buf.build/docs/bsr/authentication
ARG BUF_TOKEN
ENV BUF_TOKEN=${BUF_TOKEN}

RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin

RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ docker:
@rm -rf gen

# run the code generation in docker and copy files to local directory in the end
docker build --progress plain -t vmlapis .
docker build --progress plain --build-arg BUF_TOKEN=$$BUF_TOKEN -t vmlapis .
DOCKERID=$$(docker create vmlapis) ;\
docker cp $$DOCKERID:/app/gen ./ ;\
docker rm $$DOCKERID
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- `cd` into the cloned `vmlapis` directory
- Run docker on your computer
- Have `buf` installed
- Have `buf` [account](https://buf.build/signup)
- Have buf token generated and set as environment variable named BUF_TOKEN `export BUF_TOKEN=<your_token>`

```bash
brew install bufbuild/buf/buf
Expand Down
198 changes: 137 additions & 61 deletions gen/csharp/Ssn/Async/V1/Async.cs

Large diffs are not rendered by default.

Binary file modified gen/descriptor.bin
Binary file not shown.
398 changes: 212 additions & 186 deletions gen/go/ssn/async/v1/async.pb.go

Large diffs are not rendered by default.

132 changes: 67 additions & 65 deletions gen/java/ai/visma/ssn/async/v1/AsyncProto.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bc2a712

Please sign in to comment.