0cf6670618
Batch insert checks in the db ( #1 )
2020-09-09 00:27:40 +02:00
4c3fd293db
Fix releasing wheels
2020-09-07 22:03:45 +02:00
6f4637db08
Fix actions to run only when needed
2020-09-07 22:03:45 +02:00
289faefd60
Update index.rst, ignore editor temp files
2020-09-07 22:03:45 +02:00
c9fbf2af4b
Rename action to unittests
2020-09-07 22:03:45 +02:00
c4400ed700
Drop to python3.6 as lowest supported version
2020-09-07 22:03:45 +02:00
e6933e227d
Add release action, publish wheels on tag
2020-09-07 22:03:45 +02:00
7c5da9bf58
Rename build action to test
2020-09-07 22:03:45 +02:00
c4d4adc46d
Add __version__ to __init__.py
2020-09-07 22:03:45 +02:00
5c42aaa023
Update documentation, include readme in index
2020-09-07 22:03:45 +02:00
d4de6e0b2d
Add docker setup for local testing
2020-09-07 22:03:45 +02:00
2e71447150
Fix config typo
2020-09-07 22:03:45 +02:00
1d028af708
Explain a bit more what the application does
2020-09-07 22:03:45 +02:00
40a419009b
Fix link in documentation badge
2020-09-07 22:03:45 +02:00
28571e16e5
Ignore jekyll in documentation build
2020-09-07 22:03:45 +02:00
a062618537
Set better example values for sites
2020-09-07 22:03:45 +02:00
8239cf11da
Mock SSLContext in the unit tests
2020-09-07 22:03:45 +02:00
f9bfc8a2d1
Update readme
2020-09-07 22:03:45 +02:00
2dddf82886
Update config and SSL, i.e. make it work on aiven
2020-09-06 07:44:31 +02:00
189681c5fa
Move configuration code to its own module
2020-09-06 05:18:27 +02:00
eee471e9a7
Build and publish documentation
2020-09-06 04:42:26 +02:00
2df73b76a8
Setup CI
2020-09-06 03:54:48 +02:00
524e27eafe
Fix async mocks and add test for consumer
2020-09-06 03:18:52 +02:00
db45628b2c
Remove wishfullnes from the readme
2020-09-06 02:02:02 +02:00
1a75b1e0b8
Use the producer and collector properly
2020-09-06 01:58:38 +02:00
99a99a6122
Increase caution in the consumer
...
- Fail on invalid data received from the broker.
- Remove the context manager since it's an unnecessary complication.
- Make most of the fields in the Check model mandatory.
- introduce more mandatory fields in the config models.
2020-09-06 01:52:54 +02:00
c6b4296c61
Up the lint score a bit
2020-09-06 01:06:33 +02:00
8ca5d145bd
Move the kafka consumer to the object
2020-09-06 00:56:52 +02:00
af6d59ca97
Put db in the constructor
2020-09-06 00:50:01 +02:00
3ec541c3f5
Fix formatting, log debug kafka calls
2020-09-06 00:42:21 +02:00
2b9435dddd
Add unit tests with 68% coverage, refactor a bit
2020-09-06 00:23:34 +02:00
7967b1d024
Handle broken messages, add logger to Db
2020-09-04 03:04:21 +02:00
0189f66cec
Implement database operations
2020-09-05 02:38:01 +02:00
b23bf037e0
Finish documentation (more or less)
2020-09-05 01:50:54 +02:00
fff8e6e4cc
Refactor once again
...
- Split collector and producer.
- Rename Application to Service.
- Use __call__() instead of run().
2020-09-05 00:06:57 +02:00
cc4b49a34e
Enable documentation build with tox
2020-09-04 22:17:58 +02:00
99785ab69c
Update docstrings + type annotations in Collector
2020-09-04 19:56:41 +02:00
eaf0b51fe9
Take out common code in a base class
2020-09-04 19:45:43 +02:00
916fcf1bab
Add logging
2020-09-04 19:45:18 +02:00
60a944cf5e
Refactor, rename and fix pydantic errors
2020-09-04 18:22:49 +02:00
d9b04b9468
Add pydantic models for config and check info
2020-09-04 18:21:54 +02:00
cc2c0e492b
First raw version of the stats collector
2020-09-04 00:24:21 +02:00
83985be518
Initial empty commit
2020-09-04 00:23:30 +02:00