Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 158ae4e0b93205529e389596f2f0b307275d8fd1
https://github.com/tribe29/checkmk/commit/158ae4e0b93205529e389596f2f0b3072…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M cmk/base/data_sources/tcp.py
Log Message:
-----------
Extract `recvall` function
The extracted function is, in principle, reusable.
Furthermore, it helps separate error handling from business logic and
reduce the scope of the local variable.
Also rename `output_lines` to `buffer` because it is a collection of
chunks and not lines.
CMK-4143
Change-Id: Ic211a4c7909020212c8df2ad9cfa6eb35b2f81e9
Commit: ba5500bce9a3b2ea9f23eaa627954145ad2d7528
https://github.com/tribe29/checkmk/commit/ba5500bce9a3b2ea9f23eaa627954145a…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M cmk/base/data_sources/tcp.py
Log Message:
-----------
TCP data source: group output fetch/decrypt
Both parts should go to the fetcher class but it we may keep some error
handling in the helper.
CMK-4143
Change-Id: I20a15d7e23992b1e7d6537c0952abdc7840e725b
Commit: 33799465941021e2670bc709a3ecce06982e65f6
https://github.com/tribe29/checkmk/commit/33799465941021e2670bc709a3ecce069…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M cmk/base/data_sources/tcp.py
Log Message:
-----------
Improve consistency of signatures in TCP data source
Also improve locality of error handling.
CMK-4143
Change-Id: I4933a9ec35ab93a2d71a1953ce060a0b53700fb7
Commit: e0608431f768f0f23332c7f720256a791770960a
https://github.com/tribe29/checkmk/commit/e0608431f768f0f23332c7f720256a791…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M cmk/base/data_sources/tcp.py
M tests-py3/unit/cmk/base/data_sources/test_tcp_data_source.py
Log Message:
-----------
Extract TCPDataFetcher class
CMK-4143
Change-Id: Ide7fde7eb86edf54d9bcc43a391416fb67e2c9aa
Compare:
https://github.com/tribe29/checkmk/compare/71e865a5036f...e0608431f768