Skip to content

Releases: ALU-Schumacher/AUDITOR

v0.6.3

30 Oct 17:15
Compare
Choose a tag to compare

[0.6.3] - 2024-10-30

Breaking changes

  • AUDITOR client: rename function does_not_contains to does_not_contain

Security

Added

  • CI: Add checks for import sorting and formatting to python linting workflow (@dirksammel)

Changed

  • 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)
  • Dependencies: update wiremock from 0.6.1 to 0.6.2 (@raghuvar-vijay)
  • 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)

Removed

v0.6.2

29 Jul 15:17
Compare
Choose a tag to compare

[0.6.2] - 2024-07-29

Breaking changes

  • AUDITOR: Run sqlx migrate run to migrate to new schema for AUDITOR accounting db. Create a backup of your db before migrating. (@raghuvar-vijay)
  • Apel plugin: Use class structure for config and messages (@dirksammel)
  • Apel plugin: Change month and year parameters of republish script to begin_date and end_date (@dirksammel)
  • Apel plugin: Logging of APEL messages moved from DEBUG to TRACE level (@dirksammel)

Security

Added

  • 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 migraiton (@raghuvar-vijay)
  • Docs: Add contribution guidelines (@QuantumDancer)

Changed

  • 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 and sample 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 and collector_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)

Removed

v0.6.1

25 Jul 14:52
Compare
Choose a tag to compare
release-0.6.1

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