Артем
36f4567b61
APM-43: Support withdrawal methods selector ( #3 )
...
* bump damsel
* bumped again
* added methods test
* fixed format
* test test
* added termset check
* fixed
* fixed format
* added fail test cases
* refactored fail test case
* added explicit result match
* fixed ref
* added digital wallet deprecated fizture
* added assert match
* added missed case
* added logs
* changed to io
* removed unused pomt
2022-02-10 19:30:58 +03:00
ndiezel0
d86fcbf5b5
APM-55: Add GenericPaymentSystem support ( #4 )
...
* APM-55: Add GenericPaymentSystem support
* Update dominant
* Fix test fixture
* Add generic payment-service
* Add test
* Replace ct test with unit test
* Format and fix spec
* Review fix
2022-02-08 21:53:38 +03: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
Sergey Yelin
30c91b7b68
ED-274: Fix broken backward compatibility ( #31 )
...
* ED-274: Fix broken backward compatibility
2021-12-30 16:55:45 +03:00
Sergey Yelin
c6c42b80dc
ED-274: Switch to new claim management errors ( #22 )
2021-12-30 16:55:45 +03:00
yuri-bukhalenkov
bfa398a4d5
ED-293/fixed: legacy structures ( #30 )
...
* fixed: legacy structures
* erlformat
* transmute legacy
2021-12-30 16:55:42 +03:00
Andrew Mayorov
522ddf2e66
Stop evaluating dropped payinst field
2021-12-08 19:53:39 +03:00
Andrew Mayorov
3b9cd7b610
Add support for damsel @ b4447c90
...
With `sum_of` cashflow volumes product.
2021-12-08 19:35:57 +03:00
yuri-bukhalenkov
da89dc695e
ED-293/fixed: added support for legacy Claim structure ( #29 )
...
* fixed: added support for legacy Claim structure
2021-11-24 13:39:53 +03:00
yuri-bukhalenkov
c756e131b7
ED-293/update damsel ( #28 )
...
* updated damsel
2021-11-23 10:22:49 +03:00
yuri-bukhalenkov
f59c4b4697
ED-293/ComputeContractTerms for firstful-server ( #27 )
...
* ComputeContractTerms for firstful-server
2021-11-19 14:05:00 +03:00
yuri-bukhalenkov
ac0feed5de
ED-283/reduce-compute-varset ( #26 )
...
* (varset) using calculated params instead of received ones
2021-11-09 22:06:18 +03:00
ndiezel0
f4afbcc8cf
Split integration ( #16 )
2021-10-24 18:42:34 +03:00
Sergey Yelin
0a85c58f78
ED-253: Remove P2P ( #23 )
2021-10-19 10:27:20 +03:00
dinama
4d4e678627
ED-126: +extend ShopContract ( #21 )
2021-10-12 13:55:42 +03:00
Sergey Yelin
793f6559d5
Add missing prometeus ( #20 )
2021-10-06 16:09:15 +03:00
dinama
9dea357e33
ED-272: +aggregate shop data ( #17 )
2021-09-30 13:24:56 +03:00
dinama
a2dddbbc4a
ED-281: +support new InvalidChangeset ( #18 )
2021-09-29 16:34:42 +03:00
Yaroslav Rogov
4021e74c3f
ED-268/deps: Update mg_proto to use ProcessRepair ( #15 )
...
* ED-268/deps: Update mg_proto to use ProcessRepair
* ED-268/ref: Fix typespecs
2021-09-29 11:00:19 +03:00
Sergey Yelin
f55197723b
ED-242: Upgrade Erlang 24 ( #13 )
2021-09-14 12:54:42 +03:00
yuri-bukhalenkov
988193d4bf
ED-265/crypto-currency condition ( #11 )
...
* fixed crypto-currency condition
* fixed conditions for mobile_commerce, digital_wallets and payment_terminals; extended terms check
2021-09-13 11:12:02 +03:00
Yaroslav Rogov
20904d867d
refactor: Rewrite pm_party reduce and merge in a generic fashion ( #8 )
...
* refactor: Rewrite pm_party reduce and merge in a generic fashion
* fix: Fix Selector struct checking
* refactor: Refactor generic code
* fix: Fix typos
* fix: Fix selector
* fix: Fix is_selector
* refactor: redo generic struct checking to case variant
* fix: Fix typo
* fix: Switch to more type-safe is_terms
* refactor: Move spec to appropriate place
* refactor: Switch to thrift reflection for is_predicate
* refactor: Add commect regarding is_terms impl
* refactor: remix merge_terms clauses
* refactor: Use new genlib_range
* fmt: Fix formatting
* ref: Refactor to type-driven generic implementation
* fix: Fix selector check
* fmt: Fix formatting
* Update apps/party_management/src/pm_party.erl
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* ref: Remove leftover
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
2021-09-07 15:52:20 +03:00
Yaroslav Rogov
1431cc385e
ED-190/deps: Update dmt_client ( #4 )
...
* ED-190/deps: Update dmt_client
* ED-190/deps: Update dmt_client
* ED-190/fix: remove explicit dmt_client_cache update
* ED-190/deps: update dmt_client
* ED-190/fix: leftovers
* ED-190/fix: Fix commit ops and tests
* ED-190/refactor: fix formatting
* ED-190/refactor: fix formatting
2021-08-25 14:13:31 +03:00
yuri-bukhalenkov
9a8cd55d2d
updated damsel ( #10 )
2021-08-20 14:26:12 +03:00
Yaroslav Rogov
f161a8103b
ED-207/fix: Fix reduction of payment_system for payment_institution ( #9 )
2021-08-20 13:42:10 +03:00
Yaroslav Rogov
1496493835
feat: Add dictionaries and BinData support ( #7 )
...
* feat: Add dictionaries and BinData support
* ED-207/refactor(ternary): Remove with_defined, add docs and tests
* ED-207/fix: Return ternary_while for correct behaviour
* ED-207/deps: Update damsel for BinData
* ED-207/fix: Add reverse-compatibility to crypto-currency
* ED-207/test: Fix dialyzer error
* ED-207/fix: Fix varset decoding
* ED-207/refactor: minor refactoring
* ED-207/deps: Update wdeps deps
* ED-207/test: Add tests for dictionary payment methods
* ED-207/refactor: Fix dialyzer warnings
* Revert "ED-207/fix: Add reverse-compatibility to crypto-currency"
This reverts commit 56db16b9f5443e59e002a770df48c00467e067ea.
* ED-207/fix: Add clause for crypto cond version mismatch
* ED-207/refactor: Fix formatting
2021-08-19 13:49:12 +03:00
Andrew Mayorov
935c91235f
Fix msgpack unmarshalling over nil
s ( #6 )
2021-08-04 16:26:04 +03:00
yuri-bukhalenkov
45184ecf6e
Ed 97/feat/sync from hg ( #3 )
...
* * Adapt party machine transmutations facilities to support it
* Encode party state snapshots as thrift binary
* Avoid excessive party event decoding
* Removed pm_event_provider
* Fix get revision w/ empty index
* reduced calling machinegun to O(log(N)) while getting history
2021-06-28 15:46:02 +03:00
yuri-bukhalenkov
52f3bbe920
changed workdir according a wetkitty:service-erlang.sls.tpl ( #1 )
...
* changed workdir according a wetkitty:service-erlang.sls.tpl
* fixed: formatter
* used SERVICE_NAME variable to setup paths and docker image name
* fixed tests
2021-06-18 15:02:32 +03:00
Yuri Bukhalenkov
89139a5043
renamed service
2021-05-24 17:27:46 +03:00
Yuri Bukhalenkov
3a47946b40
removed unused functions in pm_ct_helper
2021-05-24 16:22:08 +03:00
Yuri Bukhalenkov
ea4db6cd79
removed unused pm_client_api parameter (root_url)
2021-05-24 16:12:03 +03:00
Yuri Bukhalenkov
9d0e765920
moved party_management to a separated microservice
2021-05-24 14:30:10 +03:00
Boris
db678139e8
ED-145: Handle exception ProvisionTermSetUndefined ( #565 )
2021-05-13 16:02:22 +03:00
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
yuri-bukhalenkov
9f2e3a36e4
ED-135: removed global_ref param from pm_party_client:compute_globals ( #562 )
...
* updated damsel
* removed global_ref param from pm_party_client:compute_globals
* fixed review issue
2021-04-28 11:19:35 +03:00
Sergey Yelin
cf737ec445
ED-102: Update damsel ( #558 )
...
* ED-102: Update damsel
* Fix lint errors
* ED-102: Add new CryptoCurrency
* Remove unused create_from_method/1
* Remove unused test_condition/3
2021-04-06 15:14:02 +03:00
Boris
10d5ad74bc
merge PaymentsProvisionTerms.turnover_limits ( #553 )
2021-03-19 13:04:05 +03:00
dinama
f6fef9983c
upgrade: +image +deps +endpoints ( #535 )
2021-01-31 17:39:04 +03:00
dinama
108f39c88d
+upgrade all +fix after upgrade ( #531 )
2020-12-24 12:12:05 +03:00
Andrew Mayorov
a64217d9b3
Avoid warnings spam w/ incompatible cash ranges ( #516 )
...
Prefer to return well-specified error tuple instead.
Also Bump invoice lifetimes up in customer tests.
2020-12-04 17:27:30 +03:00
George Belyakov
aabb57ab14
hitch up all routing rules damsel changes ( #507 )
2020-11-16 10:55:56 +03:00
Toporkov Igor
241c870fd0
HG-555: Refactor PM ComputeShopTerms ( #498 )
...
* Hadle varset that might be sent in future
* Leave a comment about the migration process
* Update damsel & party_client
* Use party_client to call PM, add Varset to ComputeShopTerms args
* Add Varset to pm_client and tests
* Use Varset in party management
2020-11-15 22:45:09 +03:00
Sergey Yelin
044076c404
Add risk coverage to provider ( #505 )
...
* Add risk_coverage handling
* Pass RiskScore to provider acceptor
* Make risk coverage selector optional
* Remove dead code
* Add tests for routing
* Routing tests cleanup
* Fix dialyzer
* Localize varset/0 type
* Formatting
* Remove comment
* Add tests to rule sets
* Make provider cover operation with lower risk score
* Rewrite risk compirision logic
* Formatting
* Update dominant
2020-11-12 17:29:09 +03:00
Roman Pushkov
3ba836ffb5
HG-560: routing with pm ( #495 )
...
* add collect routes handler
* add compute provider handling
* remove collect routes handler
* add faulty config test
* return undefined cash range check result
* fix logger call
* run fmt
2020-11-12 11:18:16 +03:00
Toporkov Igor
adfe44a84b
Revert "Revert "HG-555: update ComputeShopTerms clients ( #497 )" ( #503 )" ( #504 )
...
This reverts commit 72f6fd5c3d9800b2e1bda1bf5e273edac8d7e72c.
2020-11-09 13:50:16 +03:00
Toporkov Igor
1b113aa752
Revert "HG-555: update ComputeShopTerms clients ( #497 )" ( #503 )
...
This reverts commit 9a8ad47008752b8af573ce8bcaa784377650e082.
2020-11-05 12:09:36 +03:00
Toporkov Igor
0ba6ce3736
HG-555: update ComputeShopTerms clients ( #497 )
...
* Hadle varset that might be sent in future
* Leave a comment about the migration process
* Update damsel & party_client
* Use party_client to call PM, add Varset to ComputeShopTerms args
* Add Varset to pm_client and tests
2020-10-30 14:54:58 +03:00
Toporkov Igor
8469a2995d
HG-555: Handle Varset in ComputeShopTerms ( #496 )
...
* Hadle varset that might be sent in future
* Leave a comment about the migration process
2020-10-30 11:58:59 +03:00
ndiezel0
9849c12150
HG-557: Add logging of cache hit/miss ( #489 )
2020-10-19 16:11:16 +03:00