😈🥅
Go to file
ndiezel0 5294135eeb
HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset (#474)
* HG-452: Add compute payment institution to hellgate

* HG-452: Fix marshalling

* HG-452: Add ComputePaymentInstitution implementation

* HG-452: Fix payment_institution tests

* HG-452: Fix lint

* HG-452: Fix marshalling error

* HG-452: Add compute_contract_terms use

* HG-452: Add compute_contract_terms more use

* HG-452: Fix dialyzer

* HG-452: Update Provider

* HG-452: Remove compute p2p and withdrawal provider methods

* HG-452: Update party client

* HG-452: Add eunit test to selector

* HG-452: Add ComputeGlobals

* HG-452: Fix compile

* HG-452: Fix specs

* HG-452: Add ComputePaymentRoutingRuleset

* HG-452: Fix lint

* HG-452: Review fix

* HG-452: Fix tests

* HG-452: Remove migration remains

* HG-452: Add `PaymentRoutingCandidate` validation

* compute_globals: removed extra parameter GlobalsRef

Co-authored-by: Yuri Bukhalenkov <y.buhalenkov@rbk.money>
Co-authored-by: yuri-bukhalenkov <78025148+yuri-bukhalenkov@users.noreply.github.com>
2021-04-29 16:05:45 +03:00
apps HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset (#474) 2021-04-29 16:05:45 +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
doc add project sceleton 2016-03-02 18:50:50 +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 HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset (#474) 2021-04-29 16:05:45 +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