Commit Graph

11 Commits

Author SHA1 Message Date
ttt161
9150bc3545
TD-621: add logging for rejected routes (#32)
* TD-621: add logging for rejected routes

* TD-621: fix issue

---------

Co-authored-by: anatoliy.losev <losto@nix>
2023-06-06 16:58:40 +07:00
ndiezel0
a405fce864
TD-128: Add CI, Makefile, Dockerfile and docker-compose.yaml (#2)
* TD-128: Add CI, Makefile, Dockerfile and docker-compose.yaml

* Fix format and lint

* Use compose test

* Update erlang workflow version

* Add covertool

* Move to valitydev repos

* Add prometheus clarification

* Use compose spec instead of docker compose spec

* Update .github/workflows/build-image.yaml

Co-authored-by: Alexey S. <kehitt@users.noreply.github.com>

* Add healthchecks to dominant and machinegun in compose file

* Fix Dockerfile SERVICE arg

* Try to solve mystery of alias

* fix

* fix

* fix

* Only check shumway to be healthy

* Insert daemon socket

* Find container

* Inspect last container

* Try different method to print inspect

* One last try

* Fix

* Remove hostname from docker-compose.yaml

* Check `$SERVICENAME` availability

* cat envfile

* Test theory

* Change service name

* Revert experiments

* Fix healthcheck

* Disable wait for health on dominant

Co-authored-by: Alexey S. <kehitt@users.noreply.github.com>
2022-02-07 11:17:17 +03:00
Andrew Mayorov
fd3494fdff
Build and push images w/ GH action (#1)
* Fix README
2021-12-08 19:35:32 +03:00
Roman Pushkov
0fc4198197 HG-466: Use fault detector in hellgate routing (#302)
* add fault-detector dep

* fix typo

* update rebar.lock

* update fault detector version

* init fault detector client

* add fault detector base

* add fault-detector url placeholder

* get fault-detector url from env

* fix woody client call

* fix formatting, update gitignore

* update fd client, add fd init placeholder after routing

* add fault_detector_proto to app.src

* fix register_operation in fault detector

* update register operation template after choosing route

* update fd client

* add fault detector to hg_proto

* add placeholder for fd scoring in routing

* add fault detector template to sys.config

* update fault detector client

* add GetStatistics call to routing

* update fault detector client

* update get statistics call in routing

* doc tweak

* fix typing

* fix type

* add init service after routing

* update fd client

* add fd notifiers on success and failure

* clean comments

* add fd dummy to tests

* update routing

* temporarily disable sending operations to fd

* add fd routing test case

* remove retry strategy from fd client

* minor tweak

* add fd routing test

* update tests

* update fd client

* update fd client

* refactoring, update test

* formatting fix

* minor refactoring

* more refactoring

* more refactoring

* fix formatting errors

* minor

* space fix

* fix typo

* remove whitespace

* fix whitespace

* Update hg_direct_recurrent_tests_SUITE.erl

* Update hg_invoice_tests_SUITE.erl

* formatting fixes

* separate routing tests

* update config

* update routing

* update fd client

* clean up comments, update fault detector calls

* fix errors

* fix line length

* fix commas

* fd refactoring

* improve fd formatting

* formatting

* refactoring

* add fail rate scoring test base

* split route selection into multiple functions, refactoring

* fix line length

* update fd config, move fd notification to hg_proxy_provider

* config update

* fd client refactoring

* new route selection + tests

* fix trailing comma

* update config

* update fd client with new config

* rework route selection algorithm

* fix error handling in hg_proxy_provider

* merge, update tests, fix types

* move to logger in fd client

* build_utils update

* fix build utils

* remove lager, update fd child spec

* minor refactoring

* revert to lager in fd

* revert to lager in routing tests

* add match on terminate child in tests

* remove unnecessary include
2019-05-27 11:06:38 +03:00
Evgeny Levenets
b157965032 HG-127: new woody (#55) 2017-01-12 19:59:04 +03:00
Artem Ocheredko
ec5ac265a3 HG-110 Add risk score routing initial (and failed) attempt (#51)
* HG-110 Add risk score routing initial attempt. Move to the newest damsel
2017-01-12 18:36:58 +03:00
Evgeny Levenets
87fab9ad03 HG-68: Claims that don't need approval now create with accepted status (#22)
* Claims that don't need approval now create with accepted status

* Removed unnecessary checks
2016-10-03 18:54:43 +03:00
Anton Belyaev
b321e8952d MSPF-73: use build_utils (#13)
* MSPF-73: use build_utils - align with the latest & greatest WoWs
2016-08-08 22:16:17 +04:00
Andrew Mayorov
2b6d52e903 HG-3: Add stubbed invoice machine and all the wiring (#2)
* HG-3: Add stubbed invoice machine and all the wiring

* HG-3: Bump damsel to a proper revision

* HG-3: Get rid of precompile hook to make submodules work

* HG-3: Add missing elvis config

* HG-3: Switch to proto fork temporarily

* HG-3: Merge dispatcher activities w/ machine behaviour

* HG-4: Switch to new proto fork temporarily

* HG-3: Avoid `submodule init` on every make invocation

* HG-3: Allow to pass datetime in both native and iso8601 format

* HG-4: Switch to new proto fork temporarily

* HG-4: Adapt to new protocol + internal & external events

* HG-3: Switch to proto fork already

* HG-21: Add containerization maketargets

* HG-4: Fix interfaces and add missing activities

* HG-4: Switch to new proto fork temporarily

* HG-6: Fix ruble currency code

* HG-4: Fix interface issues

* HG-4: Add default config

* HG-4: Switch to new proto fork temporarily

* HG-4: Start filling provider proxy interaction in

* Publish TODOs

* HG-4: Stub a provider proxy w/ settings from app env

* HG-4: Fix copypasta

* HG-4: Add dummy provider proxy, to be moved into testsuite

* HG-4: Switch to new proto fork temporarily

* HG-21: Remove nonfunctional target dependencies

* HG-4: Rename hg_action to make its objective clearer

* HG-4: Simplify interface address manipulation

* HG-4: Compile proxy related thrift files

* HG-4: Switch to new proto fork temporarily

* HG-4: Update TODOs

* HG-4: Isolate service specs and put them to the proto lib

* HG-4: Move dummy provider into the test dir

* HG-4: Fix getting events with respect to proto update

* damsel@24a247b

* HG-4: Introduce hg client + add preliminary test suite

* HG-4: Merge woody handler with invoice module

* HG-4: Fuse processor handler with machine

* HG-4: Harden the build + fix typing errors alongside

* HG-4: Add happy payment testcase + stateful client

* HG-4: Update gitignore rules with respect to wercker beta

* HG-4: Stash a couple of items into TODO

* HG-4: Make trivial behaviour for test provider(s)

* HG-4: Update elvis rules + lint tests' code

* HG-4: Make UserInfo a part of the client + simplify test code with macros

* HG-4: Cleanup dirty proxy state after testcases

* HG-4: Rename test_provider to a wider test_proxy

* HG-4: Explicitly mention requirement on manually started mgun
2016-06-15 19:10:22 +03:00
Andrey Mayorov
fedd8d9d3c Rename project 2016-04-07 14:37:34 +03:00
Petr Kozorezov
c4b4b8fce5 add project sceleton 2016-03-02 18:50:50 +03:00