mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 01:05:21 +00:00
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
This commit is contained in:
parent
b321e8952d
commit
ba19d5d593
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,7 +1,6 @@
|
|||||||
[submodule "apps/hg_proto/damsel"]
|
[submodule "apps/hg_proto/damsel"]
|
||||||
path = apps/hg_proto/damsel
|
path = apps/hg_proto/damsel
|
||||||
url = git@github.com:keynslug/damsel.git
|
url = git@github.com:rbkmoney/damsel.git
|
||||||
branch = HG-40/fix/events
|
|
||||||
[submodule "build_utils"]
|
[submodule "build_utils"]
|
||||||
path = build_utils
|
path = build_utils
|
||||||
url = git@github.com:rbkmoney/build_utils.git
|
url = git@github.com:rbkmoney/build_utils.git
|
||||||
|
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ compile: submodules rebar-update
|
|||||||
xref: submodules
|
xref: submodules
|
||||||
$(REBAR) xref
|
$(REBAR) xref
|
||||||
|
|
||||||
lint: compile
|
lint:
|
||||||
elvis rock
|
elvis rock
|
||||||
|
|
||||||
dialyze:
|
dialyze:
|
||||||
|
4
TODO.md
4
TODO.md
@ -5,11 +5,9 @@
|
|||||||
* More familiar flow control handling of machines, e.g. catching and wrapping thrown exceptions.
|
* More familiar flow control handling of machines, e.g. catching and wrapping thrown exceptions.
|
||||||
* Explicit stage denotion in the invoice machine?
|
* Explicit stage denotion in the invoice machine?
|
||||||
* __Submachine abstraction and payment submachine implementation__.
|
* __Submachine abstraction and payment submachine implementation__.
|
||||||
* __Properly pass woody contexts around__.
|
|
||||||
* __Invoice access control__.
|
* __Invoice access control__.
|
||||||
|
* __Proper behaviours around machines w/ internal datastructures marshalling, event sources and dispatching.__
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
|
|
||||||
* Fix excess `localhost` definitions (as soon as service discovery strategy will be finalized, hopefully).
|
|
||||||
* __Add generic albeit more complex test suite which covers as many state transitions with expected effects as possible__.
|
* __Add generic albeit more complex test suite which covers as many state transitions with expected effects as possible__.
|
||||||
* Employ macros to minimize pattern matching boilerplate.
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d3883df63982bf9bf5c8e9ac477cd65e1238a45b
|
Subproject commit fb43ca0f55da97cb649c7933251ab54fbb651ffe
|
@ -11,7 +11,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- machinegun
|
- machinegun
|
||||||
machinegun:
|
machinegun:
|
||||||
image: dr.rbkmoney.com/rbkmoney/mg_prototype:87bef0b
|
image: dr.rbkmoney.com/rbkmoney/mg_prototype:3455e7b
|
||||||
command: /opt/mgun/bin/mgun foreground
|
command: /opt/mgun/bin/mgun foreground
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user