v2.2.0
·
1376 commits
to master
since this release
v2.2.0 (2023-12-12)
Bug Fixes
- Stop started actor via a PoisonPillMessage once it is no longer used
- Remove default value definition in ConfigValidator. It is already done by CommonCLIParsingManager
- Correct bug related to arguments default values not added to configuration when those arguments are not defined
- Add kubernetes dependency
- Correct issue related to parametres names in K8s configuration
- Correct subparser k8s processor arguments types and names
Build System
- Update dockerignore file for src-layout support
- Bump PowerAPI package version to 2.2.0
- Define kuberntes as a group and Add it to all-platforms group
- Dockerfile: Pin Python slim base image tag to sha256 digest
- deps: Bump python from
edaf703to43a49c9 - deps: Bump python from
7ad180fto364ee1a - deps: Bump docker/metadata-action from 5.2.0 to 5.3.0
- deps: Bump docker/metadata-action from 5.1.0 to 5.2.0
- deps: Bump docker/metadata-action from 5.0.0 to 5.1.0
- deps: Bump python from
32477c7toeb6d320 - deps: Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11
- deps: Bump actions/setup-python from 4 to 5
- deps: Bump python from
9bd704dto54382be - deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
- deps: Bump python from
19a6235to123229c - deps: Bump python from
d79a388to80571b6 - deps: Bump python from
babc0d4tod79a388 - deps: Bump python from
fde1011tobabc0d4 - deps: Bump python from
c145aa0tofde1011 - deps: Bump python from
43a49c9toc145aa0 - deps: Bump docker/login-action from 2.2.0 to 3.0.0
- deps: Bump python from
54382betoedaf703 - deps: Bump python from
80571b6to32477c7 - deps: Bump python from
eb6d320to19a6235 - deps: Bump python from
0593057to9bd704d - deps: Bump docker/build-push-action from 4.2.1 to 5.0.0
- deps: Bump docker/setup-buildx-action from 2.10.0 to 3.0.0
- deps: Bump docker/build-push-action from 4.2.0 to 4.2.1
- deps: Bump docker/build-push-action from 4.1.1 to 4.2.0
- deps: Bump docker/metadata-action from 4.6.0 to 5.0.0
- deps: Bump python from
c499230to0593057 - deps: Bump actions/checkout from 3 to 4
- deps: Bump python from
17d62d6toc499230 - deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
- deps: Bump python from
325f5b0to17d62d6 - deps: Bump python from
58ae46eto325f5b0 - deps: Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
- deps: Bump python from
36b544bto58ae46e - deps: Bump python from
6d79a6cto36b544b - deps: Bump python from
364ee1ato6d79a6c - pyproject: Fix
all-platformsdependencies alias - pyproject: Add Python 3.12 in classifiers
Code Refactoring
- Make K8sPreprocessorActor generic regarding type of managed reports
- Switch project to src-layout
- Clean code
- Rename variable name to avoid default string
- Add 127.0.0.1 as default uri value for PrometheusDB
- Adapt Pusher ReportHandler to ignore report saving when report has not the required metadata to be used as label
- Adapt K8sPreProcessor to add empty metadata values if information related to K8s is not found for the Report
- Adapt PrometheusDB to use all metadata keys of the first received report as labels if no tags are indicated in configuration
- Clean code
- Adapt PrometheusDB for provising a unique and simple implementation as well as tests
- Remove unncessary code
- Improve code quality
- Improve code quality
- Improve code quality
- Remove unnecessary code
- Remove some libvirt tests
- Skip some libvirt tests
- Skip some libvirt tests and remove some of them
- Remove Report Modifiers fonctionality. They are replaced by pre-processors
- Remove unnecessary code
- Add support to BackendSupervisor to consider pre-processors when killing actors in postmorten mode
- Improve logger manangement in processors
- Readd BindingManager as it is required to create binding between processors and pullers/pushers and its related tests, Improve K8sMonitorAgent exception management
- Use multiprocessing.Manager for dealing with Metadata Cache updates in K8sPreProcessorActor, Adapt tests, Remove unnecessary code
- Correct problem related to variable initialisation on K8sMonitorAgentActor, Correct typos, Clean code
- Remove useless code
- Remove useless code
- Separate pre-processors from post-processors, adapt processors parsing for including bindings to pullers/pushers, remove bindings as first class entities
- Add new exceptions type for BindingManger
- Move UnknownMessageTypeException to exception.py
- Clean code
Continuous Integration
- Update codebase paths in workflows for the src-layout
- dependabot: Make dependabot check pip and docker versions daily
- release: Disable generation of provenance attestation for container image
- release: Remove container image signature
- release: Skip cosign prompt when signing container image
Documentation
- Update BackendSupervisor documentation
Features
- Add api_key and host as paremeters of K8sPreProcessorActor for manual K8s api configuration
- Add validation for processors and bindings as well ass related tests
- Add monitors generation from a dictionary of processors
- Add parsers for bindings and processors
- Add K8sMonitorActor and K8sProcessorActor
- Add ProcessorActor an LibvirtProcessorActor based on LibvirtMapper. Add binding manager for this kind of actor
Style
- Update some debug messages
Tests
- Add test case for PrometheusDB regarding labels
- Add test for monitors generation from a processors dictionary
- Add test for binding regarding K8s Processors, add Monitor Generator and related tests
- Add some test on generator regarding K8s Processors