Заметки к выпуску
Changed
- Built against
Hostpanel.Sdk3.7.0. - Every call to the bank goes through the SDK's
PluginHttp: it runs under a 30 second deadline, reads the answer bounded to 1 MiB, and checks that the answer came from the host the request was sent to. A refused or dropped connection, a timeout, an oversized answer and an answer from another host are all reported as a transport failure, mapped in one place. The hand written connection fault wrapping, deadline handling and final address check are removed, and the redirect answer is still refused. - The gateway no longer clamps the timeout of the factory's HTTP client, because the deadline of the call replaces it.
- Long lines in the gateway, the amount helper and their tests are wrapped to 120 characters, and long one line summaries are block XML docs.
Tests
PluginHttpContract.AssertRedirectIsNotFollowedAsyncruns against the client the host gives a plugin. Tests for an oversized answer and for a dropped connection are added.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «ameriabank» и выберите версию 1.0.4.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.