* Implement woody_client_thrift_v2 over new thrift codec facility, make it default
* Move tracing facilities into woody_trace_h
* Implement woody_server_thrift_v2 over thrift codec facility, make it default
* Bump to rbkmoney/genlib@54920e76
* Enforce tuple-based args representation
* Enable cross tests between impls
* Switch to master rbkmoney/thrift_erlang@4eda678c
* Monitor to detect client disconnetion on server side
* Renaming save_woody_state
* Rework monitor to use one per connection
* Changed event type
* wip: stream handler skeleton
* wip: log abnormal termination
* Upgrade cowboy to 2.7.0
* Finish migration to stream_handler
* Upgrade more dependencies
* Fix state type, remove early_error logging
* rename woody_monitor to comply with cowboy naming
* remove redundant monitor pid from state
* Log only socket errors
* wrap put_woody_state
* experimental: monitor for woody_events
* add missing update
* match on handle_event return, don't monitor tracing
* Rework update_woody_state
* Slightly increase min_complexity in linter config
* Make event state transition explicit
* Remove handle_event wraper
* Revert "Slightly increase min_complexity in linter config"
This reverts commit 38301e3b5b66967cb08c0bf7f27a2a8042a40a19.
* match unmetched returns
* Add test
* Erase trailing whitespace
* Refactor test
* Delete mistakenly added file
* Rename function
* Review fixes
* Match supervisor return
Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com>
Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
* Created hay handler to monitor connections
* Review fixes#1
* Added hay as app dependency
* Created metrics receiver for hackney
* Removed filtering, added key tagging
* Added metrics to tests
* Removed non list key tagging option
* Refactored metric updates
* Moved hay to test deps
* Strictened allowed metrics, enabled key mapping
* Added privkey to dialyze CI step
* Reordered privkey
* Changed cache location
* Hardcoded allowed metrics
* Use tag for test deps
* Collect info for all ranch listeners
* MSPF-394/Migrate woody_erlang to cowboy 2.5.0 (#82)
* Renewed some old cowboy syntax
* Reworked types to fit new cowboy/ranch versions
* Replaced cowboy tuples with separate values
* Fixed types, deleted testing logs, deleted redundant errors
* Moved to new StackTrace retrieval syntax for Erlang/OTP 21
* Restored default config, fixed typing
* Cleaned unnessesary changes, removed export_all
* Restored genlib cached version
* Downgraded to old stacktrace retrieval syntax, fixed codestyle
* Restored new StackTrace retrieval syntax, updated build image
* Changed rebar3 version for CI
* Corrected typing and spelling, removed unnessesary supervisor
* Created stream handler to replace hooks
* Added options for reading body
* Simplified stream handler
* Fixed wrong module name, added read body options support in stream handler
* Puted read body opts to env, renamed stream handler
* Codestyle, types and config fixes
* Moved response tracing to a separate function, now tracing failed requests too
* Changed options to map (#83)
* Fixed wrong timeout override logic (#84)
* Patch merge conflict
* Bump dependencies (#87)
* bumped hackney
* bumped erlang thrift commit
* align rpc id handling with new requirements
* add new interface woody.erl, mv woody_t -> woody
* bump up thrift for the latest thrift_membuffer_transport
* remove woody:call_safe/3, woody_client:call_safe/3 from client API
* add cowboy net_opts to Server API
* Introduce event formatter to woody_event_handler
* Refactor events
* Remove outdated exception from the elvis rules
* Update woody_server_thrift_handler internal API
* make Opts optional for handlers
* add default event handler
* bump up hackney
* update README
* fix issues: 12, 18, 20, 21, 25, 26, 31, 37
* start using build_utils
* simplify woody_client:result_ok() type (issue 10)
* use integer snowflake id
* rename woody_client_thrift:format_return/3 (issue 11)
* provide details to event_handler for http errors (issue 15)
* clarify net_opts() for woody_server_thrift_http_handler:options() type
* switch snoflake to rbkmoney fork
* update readme
* introduce lint and fix lint warnings
* add woody_client:make_id_int/0 API function