* switching to external pm
* switched to party client for some tests (in hg_invoice_tests_SUITE); removed party_management tests
* removed party_management, pm_proto, pm_client apps
* fixed tests
* replaced hg_client_party with party_client (part I, hg_invoice_template_tests_SUITE)
* replaced hg_client_party with party_client (part II, hg_invoice_tests_SUITE)
* fixed merging issues
Co-authored-by: r.shaidullin <ndiezel0@gmail.com>
* Temporarily revert second part of HG-538
This reverts commit 7f23d74bf7.
* add enabled option to fd
* disable fd in tests by default
* update fd gathering test
* add enabled status handling to fd
* cleanup
* cleanup ct print
* update tests
* cleanup
* update existing fd config in tests
* update hg test config for fd
* HG-452: Move party and claim management to it's own app
* HG-452: Remove unused exports
* HG-452: Fix tests, remove old eventsink on party
* HG-452: Revert pm_event_provider
* HG-452: Remove `hg_contract`
* HG-452: Add pm_client and pm_proto
* HG-452: Fix lint
* HG-452: Move party and claim management tests to `party_management`
* HG-452: Fix dialyzer
* HG-452: Fix tests
* HG-452: Fix tests
* HG-452: Remove some includes in hg, bring back `hg_party`
* HG-452: Remove party client from party management
* HG-452: Remove `hg_payout_tool` and rename `pm_invoice_utils` => `pm_currency`
* HG-452: Add party_management config
* HG-452: Remove unused function from common test helpers
* HG-452: Remove unused function from pm_ct_helper
* HG-452: hg_selector => pm_selector
* HG-452: Fix lint
* HG-452: Strip down party_management config and bring back party_events.hrl to hellgate
* HG-452: Fix order of app loads in tests
* HG-452: Bring back `hg_client_party`
* HG-452: Fix tests
* HG-452: Use pm_party in hg, where it is appropriate
* HG-452: Remove unused `hg_client_party` code
* HG-452: Remove unused macros in `hellgate/include/party_events.hrl`
* HG-452: Remove party_management from list of services in config
* HG-452: Remove hg_client and pm_client need to get service_spec
* HG-452: Clean up `party_management/include/domain.hrl` from unused macros
* HG-452: Format `xref_checks` like `erl_opts`
* HG-452: Bring back old event_sink for party events
* HG-452: Simplify include in test
* Merge branch 'master' into HG-452/ft/party_management_new
# Conflicts:
# apps/hellgate/src/hg_party.erl
* HG-452: Review fix
* add timeout to see if tests fail
* update hg_woody_wrapper:call/4 to receive a deadline without options
* use timeout in fd client
* set very low fd timeout to prevent tests from being slow
* update sys.config
* lower fd delay
* set default fd timeout to 4000
* rename get_service/1 to get_service_opts/1, export, minor refactoring
* use hg_woody_wrapper:get_service_opts/1 in fd client
* HG-339: Introduce partial refunds (#176)
* HG-339: Enrich refund with payment cash for old events (#177)
* HG-341: Introduce provision and service terms for partial refunds (#180)
* HG-348: Make refund id using sequences service (#186)
* HG-348: Make refund id using sequences service
* HG-348: Bump to rbkmoney/scoper@cbe3abc
* HG-339: rebar.config fixed
* HG-339: seq_proto -> hg_proto.app.src (#188)
* HG-339: Cant start simultaneous partial refunds (#189)
* HG-339: Bump rbkmoney/damsel@349d26c, Bump rbkmoney/dominant@007326a
* use scoper lib for log meta scoping
* remove woody_event_handler behaviour from hg_client_api (unused)
* update tests config for scoper
* bump up dmt_client (now with scoper support)
* HG-260: add ability to retrieve terms for contract & shop (#127)
* add ability to retrieve terms for contract & shop
* switch to epic damsel rbkmoney/damsel@caa8dcb
* fix selector reducer
First problem was in selector reducer. In case of {decisions, [D1, D2, ..., Dn]}, If D1 reduce to <some_non_const_condition, some_value> and D2 reduce to <const_bool_condition, some_value>, then reducer generate invalid thrift structure like {decisions, [ReducedD1, {_true_, <some_value>}, ..., ReducedDn]}.
Second problem was in condition solver: party condition evals to false in case of missing shop in var_set, even if no shop condition specified.
* HG-276: ability to retrieve terms of contract for invoice (#129)
* BA-36: Bump to rbkmoney/damsel@release/erlang/master
* HG-173: changed party interface to claims (#79)
* DC-45: implemented dirty version of event batching (#92)
* DC-45: implemented dirty version of event batching
* DC-45: Make invoice machines emit changes within single event
* HG-229: Embrace new events hierarchy (#94)
* HG-229: Bump to rbkmoney/damsel@7bb67fc
* HG-229: Embrace new events hierarchy
* HG-229: Fix long time broken typespecs
* HG-229: Employ session results + further decouple sessions from payment
* HG-229: Better classify payment errors
* HG-229: Implement model splitting
* HG-229: Stuff location with something meaningful
* HG-229: Overcome a couple of rebase related issues
* HG-229: Drop event filtering facilities altogether
* HG-229: Make result more explicit
* HG-229: Lessen verbosity on cleaning up
* HG-192: Handle missing shop properly (#95)
* HG-173: fixed some shop-related asserts (#97)
* HG-219: Bump to upstream rbkmoney/damsel@b665c89
* 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
* 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
* 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
* HG-40: Implement EventSink + remap invoice events
* HG-40: Simplify machine code a bit
* HG-40: Fix eventsink handlers wrt to woody specs
* HG-40: Introduce eventsink tests + fix a couple of bugs alongside
* HG-40: Bump thrift runtime dep
* HG-45: Implement internal events and event filtering
* HG-45: Start checking sequnces in tests
* HG-45: Bump woody dep version
* HG-45: Remove unused module
* HG-45: Move sequencing out of hg_machine, fix it and test it
* HG-45: Switch to proper damsel fork
* HG-45: Shut the elvis up since I've no idea how to not repeat yourself in test suites
* HG-40: Update CI env definition + provide reasonable defaults for tcp endpoint
* HG-40: Revert UserInfo removal
* 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