Skip to content

Conversation

albinsuresh
Copy link
Contributor

@albinsuresh albinsuresh commented Feb 25, 2025

Proposed changes

Allow name and type in inventory.json. The type value in inventory.json overrides the device.type value provided in the tedge.toml file.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
  • Documentation Update (if none of the other choices apply)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA (in all commits with git commit -s)
  • I ran cargo fmt as mentioned in CODING_GUIDELINES
  • I used cargo clippy as mentioned in CODING_GUIDELINES
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/extensions/c8y_mapper_ext/src/converter.rs 0.00% 0 Missing and 1 partial ⚠️
crates/extensions/c8y_mapper_ext/src/inventory.rs 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files

📢 Thoughts on this report? Let us know!

Copy link
Contributor

github-actions bot commented Feb 25, 2025

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
583 0 3 583 100 1h34m4.675489999s

Copy link
Contributor

@didier-wenzek didier-wenzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@reubenmiller reubenmiller added the theme:telemetry Theme: Telemetry data label Feb 28, 2025
@albinsuresh albinsuresh force-pushed the feat/allow-name-type-inventory-json branch from 406c736 to 8c47f6d Compare February 28, 2025 19:50
@albinsuresh albinsuresh added this pull request to the merge queue Feb 28, 2025
Merged via the queue into thin-edge:main with commit f1e2a51 Feb 28, 2025
33 checks passed
@reubenmiller reubenmiller added this to the 1.5.0 milestone Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:telemetry Theme: Telemetry data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants