From 2e83eb06a576030b0225a270efe9de471e172041 Mon Sep 17 00:00:00 2001 From: Anton Belyaev Date: Fri, 5 Oct 2018 17:40:10 +0300 Subject: [PATCH] Fix ff_server childspec (#17) --- apps/ff_server/src/ff_server.erl | 4 +++- apps/ff_transfer/test/ff_transfer_SUITE.erl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/ff_server/src/ff_server.erl b/apps/ff_server/src/ff_server.erl index 196a389..baead1f 100644 --- a/apps/ff_server/src/ff_server.erl +++ b/apps/ff_server/src/ff_server.erl @@ -59,7 +59,9 @@ init([]) -> contruct_backend_childspec('ff/sequence' , ff_sequence), contruct_backend_childspec('ff/identity' , ff_identity_machine), contruct_backend_childspec('ff/wallet_v2' , ff_wallet_machine), - contruct_backend_childspec('ff/destination_v2' , ff_destination_machine), + contruct_backend_childspec('ff/source_v1' , ff_instrument_machine), + contruct_backend_childspec('ff/destination_v2' , ff_instrument_machine), + contruct_backend_childspec('ff/deposit_v1' , ff_transfer_machine), contruct_backend_childspec('ff/withdrawal_v2' , ff_transfer_machine), contruct_backend_childspec('ff/withdrawal/session_v2' , ff_withdrawal_session_machine) ]), diff --git a/apps/ff_transfer/test/ff_transfer_SUITE.erl b/apps/ff_transfer/test/ff_transfer_SUITE.erl index fa0517d..2d942dc 100644 --- a/apps/ff_transfer/test/ff_transfer_SUITE.erl +++ b/apps/ff_transfer/test/ff_transfer_SUITE.erl @@ -373,7 +373,7 @@ admin_call(Fun, Args) -> Request = {Service, Fun, Args}, Client = ff_woody_client:new(#{ url => <<"http://localhost:8022/v1/admin">>, - event_handler => woody_event_handler_default + event_handler => scoper_woody_event_handler }), ff_woody_client:call(Client, Request).