Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Mayorov
78b3f7767c MG-15: Bump thrift runtime dep (#16) 2016-08-24 14:59:04 +00:00
Petr Kozorezov
cccf733393 MG-16: fix handler_opts type (#14) 2016-08-11 15:24:12 +04:00
Anton Belyaev
db30966138 MG-16: fix handler spec validation (#9)
* MG-16: fix handler spec validation

* MG-16: add a test
2016-08-04 13:25:49 +04:00
Andrew Mayorov
cd7779e615 HG-40: Bump thrift dep to include latest bugfix (#7) 2016-07-29 09:25:48 +00:00
Anton Belyaev
dbe03ca171 Merge pull request #5 from rbkmoney/ft/MSPF-46/CI-adaption
MSPF-46: enable Jenkins 2.0 CI
2016-07-12 21:17:09 +04:00
Anton Belyaev
5398a6ee47 MSPF-46: enable Jenkins 2.0 CI 2016-07-12 20:06:35 +03:00
Andrew Mayorov
302e829154 HG-40: Fix interoperability with respect to scoped record names (#6)
* HG-40: Fix interoperability with respect to scoped record names

* HG-40: Provide build container with the newest thrift compiler
2016-07-06 17:02:08 +03:00
Anton Belyaev
c80d54c774 Merge pull request #4 from arentrue/MSPF-31/ft/thrift-exceptions-pass-thrugh
MSPF-31/ft/thrift exceptions pass through
2016-05-25 17:27:58 +04:00
Anton Belyaev
5ca1cde242 MSPF-31: thirift idiomatic is prohibited 2016-05-25 15:59:01 +03:00
Anton Belyaev
f39ae8776c MSPF-31: generate thrift erlang files via thrift_compiler plugin 2016-05-24 16:08:39 +03:00
Anton Belyaev
04e41d92aa MSPF-31: pass through defined thrift results and exceptions for hierarchical Rpc requests 2016-05-21 21:08:16 +03:00
Anton Belyaev
2c232d2f37 MSPF-31: update thrift_handler behaviour
* remove useless handle_error/4
* handle_function/4 should include woody_client:context() in all return cases
2016-05-20 23:07:43 +03:00
Anton Belyaev
132efd80d9 MSPF-31: add woody_client:make_id/1; new thrift_erlang; minor refactoring 2016-05-20 18:55:02 +03:00
Anton Belyaev
bf74d46150 Merge pull request #3 from arentrue/ft/MSPF-15
Ft/mspf 15
2016-05-10 14:21:41 +04:00
Anton Belyaev
25e9996a71 Update thrift dep 2016-05-06 20:45:11 +03:00
Anton Belyaev
85c894ead9 Refactor woody_event_handler. Update README
* Make rpc_id (triple: span_id, parent_id and trace_id) a separate argument for handle_event/3.
* Sync README with refactored API in woody_event_handler, woody_server_thrift_handler and woody_client.
2016-05-05 17:22:55 +03:00
Anton Belyaev
7bebc67294 Refactor woody_clinet, woody_server_thrift_handler behaviour
* woody_clinet:client -> context
* woody_client:new -> new_context
* woody_server_thrift_handler behaviour: RpcId is not available as handle_function/handle_error argument anymore.
  It should be fetched from the provided Context value: woody_client:get_rpc_id(Context).
2016-05-05 14:31:33 +03:00
Anton Belyaev
18bdfa10eb Fix a bug with additional 204 http response. Add debug option for the app. 2016-05-05 14:31:33 +03:00
Anton Belyaev
3f97597a79 Remove unnecessary wrapper supervisor for woody_server 2016-05-05 14:31:33 +03:00
Anton Belyaev
f9b81a4742 Update erlang thrift 2016-05-05 14:31:33 +03:00
Anton Belyaev
97b194c043 Merge pull request #2 from arentrue/fix/http-error-codes
Fix http error codes
2016-04-25 17:40:04 +04:00
Anton Belyaev
82b8947a9c Fix woody_server_thrift_handler:agrs() type; improve README 2016-04-22 20:34:51 +03:00
Anton Belyaev
7ddf28f6ad Fix http error codes 2016-04-22 15:05:04 +03:00
Anton Belyaev
161f4100fd Update: RPC lib requirements page moved 2016-04-21 19:22:22 +03:00
Anton Belyaev
5f8350ebc3 Merge pull request #1 from rbkmoney/ft/MSPF-1
Ft/mspf 1
2016-04-21 16:28:57 +04:00
Anton Belyaev
7cbc74e35e Prefer natural sort order for req_id 2016-04-21 15:26:01 +03:00
Anton Belyaev
aa354f02fb Apply the last cooments 2016-04-21 15:08:02 +03:00
Anton Belyaev
921aa75f49 Rename rpc_erl -> woody_erlang 2016-04-20 14:44:46 +03:00
Anton Belyaev
abd820b473 Apply review comments 2016-04-19 19:53:08 +03:00
Anton Belyaev
dd60440811 Minor cleanup 2016-04-18 00:54:38 +03:00
Anton Belyaev
04d6fa34b3 Clarify client side logging and return for error cases 2016-04-18 00:38:00 +03:00
Anton Belyaev
5fc6c0fe69 Fix a bug 2016-04-17 04:51:11 +03:00
Anton Belyaev
a833e7a6cf Add clean types for rpc events 2016-04-17 04:42:38 +03:00
Anton Belyaev
ccd614e93b Provide RpcId to thrift handler for use in logging 2016-04-17 01:43:01 +03:00
Anton Belyaev
706520e04e Rename request IDs and http headers in accordance with Dapper terms 2016-04-16 22:11:54 +03:00
Anton Belyaev
27c11e7d80 Fix parent-id for the root request 2016-04-16 21:33:27 +03:00
Anton Belyaev
f3cdfa4402 Use required 'exception_name' Thrift exception struct field for x-rbk-error-logic 2016-04-16 21:23:00 +03:00
Anton Belyaev
bf7cd1832b Handcrafted sweet alignments 2016-04-15 13:28:34 +03:00
Anton Belyaev
c4827a5ebb Add _root_req_id_ - analogue for Dapper _trace id_. More refactoring 2016-04-15 02:20:59 +03:00
Anton Belyaev
9fc64e8d92 Refactor event_hanlder invocaions 2016-04-14 22:14:26 +03:00
Anton Belyaev
d4c5f5edbc Reject multiplexed thrift requests by the server 2016-04-14 20:55:47 +03:00
Anton Belyaev
679beb2d59 Correct repo for thrift dependency 2016-04-14 17:38:45 +03:00
Anton Belyaev
4c96258afc Refactor thrift _oneway void_ request (essentialy a _cast_) handling 2016-04-14 15:27:08 +03:00
Anton Belyaev
39f7fa8387 Add more robust handle_error/4 handling 2016-04-14 14:18:27 +03:00
Anton Belyaev
9f3e332166 Minor cleanup 2016-04-14 12:42:27 +03:00
Anton Belyaev
56fdd1d2d6 Add werker badge to README 2016-04-14 10:48:15 +03:00
Anton Belyaev
106415361b First version 2016-04-14 10:40:33 +03:00
Anton Belyaev
97e2401e14 Initial commit 2016-04-14 10:28:53 +03:00