* 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
* Assert cash registry-assosiated shop exists in party or could claimed to be created
* Filter out cash register shopIDs
* Test new validation
* Fix typo in test case name, fix missing space
* Always check cash register claims
* Fix cash register spelling
* Format code using erlfmt
* Use sets instead of lists
* Move cash_register claims validation to pm_claim_committer
* Add missing claim
* Fix name
* Filter out unsupported event
* Remove dead code
* Simplify filter
* Do not generate events to claim with empty changeset
* Filter out claim_modification
* Leave cash_register_modification_unit for further desisions
* Cleanup
* Use corresponding epic damsel branch
* Bump dominant
* Migrate to new bank_card payment method representation
* Simplify guard clause
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* Delete invalid clauses in hg_payment_tool:get_method/1
* Remove marshaling that we don't use anymore
* Correctly unmarshal tokenization_method
* Revert "Correctly unmarshal tokenization_method"
This reverts commit 6f14eefd003e3f80d087db97ca63c4ccc85152d8.
* Do not unmarshal tokenization_method because it will never be there
* Use old (_deprecated) payment methods
* Replace has_cvv with is_cvv_empty
* Upgrade damsel
* Delete outdated comentaries
* Return ordset of payment methods
* Upgrade dominant
* Upgrade damsel
* Add tokenization_method to bank_card_deprecated
* Rename function in hg_payment_tool, create function to test if payment method is supported
* Simpilfy and rename payment methods matching
* Export hg_payment_tool:get_possible_methods/1
* Upgrade damsel
* Fix mising old bank card reference
* Bump dominant
* Fix construct_payment_method
* Upgrade deps
* Suffix with _derprecated payment methods
* Bulk update deps
* Mark deprecated pms introduced by merge
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* Support tokenization_method field and condition
* Split very long line
* Threat none same as undefined when comparing tokenization methods
* Allow whatever payment method if condition is undefined
* Handle undefined tokenization method with defined tokenization method condition
* 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
* 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
* HG-49: Provide basic party management implementation
* Bit simplified machine interfaces
* Tests split into three different modules
* Verify history consistency in each test suite
* HG-49: Switch temporarily to damsel fork
* HG-49: Ensure to throw in case of empty machine history too
* HG-49: Implement claim revocation + tests
* HG-49: Switch temporarily to damsel fork
* HG-49: Include and fix claim related tests in the suite
* HG-49: Implement claim acceptance / denial, no access control yet
* HG-49: Switch temporarily to damsel fork
* HG-47: Fix naming of claim status tags in line w/ proto
* HG-49: Implement pending claim retrieval
* HG-49: Implement shop management w/o proper acceptance flow for now
* HG-49: Introduce preliminary pending claims management
* HG-49: Split monolithic client into pieces service-wise
* HG-49: Fix copypasta artifact in a header guard
* HG-49: Make any new shop suspended initially
* HG-49: Use sequences instead of unique ids for shops / claims
* HG-49: Reference specific coredocs documents in the implementation
* HG-49: Employ generic unwrap, which raises error when fed w/ error tuple
* HG-49: Season complex code fragments w/ comments
* HG-49: Provide meaningful revocation reason
* HG-49: Simplify exception handling a bit in hg_party
* HG-49: Please the Linter
* HG-49: Provide moar tests
* 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-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
* 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