Skip to content

Releases: ALU-Schumacher/AUDITOR

v0.5.0

23 Apr 13:48
Compare
Choose a tag to compare

0.5.0 - 2024-04-23

Breaking changes

  • Apel plugin: change config parameter time_db_path to time_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)

Security

Added

  • 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 an 500 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)

Changed

  • 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)

v0.4.0

01 Feb 15:18
Compare
Choose a tag to compare

0.4.0 - 2024-01-31

Breaking changes

  • API: Deprecate get_[started/stopped]_since endpoint (#525) (@raghuvar-vijay)
  • Apel plugin: Remove site_name_mapping config parameter and change structure of sites_to_report config parameter (@dirksammel)

Security

  • [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)

Added

  • 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)

Changed

  • Auditor+pyauditor: Deprecate get_started_since() and get_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)
  • 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 to InfrastructureType (@dirksammel)
  • Docs: Pyauditor- Fix pyauditor tutorial for creating new records (#631) (@raghuvar-vijay)

v0.3.1

24 Nov 10:25
Compare
Choose a tag to compare

0.3.1 - 2023-11-24

Added

Changed

v0.3.0

17 Nov 11:12
Compare
Choose a tag to compare

0.3.0 - 2023-11-17

Breaking changes

  • 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 the job_filter section and is renamed to status (#472) (@QuantumDancer)

Added

  • 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)

Changed

  • 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)

v0.2.0

21 Sep 12:56
Compare
Choose a tag to compare

0.2.0 - 2023-09-21

Breaking changes

  • 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 the edge 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 to datetime.timezone.utc instead of pytz.utc

Security

Added

Changed

v0.1.0

19 Apr 13:04
f048974
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.7...v0.1.0

v0.0.7

13 Feb 10:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.6...v0.0.7

v0.0.6

06 Sep 10:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.5...v0.0.6

v0.0.5

25 Aug 07:49
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.4...v0.0.5

v0.0.4

16 Aug 13:52
Compare
Choose a tag to compare

What's Changed

  • For future releases, upload python wheels to release page by @stefan-k in #83
  • Added correct badges to pyauditor Readme by @stefan-k in #84
  • Bump chrono from 0.4.21 to 0.4.22 by @dependabot in #86
  • Better pyauditor documentation including a tutorial by @stefan-k in #87
  • Links to client docs in main docs, fixed deployment by @stefan-k in #88
  • Moved sqlx-data.json hoping that this will fix the docs.rs build by @stefan-k in #89
  • Release 0.0.4 by @stefan-k in #90

Full Changelog: v0.0.3...v0.0.4