Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from upstream #4

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

merge from upstream #4

wants to merge 29 commits into from

Conversation

gmcintire
Copy link
Member

No description provided.

jaj42 and others added 29 commits February 17, 2023 13:35
* Update MLLP.Client.reconnect/1

* Updated OTP and Elixir versions for CI

* CI updates and mix format

* remove race_conditions from mix.exs

* removed config/dev.exs and /prod.exs
Prior to this change MLLP.Client was throwing away user-supplied `socket_opts` when merging in @default_opts
* Switch to gen_statem for MLLP.Client

* Added Unit test for detection of disconnected receiver

* Replaced some mock tests with real ones

* Make sure socket is invalidated on reconnection

* Fix flaky test (disconnect on server side could result either in :closed or :einval depending on timing of send call)

* Add 'responses match requests' test for concurrent requests

* Fix TestDispatcher (ask receiver to slow down, if we want it to)

* Handle 'data after trailer' case

* Switch backoff tests from mock to real

* Add 'send_timeout_close' to socket defaults

* Shutdown on unexpected packet

* Shutdown socket on receive timeout, if required

* Update cache version

---------

Co-authored-by: Bryan Paxton <[email protected]>
* Add an option for receiver to define custom ssl transport

* Custom receiver transport support
* Add reference to options type

---------

Co-authored-by: Bryan Paxton <[email protected]>
* Bug: default_opts should be first in Map.merge/2

* Fix deprecated Logger.warn/1 calls

* Align 'context' value with FSM state

* Changes to 'format_error' that work both with OTP 25 and 26

* Fix TLS tests to work across OTP 25 and 26

* Bump cache version
- Updated MLLP.Ack to import new sigil for use with get_part/2
- Updated tests to reflect updates between 0.6.2 and 0.7.0
* Bug: default_opts should be first in Map.merge/2

* Fix deprecated Logger.warn/1 calls

* Take only 'host' and 'port' for metadata

* telemetry refactoring

* Telemetry refactoring

* Deps update

* More tests and refactoring
- Update to elixir_hl7 0.8.0
- Update MLLP.ACk and ack_test where required per update
- Bump our version to 0.9.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants