Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Mayorov
bcd776a418 Implement all the hacks (#63)
* HG-153: Implement setting transport options up for proxies

* HG-153: Reduce inpector selector during payment init

* HG-151: Implement cost range condition

* HG-151: Reimplement inspector tests using selector

* HG-138: Shitcode up a party-related selectors implementation

* HG-153: Use proxy transport options from the app env

* HG-138: Implement const predicate reduction

* HG-138: Bump to rbkmoney/damsel@61701d2

* HG-138: Bump up dominant and build image

* HG-138: Make compose more insistent on health checking

* HG-152: Bump to rbkmoney/image-service-erlang@13454a9

* HG-138: Bump up dominant again

* HG-153: Make cash range check fail upon misconfiguration
2017-02-01 21:44:07 +03:00
Evgeny Levenets
669fdab027 HG-145: party management improvements (#62) 2017-01-31 23:02:03 +03:00
Andrew Mayorov
3af4a8bd0b HG-131: Shitcode a merchant proxy integration (#58)
* HG-130: Adapt to the damsel with breaking changes

* HG-131: Implement merchant proxy binding

* HG-131: Refactor shitty code a bit

* HG-131: Add upsert facility to help filling dmt up in tests

* HG-131: Name children properly to run more than one proxy handler

* HG-131: Fix a spec

* HG-131: Narrow a number of cases w/ asserting nonempty history

* HG-131: Drop unnecessary handling of woody errors

* HG-131: Shitcode a merchant proxy integration

* HG-131: Switch to the damsel upstream

* HG-131: Fix confusing type declarations

* HG-131: Adhere to the callback interface

* HG-131: Ensure proxy setup accepted automatically
2017-01-16 18:22:57 +03:00
Andrew Mayorov
1efefe6e20 HG-130: Adapt to the damsel with breaking changes (#52)
* HG-130: Adapt to the damsel with breaking changes

* HG-130: Switch to proper damsel master

* HG-130: Hack around a damsel's whoopsie

* HG-130: Bump dominant and machinegun images
2017-01-11 17:22:41 +03:00
Evgeny Levenets
7a423bdff9 HG-112: implemented party contracts (#53) 2017-01-10 19:53:01 +03:00
Evgeny Levenets
5281200d62 HG-128: bumped machinegun (#54)
Bumped to 2c956c1172
2016-12-27 18:13:54 +03:00
Artem Ocheredko
c1b6e02847 HG-74 Integrate with new damsel protocols (#50)
* HG-74 Integrate with new damsel protocols
2016-12-08 19:18:32 +03:00
Andrew Mayorov
ef9864b17f HG-63: Interwine payment processing with accounting (#45)
* HG-63: Interwine payment processing with accounting

* HG-63: Fix linting issues

* HG-63: Fix badmatch

* HG-63: Play with timings in tests

* HG-63: Add a couple of TODOs

* HG-63: Use `partition` instead of deceptive `splitwith`
2016-10-23 17:57:22 +03:00
Andrew Mayorov
235513c472 HG-64: Implement validation and naïve routing (#39)
* HG-62: Implement cashflows, w/o any reasonable safeguards for now

* HG-64: Drop unused piece of code

* HG-64: Export a domain revision type

* HG-64: Validate invoice params upon creation

* HG-64: Create default shop from prototype

* HG-64: Fix badmatch

* HG-64: Implement validation and naive routing

* HG-64: Bump to rbkmoney/damsel@29d6caf

* HG-64: Fix linting issues

* HG-64: Activate shop created from prototype

* HG-64: Refactor everything to use the newest woody_erlang

* HG-64: Add TODO concerning importance of autogenerated reflection
2016-10-20 13:51:35 +03:00
Igor Savchuk
f88657ef80 add dmt_client (#21)
* add dmt_client

remove traitorous tab

fix traitorous spec

fixes

rebase fixes

add tiny little fixes

eta wtuka ni k chemu

fix tabs and spaces

* drop some ugly stuff

* use fresh dominant image

* update build_utils
2016-10-16 20:55:55 +02:00
Andrew Mayorov
0e7f75bd9f HG-61: Implement renewed invoicing service protocol (#35)
* HG-64: Implement renewed invoicing protocol

 * Bump damsel to rbkmoney/damsel@5e264e0

* HG-64: Relax the linter and fix a spec error

* Hg-64: Fix incorrect specs

* HG-64: Bump machinegun w/ bugfix
2016-10-14 20:27:22 +03:00
Artem Ocheredko
5e900f7e92 HG-67 Add account management (#23)
* HG-67 Add account management. Add default shop services for shop creation. Add party management todo
2016-10-12 15:44:21 +03:00
Andrew Mayorov
6d46d566d0 HG-51: Payments over new protocol (#24)
* HG-51: Implement new proxy protocol, shitcode at its best

* HG-51: Refactor a bit

* HG-51: Switch to a renewed mg protocol

* HG-51: Bump to damsel upstream w/ payer contact info

* HG-51: Mention pointlessly complex payment ids in TODO list

* HG-51: Hardcode eventsink id instead

* HG-51: Update lockfile

* HG-51: Fail furiosly when callback handling ends up w/ unexpected error

* HG-51: Store less state in the session start event

* HG-51: Fail furiously on protocol errors, e.g. proxy contract violations

* HG-51: Add more TODO
2016-10-10 19:05:28 +03:00
Andrew Mayorov
423b6c7630 MG-16: Reimplement state processing in line with proto changes (#19)
* MG-16: Reimplement state processing in line w/ proto changes + remove some quirks

* MG-16: Update machinegun endpoints

* MG-16: Bump to the newest woody

* MG-16: Switch to a fresh machinegun container in test env
2016-08-25 15:41:23 +00:00
Anton Belyaev
02e8d2b8f6 MSPF-66: fix for release target (#16) 2016-08-12 21:33:39 +04:00
Andrew Mayorov
d5662dd9dc HG-48: Switch to the new stateproc protocol (#14)
* HG-48: Linting should not require compilation

* HG-48: Switch to the new stateproc protocol + introduce dynamic dispatch

* HG-47: Update TODOs

* HG-48: Fix process_signal contract

* HG-48: Update Payer construction in tests

* HG-48: Fix context handling

* HG-48: Bump damsel dep and update invoice machine accordingly

* HG-48: Bump mg_prototype service dep

* HG-48: Consolidate service specs in one place
2016-08-11 15:52:58 +00:00
Anton Belyaev
b78c1af62d 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