Go to file
Aleksey Kashapov c708439c93
TD-686: Adopts opentelemetry API (#28)
* TD-686: Adopts opentelemetry API

* Syncs otel meta form scoper

* Upgrades logger logstash formatter

* Migrates back to scoper' woody event handler

* Fixes var name
2023-10-26 13:35:04 +03:00
.github TD-720: bump bouncer client (#27) 2023-10-02 11:57:30 +03:00
apps TD-686: Adopts opentelemetry API (#28) 2023-10-26 13:35:04 +03:00
config OPS-268: Adds default logger permissions (#24) 2023-07-13 16:45:19 +03:00
.dockerignore TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
.editorconfig TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
.env TD-720: bump bouncer client (#27) 2023-10-02 11:57:30 +03:00
.gitignore TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
Dockerfile OPS-268: Adds default logger permissions (#24) 2023-07-13 16:45:19 +03:00
Dockerfile.dev Expect only tokens in CDS responses (#13) 2022-06-01 19:30:17 +03:00
elvis.config TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
LICENSE Update file(s) from valitydev/.github 2022-02-21 21:37:41 +00:00
Makefile TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
README.md TD-176: Add ci (#1) 2022-02-25 11:27:57 +03:00
rebar.config TD-686: Adopts opentelemetry API (#28) 2023-10-26 13:35:04 +03:00
rebar.lock TD-686: Adopts opentelemetry API (#28) 2023-10-26 13:35:04 +03:00

wapi-pcidss

PCI DSS part of Wallet API written in Erlang

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

Documentation

This service implements parts of the swag-wallets OpenAPI specification which handle sensitive data. It is designed to be deployed in a PCI DSS compliant zone of the cluster and interacts with other services in this zone (like cds) to process, store and tokenize various types of payment tools.

@TODO Write more documentation