.github | ||
apps | ||
config | ||
doc | ||
.dockerignore | ||
.editorconfig | ||
.env | ||
.gitignore | ||
Dockerfile | ||
Dockerfile.dev | ||
elvis.config | ||
LICENSE | ||
Makefile | ||
README.md | ||
rebar.config | ||
rebar.lock |
capi-pcidss
PCI DSS part of Common 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-payments 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 and payment tool providers) to process, store and tokenize various types of payment tools.
@TODO Write more documentation