Go to file
George Belyakov 277a436440 ED-101: party management terms calculation (#561)
* add reduce_if_defined to reduce_provider in pm_provider

* check provider terminal terms reducing for both provider/terminal are undefined

* dialyzer

* format

* test try (throw instead of error)

* add test to undefined provider-terminal terms fix

* rework try/catch+assertMatch in compute_terminal_terms test

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2021-04-28 14:53:01 +03:00
apps ED-101: party management terms calculation (#561) 2021-04-28 14:53:01 +03:00
build_utils@24aa772730 ED-135: removed global_ref param from pm_party_client:compute_globals (#562) 2021-04-28 11:19:35 +03:00
config ED-86: +hg_customer dynamic poll timeout (#552) 2021-03-23 00:03:47 +03:00
test/machinegun Update machinegun (#402) 2019-12-16 19:57:26 +03:00
.gitignore HG-466: Use fault detector in hellgate routing (#302) 2019-05-27 11:06:38 +03:00
.gitmodules Allow to build service without the private registry (#548) 2021-03-05 18:37:04 +03:00
docker-compose.sh MSPF-628: Add proto limiter integration (#534) 2021-03-02 22:34:19 +03:00
Dockerfile.sh HG-314: Introduce digital wallets (#164) 2018-01-24 16:40:54 +03:00
elvis.config upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +03:00
Jenkinsfile +fix health_check demo config (#537) 2021-02-01 19:07:24 +03:00
LICENSE Let's make it opensource (#364) 2019-09-20 00:09:59 +03:00
Makefile ED-75: Update image (#550) 2021-03-11 13:33:30 +03:00
README.md Allow to build service without the private registry (#548) 2021-03-05 18:37:04 +03:00
rebar.config upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +03:00
rebar.lock ED-135: removed global_ref param from pm_party_client:compute_globals (#562) 2021-04-28 11:19:35 +03:00
TODO.md HG-48: Switch to the new stateproc protocol (#14) 2016-08-11 15:52:58 +00:00

Hellgate

Core logic service for payment states processing.

Building

We widelly use Thrift to define RPC protocols. So it needs to have our Thrift compiler in PATH to build this service. The recommended way to achieve this is by using our build image.

We are still experimenting on opening our build infrastructure so that you can use the explicit public registry setting for now. You can adjust this parameter by exporting the environment variable REGISTRY.

Сheatsheet

To build the service image without access to the internal RBK.money registry:

make submodules && REGISTRY=ghcr.io make wc_release build_image

To compile:

make submodules && REGISTRY=ghcr.io make wc_compile

To run the service tests (you need either to have access to the internal RBK.money registry or to modify docker-compose.sh):

make wdeps_test