Go to file
Aleksey Kashapov f7ab2fdf3b
TD-686: Bumps bouncer proto (#16)
* Bumps orgs proto
2023-10-31 10:48:57 +03:00
.github/workflows TD-720: add transport_opts to client config (#13) 2023-09-27 10:27:03 +03:00
src TD-686: Adopts opentelemetry API (#15) 2023-10-24 11:50:52 +03:00
test TD-720: add transport_opts to client config (#13) 2023-09-27 10:27:03 +03:00
.editorconfig Add Github Actions (#1) 2022-03-17 20:25:10 +03:00
.env TD-222: Bump to valitydev/bouncer-proto@de15d37 (#7) 2022-07-13 11:14:35 +03:00
.gitignore Add Github Actions (#1) 2022-03-17 20:25:10 +03:00
Dockerfile.dev TD-400: Add context helpers for token access (#11) 2022-09-19 17:15:36 +00:00
elvis.config Add Github Actions (#1) 2022-03-17 20:25:10 +03:00
LICENSE added licence 2020-11-23 14:57:01 +03:00
Makefile Add Github Actions (#1) 2022-03-17 20:25:10 +03:00
README.md Add Github Actions (#1) 2022-03-17 20:25:10 +03:00
rebar.config TD-686: Adopts opentelemetry API (#15) 2023-10-24 11:50:52 +03:00
rebar.lock TD-686: Bumps bouncer proto (#16) 2023-10-31 10:48:57 +03:00
renovate.json Add renovate.json (#3) 2022-07-13 11:25:45 +03:00

Bouncer client erlang

Erlang client for bouncer service

Building

To build the project, run the following command:

$ make compile

Running

To enter the Erlang shell with the project running, run the following command:

$ make rebar-shell

Development environment

Run in a docker container

You can run any of the tasks defined in the Makefile from inside of a docker container (defined in Dockerfile.dev) by prefixing the task name with wc-. To successfully build the dev container you need Docker BuildKit enabled. This can be accomplished by either installing docker-buildx locally, or exporting the DOCKER_BUILDKIT=1 environment variable.

Example

  • This command will run the compile task in a docker container:
$ make wc-compile

Example

  • This command will run the compile task in a docker container:
$ make wc-compile

Documentation

@TODO More documentation.

This library utilizes woody to provide a client for bouncer service using its protocol. Some generic helper functions are also provided in bouncer_context_helpers module.