All notable changes to the AUDITOR project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- AUDITOR client: rename function
does_not_contains
todoes_not_contain
- [RUSTSEC-2024-0363]: Update sqlx from 0.7.4 to 0.8.2 (@raghuvar-vijay)
- [CVE-2024-45311]: Update quinn-proto from 0.11.3 to 0.11.8 (@raghuvar-vijay)
- CI: Add checks for import sorting and formatting to python linting workflow (@dirksammel)
- Dependencies: Update sqlx from 0.7.4 to 0.8.2 (@raghuvar-vijay)
- Dependencies: Update black from 24.4.2 to 24.10.0 (@dirksammel)
- Dependencies: Update build from 1.2.1 to 1.2.2.post1 (@dirksammel)
- Dependencies: Update crate-ci/typos from 1.23.3 to 1.26.8 (@dirksammel)
- Dependencies: Update cryptography from 43.0.0 to 43.0.3 (@dirksammel)
- Dependencies: Update EmbarkStudios/cargo-deny-action from 1 to 2 (@dirksammel)
- Dependencies: Update mypy from 1.11.0 to 1.13.0 (@dirksammel)
- Dependencies: Update pydantic from 2.8.2 to 2.9.2 (@dirksammel)
- Dependencies: Update pytest from 8.3.1 to 8.3.3 (@dirksammel)
- Dependencies: Update pyyaml from 6.0.1 to 6.0.2 (@dirksammel)
- Dependencies: Update regex from 1.10.5 to 1.11.1 (@raghuvar-vijay)
- Dependencies: Update ruff from 0.5.4 to 0.7.1 (@dirksammel)
- Dependencies: Update rustsec/audit-check from 1 to 2 (@dirksammel)
- Dependencies: Update serde_json from 1.0.121 to 1.0.132 (@raghuvar-vijay)
- Dependencies: Update setuptools from 71.1.0 to 75.3.0 (@dirksammel)
- Dependencies: Update shalzz/zola-deploy-action from 0.19.1 to 0.19.2 (@dirksammel)
- Dependencies: Update tarides/changelog-check-action from 2 to 3 (@dirksammel)
- Dependencies: Update types-pyyaml from 6.0.12.20240311 to 6.0.12.20240917 (@dirksammel)
- Dependencies: Update types-requests from 2.32.0.20240712 to 2.32.0.20241016 (@dirksammel)
- HTCondor collector: Fix bug that the machine score was stored as an integer, not as a float (@mschnepf)
- Docs: Typo fixes in query documentation (@dirksammel)
- Docker files: Linting (@dirksammel)
0.6.2 - 2024-07-29
- AUDITOR: Run
sqlx migrate run
to migrate to new schema for AUDITOR accounting db. (@raghuvar-vijay) - Apel plugin: Use class structure for config and messages (@dirksammel)
- Apel plugin: Change
month
andyear
parameters of republish script tobegin_date
andend_date
(@dirksammel) - Apel plugin: Logging of APEL messages moved from DEBUG to TRACE level (@dirksammel)
- AUDITOR: Migrate to jsonb type for meta and component fields for AUDITOR postgresql. (#736) (@raghuvar-vijay)
- Client: Added a
QueuedAuditorClient
that queues records to be sent in a local SQLite database (@rkleinem) - Apel plugin: Add option to send individual job messages (@dirksammel)
- CI: Add mypy workflow for type checking (@dirksammel)
- CI: Add integration test for db migration (@raghuvar-vijay)
- Docs: Add contribution guidelines (@QuantumDancer)
- Apel plugin: Use common logger in the code base (@dirksammel)
- Apel plugin: Add TRACE level for logging (@dirksammel)
- Apel plugin: Re-use records fetched for sync message for individual jobs reporting (@dirksammel)
- Auditor: Use workspace dependencies (@dirksammel)
- Auditor & auditor-client: Resolve circular dependency with auditor and auditor-client (@raghuvar-vijay)
- Auditor: Refactor auditor database table to
auditor_accounting
(@raghuvar-vijay) - Auditor & auditor-client: Add test to check query metadata & add missing sqlx query metadata (@raghuvar-vijay)
- Benchmark: Add
num_of_records
andsample size
config fields for benchmark script (@raghuvar-vijay) - Dependencies: Update actix-web from 4.6.0 to 4.8.0 (@dirksammel), (@raghuvar-vijay)
- Dependencies: Update anyhow from 1.0.82 to 1.0.86 (@dirksammel)
- Slurm collector: Remove fields
collector_addr
andcollector_port
in settings struct (@raghuvar-vijay) - Dependencies: Update black from 24.2.0 to 24.4.2 (@dirksammel)
- Dependencies: Update crate-ci/typos from 1.20.7 to 1.23.3 (@dirksammel)
- Dependencies: Update criterion-macro from 0.3.4 to 0.4.0 (@dirksammel)
- Dependencies: Update cryptography from 42.0.5 to 43.0.0 (@dirksammel)
- Dependencies: Update docker/build-push-action from 5 to 6 (@raghuvar-vijay)
- Dependencies: Update itertools from 0.12.1 to 0.13.0 (@dirksammel)
- Dependencies: Update mypy from 1.9.0 to 1.11.0 (@dirksammel)
- Dependencies: Update num-traits from 0.2.18 to 0.2.19 (@QuantumDancer)
- Dependencies: Update opentelemetry from 0.22.0 to 0.23.0 (@dirksammel)
- Dependencies: Update opentelemetry-prometheus from 0.15.0 to 0.16.0 (@dirksammel)
- Dependencies: Update opentelemetry_sdk from 0.22.1 to 0.23.0 (@dirksammel)
- Dependencies: Update pydantic from 2.6.4 to 2.8.2 (@dirksammel)
- Dependencies: Update regex from 1.10.4 to 1.10.5 (@raghuvar-vijay)
- Dependencies: Update pytest from 8.1.1 to 8.3.1 (@dirksammel)
- Dependencies: Update requests from 2.31.0 to 2.32.3 (@raghuvar-vijay, @dirksammel)
- Dependencies: Update ruff from 0.3.2 to 0.5.4 (@dirksammel)
- Dependencies: Update serde from 1.0.203 to 1.0.204 (@QuantumDancer, @dirksammel), (@raghuvar-vijay)
- Dependencies: Update serde_json from 1.0.117 to 1.0.120 (@dirksammel), (@raghuvar-vijay)
- Dependencies: Update serde_with from 3.7.0 to 3.8.1 (@QuantumDancer)
- Dependencies: Update setuptools from 69.2.0 to 71.1.0 (@dirksammel)
- Dependencies: Update shalzz/zola-deploy-action from 0.18.0 to 0.19.1 (@dirksammel)
- Dependencies: Update thiserror from from 1.0.61 to 1.0.63 (@raghuvar-vijay)
- Dependencies: Update tracing-actix-web from 0.7.10 to 0.7.11 (@raghuvar-vijay)
- Dependencies: Update types-requests from 2.31.0.20240406 to 2.32.0.20240712 (@dirksammel)
- Dependencies: Update requests from 2.31.0 to 2.32.2 in /plugins/apel (@raghuvar-vijay)
- Dependencies: Update reqwest from 0.12.4 to 0.12.5 (@raghuvar-vijay)
- Dependencies: Update prometheus from 0.13.3 to 0.13.4 (@raghuvar-vijay)
- Dependencies: Update uuid from 1.9.1 to 1.10.0 (@raghuvar-vijay)
- CI: Switch to stable toolchain for clippy job (#793) (@QuantumDancer)
- Client: Moved the client to a dedicated package
auditor-client
due to limitations of sqlx (@rkleinem) - Docs: Fix clippy issues for indentation (@raghuvar-vijay)
0.5.0 - 2024-04-23
- Apel plugin: change config parameter
time_db_path
totime_json_path
(@dirksammel) - Apel plugin: change config format from INI to YAML (@dirksammel)
- AUDITOR: Database migrations can now be run using the Docker container (#765) (@QuantumDancer)
- [RUSTSEC-2024-0019]: Update mio from 0.8.10 to 0.8.11 (@QuantumDancer)
- [RUSTSEC-2024-0020]: Update whoami from 1.4.1 to 1.5.0 (@QuantumDancer)
- [RUSTSEC-2024-0021]: Update eyre from 0.6.11 to 0.6.12 (@QuantumDancer)
- [RUSTSEC-2024-0332]: Update h2 from 0.3.24 to 0.3.26 (@QuantumDancer)
- [RUSTSEC-2024-0332]: Update h2 from 0.4.2 to 0.4.4 (@QuantumDancer)
- [CVE-2024-32650]: Update rustls from 0.21.10 to 0.21.11 (@QuantumDancer)
- [RUSTSEC-2024-0336]: Update rustls from 0.22.2 to 0.22.4 (@QuantumDancer)
- AUDITOR: Add benchmark to measure db performance (#736) (@raghuvar-vijay)
- AUDITOR: Add health check to docker container (@QuantumDancer)
- API: The health check (
GET /health_check
) now fails with an500 INTERNAL SERVER ERROR
if no connection can be made to the database (#622) (@QuantumDancer) - CI: Add workflow for testing the pyaudtitor source distribution (@dirksammel)
- CI: Add workflow for building the Rust documentation (@dirksammel)
- Apel plugin: Reduce unnecessary high number of records for sync messages (@dirksammel)
- Apel plugin: Send separate summary messages per site (@dirksammel)
- Apel plugin: Include data of complete month in summary messages (@dirksammel)
- Client: Reduce logging information in info mode (#680) (@QuantumDancer)
- Slurm collector: Reduce logging information in info mode (#680) (@QuantumDancer)
- Dependencies: Update actix-web from 4.4.1 to 4.5.1 (@QuantumDancer)
- Dependencies: Update actix-web-opentelemetry 0.16.0 to 0.17.0 (@QuantumDancer)
- Dependencies: Update anyhow from 1.0.79 to 1.0.82 (@QuantumDancer)
- Dependencies: Update build from 1.0.3 to 1.2.1 (@dirksammel)
- Dependencies: Update chrono from 0.4.33 to 0.4.38 (@QuantumDancer)
- Dependencies: Update color-eyre from 0.6.2 to 0.6.3 (@QuantumDancer)
- Dependencies: Update crate-ci/typos from 1.20.4 to 1.20.7 (@dirksammel)
- Dependencies: Update cryptography from 42.0.2 to 42.0.5 (@dirksammel)
- Dependencies: Update iana-time-zone from 0.1.59 to 0.1.60 (@QuantumDancer)
- Dependencies: Update num-traits from 0.2.17 to 0.2.18 (@QuantumDancer)
- Dependencies: Update opentelemetry from 0.21.0 to 0.22.0 (@QuantumDancer)
- Dependencies: Update opentelemetry-prometheus from 0.14.1 to 0.15.0 (@QuantumDancer)
- Dependencies: Update opentelemetry_sdk from 0.21.2 to 0.22.1 (@QuantumDancer)
- Dependencies: Update pyo3 from 0.19.2 to 0.20.3 (@dirksammel, @QuantumDancer)
- Dependencies: Update pyo3-asyncio from 0.19 to 0.20 (@dirksammel)
- Dependencies: Update pytest from 8.0.0 to 8.1.1 (@dirksammel)
- Dependencies: Update pytest-cov from 4.1.0 to 5.0.0 (@dirksammel)
- Dependencies: Update regex from 1.10.3 to 1.10.4 (@QuantumDancer)
- Dependencies: Update reqwest from 0.11.24 to 0.12.4 (@QuantumDancer)
- Dependencies: Update serde from 1.0.196 to 1.0.198 (@QuantumDancer)
- Dependencies: Update serde-aux from 4.4.0 to 4.5.0 (@QuantumDancer)
- Dependencies: Update serde_json from 1.0.113 to 1.0.116 (@QuantumDancer)
- Dependencies: Update serde_qs from 0.12.0 to 0.13.0 (@QuantumDancer)
- Dependencies: Update serde_with from 3.6.0 to 3.7.0 (@QuantumDancer)
- Dependencies: Update setuptools from 69.0.3 to 69.2.0 (@dirksammel)
- Dependencies: Update softprops/action-gh-release from 1 to 2 (@dirksammel)
- Dependencies: Update sqlx from 0.7.3 to 0.7.4 (@QuantumDancer)
- Dependencies: Update thiserror from 1.0.56 to 1.0.58 (@QuantumDancer)
- Dependencies: Update tokio from 1.35.1 to 1.37.0 (@QuantumDancer)
- Dependencies: Update tracing-actix-web from 0.7.9 to 0.7.10 (@QuantumDancer)
- Dependencies: Update unicode-segmentation from 1.10.1 to 1.11.0 (@QuantumDancer)
- Dependencies: Update uuid from 1.7.0 to 1.8.0 (@QuantumDancer)
- Dependencies: Update wiremock from 0.5.22 to 0.6.0 (@QuantumDancer)
- CI: Remove deprecated options from cargo.deny (#709) (@QuantumDancer)
- CI: Switch to stable toolchain for coverage job (@QuantumDancer)
- CI: Update htcondor docker image from 10.9.0 to 23.5.2 (@QuantumDancer)
- CI: Use specific version for actions (@dirksammel)
0.4.0 - 2024-01-31
- API: Deprecate get_[started/stopped]_since endpoint (#525) (@raghuvar-vijay)
- Apel plugin: Remove
site_name_mapping
config parameter and change structure ofsites_to_report
config parameter (@dirksammel)
- [RUSTSEC-2023-0071]: Ignored, because vulnerable code is not actually used by us (@QuantumDancer)
- [RUSTSEC-2023-0074]: Update zerocopy from 0.7.26 to 0.7.31 (@QuantumDancer)
- Auditor+pyauditor: Added advanced filtering when querying records (#466) (@raghuvar-vijay)
- Auditor+pyauditor: Added bulk_insert option to insert list of records using auditor client and pyauditor (#580) (@raghuvar-vijay)
- Auditor: Incorrect query string returns an error (#598) (@raghuvar-vijay)
- Auditor: Return correct status code for errors during querying of records (#620) (@raghuvar-vijay)
- Auditor: Remove get_since.rs and clean up dead code (#624) (@raghuvar-vijay)
- pyauditor: Add string representation to python Record Object (#596) (@raghuvar-vijay)
- CI: Added new workflow to define reusable parameters for other workflows (@dirksammel)
- Docs: Add versioning of GitHub Pages and pyauditor docs (#551) (@QuantumDancer)
- Docs: Add overview of API endpoints (#597) (@QuantumDancer)
- Apel plugin: Add optional config setting for style of summary message (@dirksammel)
- Auditor+pyauditor: Deprecate
get_started_since()
andget_stopped_since()
functions (@raghuvar-vijay) - Auditor: Restructure
/record
endpoint to handle single record operations and/records
endpoint to handle multiple records operations (#629) (@raghuvar-vijay) - Auditor: Incorrect meta and component query returns an empty vector and implement more edge case testing for advanced queries (#638) (@raghuvar-vijay)
- Auditor: Implement prepared SQL queries using push_bind for advanced filtering (#637) (@raghuvar-vijay)
- Auditor container: Update Rust from 1.68 to 1.75 and Debian from 11 (Bullseye) to 12 (Bookworm) (@QuantumDancer)
- Dependencies: Update actions/setup-python from 4 to 5 (@dirksammel)
- Dependencies: Update actions/download-artifact from 3 to 4 (@dirksammel)
- Dependencies: Update actions/upload-artifact from 3 to 4 (@dirksammel)
- Dependencies: Update actix-web from 4.4.0 to 4.4.1 (@QuantumDancer)
- Dependencies: Update anyhow from 1.0.75 to 1.0.79 (@QuantumDancer)
- Dependencies: Update chrono from 0.4.31 to 0.4.33 (@QuantumDancer)
- Dependencies: Update cryptography from 41.0.5 to 42.0.2 (@dirksammel, @QuantumDancer)
- Dependencies: Update fake from 2.9.1 to 2.9.2 (@QuantumDancer)
- Dependencies: Update h2 from 0.3.22 to 0.3.24 (@raghuvar-vijay)
- Dependencies: Update itertools from 0.12.0 to 0.12.1 (@QuantumDancer)
- Dependencies: Update once_cell from 1.18.0 to 1.19.0 (@QuantumDancer)
- Dependencies: Update opentelemetry_sdk from 0.21.1 to 0.21.2 (@QuantumDancer)
- Dependencies: Update pytest from 7.4.3 to 8.0.0 (@dirksammel)
- Dependencies: Update regex from 1.10.2 to 1.10.3 (@QuantumDancer)
- Dependencies: Update reqwest from 0.11.22 to 0.11.24 (@QuantumDancer)
- Dependencies: Update serde from 1.0.193 to 1.0.196 (@QuantumDancer)
- Dependencies: Update serde-aux from 4.2.0 to 4.4.0 (@QuantumDancer)
- Dependencies: Update serde_json from 1.0.108 to 1.0.113 (@QuantumDancer)
- Dependencies: Update serde_qs from 0.11.0 to 0.12.0 (@QuantumDancer
- Dependencies: Update serde_with from 3.4.0 to 3.6.0 (@QuantumDancer)
- Dependencies: Update setuptools from 69.0.2 to 69.0.3 (@dirksammel)
- Dependencies: Update sqlx from 0.7.2 to 0.7.3 (@QuantumDancer)
- Dependencies: Update thiserror from 1.0.50 to 1.0.56 (@QuantumDancer)
- Dependencies: Update tokio from 1.34.0 to 1.35.1 (@QuantumDancer)
- Dependencies: Update uuid from 1.6.1 to 1.7.0 (@QuantumDancer)
- Dependencies: Update wiremock from 0.5.21 to 0.5.22 (@QuantumDancer)
- CI: Replace unmaintained actions-rs/audit-check action with maintained one from rustsec (@QuantumDancer)
- CI: Introduce dependency between pyauditor release and release of python packages (@dirksammel)
- CI: Add extra workflow for building the pyaudtitor source distribution (@dirksammel)
- CI: Fix setting symlink to latest pyauditor tag (@QuantumDancer)
- CI: Split webpage building and symlink creation into two jobs (@QuantumDancer)
- CI: Use tagged version instead of master branch for zola deploy action (@QuantumDancer)
- Apel plugin: Replace all URL encodings in meta fields with single-character equivalent (@dirksammel)
- Apel plugin: Use advanced querying for filtering records (@dirksammel)
- Apel plugin: Rename summary record field
Infrastructure
toInfrastructureType
(@dirksammel) - Docs: Pyauditor- Fix pyauditor tutorial for creating new records (#631) (@raghuvar-vijay)
0.3.1 - 2023-11-24
- Docs: Add steps for creating a new release (@QuantumDancer)
- CI: Add Python 3.12 to workflows (@dirksammel)
- Dependencies: Update config from 0.13.3 to 0.13.4 (@QuantumDancer)
- Dependencies: Update pytest from 7.4.2 to 7.4.3 (@dirksammel)
- Dependencies: Update serde from 1.0.192 to 1.0.193 (@QuantumDancer)
- Dependencies: Update setuptools from 68.2.2 to 69.0.2 (@dirksammel)
- Dependencies: Update uuid from 1.5.0 to 1.6.1 (@QuantumDancer)
- CI: Fix maturin version to v1.2.3 (@QuantumDancer)
0.3.0 - 2023-11-17
- Auditor: Standardize REST APIs. Routes have changed to single endpoint '/record' with methods such as 'GET', 'PUT', 'POST' (#465) (@raghuvar-vijay)
- Priority plugin: 'auditor' configuration has to be present in the config file. 'prometheus' configuration is optional (#456) (@raghuvar-vijay)
- Slurm collector: New filter options to filter slurm jobs are added. The
job_status
key in the config is moved to thejob_filter
section and is renamed tostatus
(#472) (@QuantumDancer)
- Auditor: Add records_handler module to routes to handle record queries (#465) (@raghuvar-vijay)
- Docs: Add instructions for developers for building the Rust and Python documentation locally (@QuantumDancer)
- Priority plugin: Add prometheus data exporter (#456) (@raghuvar-vijay)
- Slurm collector: Add
default_value
option for component configuration (#510) (@QuantumDancer) - Dependencies: Add urlencoding 2.1.3 (to parse datetime while querying records) (#465) (@raghuvar-vijay)
- Slurm collector: Fix ambiguous local time in database.rs after switching from CEST to CET (#518) (@raghuvar-vijay)
- Slurm collector: Fix panic during component construction when job info is missing data for component (#510) (@QuantumDancer)
- Dependencies: Update actix-web-opentelemetry 0.15.0 to 0.16.0 (@raghuvar-vijay)
- Dependencies: Update cargo-get from 0.3.3 to 1.0.0 (@dirksammel)
- Dependencies: Update cryptography from 41.0.4 to 41.0.5 (@dirksammel)
- Dependencies: Update fake from 2.8.0 to 2.9.1 (@QuantumDancer)
- Dependencies: Update itertools from 0.11.0 to 0.12.0 (@QuantumDancer)
- Dependencies: Update num-traits from 0.2.16 to 0.2.17 (@QuantumDancer)
- Dependencies: Update opentelemetry from 0.20.0 to 0.21.0 (@raghuvar-vijay)
- Dependencies: Update opentelemetry-prometheus from 0.13.0 to 0.14.1 (@raghuvar-vijay, @QuantumDancer)
- Dependencies: Update opentelemetry_sdk from 0.20.0 to 0.21.1 (@raghuvar-vijay, @QuantumDancer)
- Dependencies: Update regex from 1.9.5 to 1.10.2 (@QuantumDancer)
- Dependencies: Update reqwest from 0.11.20 to 0.11.22 (@QuantumDancer)
- Dependencies: Update rustix from 0.38.14 to 0.38.20 (@QuantumDancer)
- Dependencies: Update serde from 1.0.188 to 1.0.192 (@QuantumDancer)
- Dependencies: Update serde_json from 1.0.107 to 1.0.108 (@QuantumDancer)
- Dependencies: Update serde_with from 3.3.0 to 3.4.0 (@QuantumDancer)
- Dependencies: Update sqlx from 0.7.1 to 0.7.2 (@QuantumDancer)
- Dependencies: Update thiserror from 1.0.48 to 1.0.50 (@QuantumDancer)
- Dependencies: Update time from 0.3.28 to 0.3.29 (@QuantumDancer)
- Dependencies: Update tokio from 1.32.0 to 1.34.0 (@QuantumDancer)
- Dependencies: Update tracing from 0.1.37 to 0.1.40 (@QuantumDancer)
- Dependencies: Update tracing-actix-web from 0.7.6 to 0.7.9 (@QuantumDancer)
- Dependencies: Update tracing-log from 0.1.3 to 0.2.0 (@QuantumDancer)
- Dependencies: Update tracing-subscriber from 0.3.16 to 0.3.17 (@QuantumDancer)
- Dependencies: Update uuid from 1.4.1 to 1.5.0 (@QuantumDancer)
- Dependencies: Update wiremock from 0.5.19 to 0.5.21 (@QuantumDancer)
- CI: Build pyauditor and Auditor Docker image from source for HTCondor collector test (@dirksammel)
- CI: Build pyauditor with maturin for Python unit tests (@dirksammel)
- CI: New workflow structure (@dirksammel)
0.2.0 - 2023-09-21
- pyauditor + Apel plugin + HTCondor collector: Support for Python 3.6 and 3.7 has been dropped (@QuantumDancer)
- Apel plugin:
cpu_time_unit
has to be present in the config file. See Documentation (@dirksammel) - Auditor: Updating a non-existent record now returns an HTTP 404 error instead of HTTP 400 error (@QuantumDancer)
- Docker containers: The
main
tag was replaced with theedge
tag (@QuantumDancer) - Dependencies: Update pyo3 from 0.15.2 to 0.19 and pyo3-asyncio from 0.15 to 0.19 (@QuantumDancer)
- When creating a record with
pyauditor
, the timezone of the datetime object now needs to be converted todatetime.timezone.utc
instead ofpytz.utc
- When creating a record with
- [RUSTSEC-2023-0052]: Update webpki from 0.22.0 to 0.22.1 (@dirksammel)
- [CVE-2022-35737]: Update libsqlite3-sys from 0.24.2 to 0.26.0 (@dirksammel)
- Auditor + Apel plugin: Add semver tags and edge tag for docker container (@QuantumDancer)
- Auditor + CI: Add integration test for Auditor Prometheus exporter(@QuantumDancer)
- Apel plugin: Migrate the Apel plugin from ALU-Schumacher/AUDITOR-APEL-plugin to this repo (@dirksammel)
- Apel plugin: Docker image (@QuantumDancer)
- Apel plugin: Check if there are sites to report in the record list (@dirksammel)
- HTCondor collector (@rfvc)
- Priority plugin: Add option for client timeout (@QuantumDancer)
- Set LogLevel using env variable for auditor, slurm and slurm-epilog collectors and priority plugin (@raghuvar-vijay)
- CI: Linting of python code with ruff and black (@dirksammel)
- CI: Dependabot checks for python plugins/collectors and GitHub actions (@dirksammel)
- CI: Python unit tests (@dirksammel)
- CI: Check CHANGELOG.md for changes (@dirksammel)
- CI: Publish Apel plugin and HTCondor collector to PyPI and GitHub (@dirksammel)
- Docs: Document
Record
,RecordAdd
,RecordUpdate
,Component
,Score
, andMeta
in Rust API (@QuantumDancer) - Docs: Add tutorial for Rust client (@QuantumDancer)
- Docs: Common sections for collectors and plugins (@QuantumDancer)
- Docs: Dedicated docs for development (@QuantumDancer)
- Docs: Add documentation for the Slurm collector (@QuantumDancer)
- Docs: Add documentation for the Apel plugin (@dirksammel)
- Apel plugin: Bugfix in catching empty record list (@dirksammel)
- Apel plugin: Catch VOMS information that does not start with
/
(@dirksammel) - Apel plugin: Remove
pytz
dependency (@dirksammel) - Apel plugin: Refactor code (@dirksammel)
- Apel plugin: Remove encoding from logging (@dirksammel)
- Auditor: Fix default address in AuditorClientBuilder (@QuantumDancer)
- CI: Update list of RUSTSEC ignores (@dirksammel)
- HTCondor collector: Handle
undefined
values from the batch system correctly (@rfvc) - HTCondor collector: Replace
datetime.utcfromtimestamp
withdatetime.fromtimestamp
(@dirksammel) - Slurm collector: Add option to allow for empty fields in
sacct
output (@QuantumDancer) - Slurm collector: Fix parsing of ParsableType::Time for certain cases (@QuantumDancer)
- Webpage: Adjust color schema and add text to About and ChangeLog pages (@frboehler, @QuantumDancer)
- Dependencies: Update actions/checkout from 1 to 4 (@dirksammel, @rfvc)
- Dependencies: Update actions/download-artifact from 2 to 3 (@dirksammel)
- Dependencies: Update actions/setup-python from 2 to 4 (@dirksammel)
- Dependencies: Update actions/upload-artifact from 2 to 3 (@dirksammel)
- Dependencies: Update actix-web from 4.3.1 to 4.4.0 (@QuantumDancer)
- Dependencies: Update actix-web-opentelemetry from 0.12.0 to 0.15.0 (@raghuvar-vijay)
- Dependencies: Update anyhow from 1.0.70 to 1.0.75 (@stefan-k, @QuantumDancer)
- Dependencies: Update chrono from 0.4.24 to 0.4.31 (@dirksammel, @QuantumDancer)
- Dependencies: Update cryptography from 41.0.1 to 41.0.4 (@dirksammel)
- Dependencies: Update docker/build-push-action from 2.5.0 to 5 (@dirksammel)
- Dependencies: Update docker/login-action from 1.10.0 to 3 (@dirksammel)
- Dependencies: Update docker/metadata-action from 3.3.0 to 5 (@dirksammel)
- Dependencies: Update docker/setup-buildx-action from 1 to 3 (@dirksammel)
- Dependencies: Update fake from 2.5.0 to 2.8.0 (@stefan-k, @QuantumDancer, @dirksammel)
- Dependencies: Update itertools from 0.10.5 to 0.11.0 (@QuantumDancer)
- Dependencies: Update maturin from 0.13 to 1.0 (@QuantumDancer)
- Dependencies: Update num-traits from 0.2.15 to 0.2.16 (@QuantumDancer)
- Dependencies: Update once_cell from 1.17.1 to 1.18.0 (@QuantumDancer)
- Dependencies: Update opentelemetry from 0.17.0 to 0.20.0 (@raghuvar-vijay)
- Dependencies: Update opentelemetry-prometheus from 0.10.0 to 0.13.0 (@raghuvar-vijay)
- Dependencies: Update regex from 1.7.3 to 1.9.5 (@stefan-k, @QuantumDancer)
- Dependencies: Update reqwest from 0.11.16 to 0.11.20 (@stefan-k, @QuantumDancer, @dirksammel)
- Dependencies: Update rustls-webpki from 0.101.2 to 0.101.4 (@QuantumDancer)
- Dependencies: Update serde from 1.0.160 to 1.0.188 (@stefan-k, @QuantumDancer, @dirksammel)
- Dependencies: Update serde_json from 1.0.96 to 1.0.107 (@QuantumDancer)
- Dependencies: Update serde_with from 2.3.2 to 3.3.0 (@stefan-k, @QuantumDancer, @dirksammel)
- Dependencies: Update sqlx from 0.6.3 to 0.7.1 (@dirksammel), (@raghuvar-vijay)
- Dependencies: Update thiserror from 1.0.40 to 1.0.48 (@QuantumDancer, @dirksammel)
- Dependencies: Update tokio from 1.27.0 to 1.32.0 (@stefan-k, @QuantumDancer)
- Dependencies: Update tracing from 0.1.37 to 0.1.38 (@stefan-k)
- Dependencies: Update tracing-actix-web from 0.7.4 to 0.7.6 (@QuantumDancer)
- Dependencies: Update tracing-bunyan-formatter from 0.3.7 to 0.3.9 (@QuantumDancer, @dirksammel)
- Dependencies: Update tracing-subscriber from 0.3.16 to 0.3.17 (@stefan-k)
- Dependencies: Update uuid from 1.3.1 to 1.4.1 (@stefan-k, @QuantumDancer)
- Dependencies: Update wiremock from 0.5.18 to 0.5.19 (@QuantumDancer)
0.1.0 - 2023-04-19
- pyauditor: Added
to_json
method to records (@stefan-k) - pyauditor: Runtime can now be set for record either directly or by adding a
stop_time
(@stefan-k) - Slurm collector: Added JSON parsing for meta fields (@stefan-k)
- Slurm collector: Added VOMS proxy info to meta (@stefan-k)
- Auditor + pyauditor: Added blocking client (@stefan-k)
- Auditor: Added implementation for
From
trait toClientError
(@QuantumDancer)
- Slurm collector: Bugfixes for parsing slurm output (@stefan-k)
- Slurm collector: Ignores subjobs (@stefan-k)
- Slurm collector: Use safer defaults (@rkleinem)
- Dependencies: Updated actix-web from 4.3.0 to 4.3.1 (@stefan-k)
- Dependencies: Updated anyhow from 1.0.69 to 1.0.70 (@stefan-k)
- Dependencies: Updated chrono from 0.4.23 to 0.4.24 (@stefan-k)
- Dependencies: Updated once_cell from 1.17.0 to 1.17.1 (@stefan-k)
- Dependencies: Updated regex from 1.7.1 to 1.7.3 (@stefan-k)
- Dependencies: Updated reqwest from 0.11.14 to 0.11.16 (@stefan-k)
- Dependencies: Updated serde from 1.0.152 to 1.0.160 (@stefan-k)
- Dependencies: Updated serde-aux from 4.1.2 to 4.2.0 (@stefan-k)
- Dependencies: Updated serde_json from 1.0.93 to 1.0.96 (@stefan-k)
- Dependencies: Updated serde_with from 2.2.0 to 2.3.2 (@stefan-k)
- Dependencies: Updated sqlx from 0.6.2 to 0.6.3 (@stefan-k)
- Dependencies: Updated thiserror from 1.0.38 to 1.0.40 (@stefan-k)
- Dependencies: Updated tokio from 1.25.0 to 1.27.0 (@stefan-k)
- Dependencies: Updated tracing-actix-web from 0.7.2 to 0.7.4 (@stefan-k)
- Dependencies: Updated tracing-bunyan-formatter from 0.3.6 to 0.3.7 (@stefan-k)
- Dependencies: Updated uuid from 1.3.0 to 1.3.1 (@stefan-k)
- Dependencies: Updated wiremock from 0.5.17 to 0.5.18 (@stefan-k)
- Auditor: Removed constructors for auditor client (both async and blocking) (@QuantumDancer)
0.0.7 - 2023-02-13
- All collectors and plugins are now dedicated crates (@stefan-k)
- Renamed Score "factor" to "value" (@stefan-k)
- Added meta field which stores key-value pairs of the form
String -> Vec<string>
(@stefan-k) - Auditor crate now has server and client features. This allows one to avoid pulling in server code when only client code is needed. Server code requires a live database to compile (because of sqlx). (@stefan-k)
- Support for building python 3.11 pyauditor modules (@stefan-k)
- Improvements in CI (@stefan-k)
- Replaced
cargo-spellcheck
withtypos
(@stefan-k) - Updated Postgres instances in CI to version 15 (@stefan-k)
- Use claims instead of unmaintained claim (@stefan-k)
- Removed dependency on time 0.1 as much as possible. Potential vulnerability does not affect us though. (@stefan-k)
- Updated tokio from 1.22.0 to 1.25.0 (@stefan-k)
- Updated prometheus from 0.13.1 to 0.13.3 (@stefan-k)
- Updated serde_with from 2.0.0 to 2.2.0 (@stefan-k)
- Updated actix-web from 4.1.0 to 4.3.0 (@stefan-k)
- Updated anyhow from 1.0.64 to 1.0.69 (@stefan-k)
- Updated thiserror from 1.0.34 to 1.0.37 (@stefan-k)
- Updated unicode-segmentation from 1.9.0 to 1.10.1 (@stefan-k)
- Updated reqwest from 0.11.11 to 0.11.14 (@stefan-k)
- Updated tracing-actix-web from 0.6.0 to 0.7.1 (@stefan-k)
- Updated once_cell from 1.14.0 to 1.17.0 (@stefan-k)
- Updated sqlx from 0.6.1 to 0.6.2 (@stefan-k)
- Updated serde from 1.0.144 to 1.0.152 (@stefan-k)
- Updated tracing-subscriber from 0.3.15 to 0.3.16 (@stefan-k)
- Updated tracing-bunyan-formatter from 0.3.3 to 0.3.6 (@stefan-k)
- Updated uuid from 1.1.2 to 1.3.0 (@stefan-k)
- Updated wiremock from 0.5.14 to 0.5.17 (@stefan-k)
- Updated config from 0.13.2 to 0.13.3 (@stefan-k)
- Updated regex from 1.7.0 to 1.7.1 (@stefan-k)
0.0.6 - 2022-09-06
- Spellcheck in CI (@stefan-k).
- cargo-deny in CI (@stefan-k).
- Implemented comparison operators for pyauditor types (@stefan-k).
- Any
get
endpoint now returns a list of records sorted bystop_time
(@stefan-k). - Updated anyhow from 1.0.63 to 1.0.64 (@stefan-k).
- Updated thiserror from 1.0.33 to 1.0.34 (@stefan-k).
- Updated serde-aux from 3.1.0 to 4.0.0 (@stefan-k).
- Updated once-cell from 1.13.1 to 1.14.0 (@stefan-k).
- Updated sqlx from 0.5.7 to 0.6.1 (@stefan-k).
- Fixed Slurm Epilog Collector to correctly send UTC timestamps (@stefan-k).
- Old python client written in python is deprecated (@stefan-k).
0.0.5 - 2022-08-25
- Better errors, error handling, error logging and exposing errors to users (@stefan-k).
- Using a SQL transaction for updating records (@stefan-k).
- pyauditor wheels now also have support for python 3.6 (for TARDIS). This required downgrading the pyo3 libraries (@stefan-k).
- Restructured and simplified test suite (@stefan-k).
- AuditorClient now properly errors on server errors (@stefan-k).
- Updated once-cell from 1.13.0 to 1.13.1 (@stefan-k).
- Updated anyhow from 1.0.61 to 1.0.62 (@stefan-k).
- Updated serde from 1.0.143 to 1.0.144 (@stefan-k).
- Fixed broken website build in CI (@stefan-k).
- Removed duplicate configuration directory (@stefan-k).
0.0.4 - 2022-08-16
- Sphinx documentation for pyauditor module (@stefan-k).
- Tutorial for pyauditor module (@stefan-k).
- Automatic deployment of pyauditor documentation (@stefan-k).
- Updated chrono from 0.4.21 to 0.4.22 (@stefan-k).
- Correct badges for pyauditor Readme (@stefan-k).
- Moved sqlx-data.json to auditor folder to fix docs.rs build (@stefan-k).
0.0.3 - 2022-08-11
- Python interface exported from Rust code (pyauditor) including test harness (@stefan-k).
- Logging spans with unique id for priority plugin and slurm epilog collector (helps differentiate different runs in logs) (@stefan-k).
- Export of HTTP metrics on
/metrics
endpoint for prometheus (Auditor) (@stefan-k). - Builder pattern for
AuditorClient
(AuditorClientBuilder
) (@stefan-k). - Unit tests for client code (@stefan-k).
- Build pipeline for python wheels on Linux, Windows and MacOS for python versions 3.7-3.10 (@stefan-k).
- Added python package description (@stefan-k).
- Added pyauditor readme (@stefan-k).
add
andupdate
methods ofAuditorClient
now take references toRecord
(@stefan-k).- Updated config from 0.13.1 to 0.13.2 (@stefan-k).
- Updated serde from 1.0.141 to 1.0.143 (@stefan-k).
- Updated chrono from 0.4.19 to 0.4.21 (@stefan-k).
- Updated wiremock from 0.5.13 to 0.5.14 (@stefan-k).
- Updated anyhow from 1.0.60 to 1.0.61 (@stefan-k).
- Introduced workspaces (as preparation for the python client written in Rust) (@stefan-k).
- Better error handling in Auditor client code (@stefan-k).
- Improved API of
Component
type (@stefan-k). - CI: Moved clippy pipeline to beta channel (@stefan-k).
- Changed some of the interfaces in
domain
module to better fit pyauditor (@stefan-k).
- Pointed auditor Cargo.toml to correct readme (@stefan-k).
0.0.2 - 2022-08-01
- Documentation of priority plugin on website (@stefan-k).
- CI: Run clippy for all targets (@stefan-k).
- Build docker containers when pushing a version tag (@stefan-k).
- Updated tracing from 1.0.35 to 1.0.36 (@stefan-k).
- Correctly parse scontrol output in slurm epilog collector (Thanks to Raphael Kleinemuehl for the hint!) (@stefan-k).
- Fixed building of docs on docs.rs by activating sqlx offline mode (@stefan-k).