Skip to content

feat(capabilities): device capabilities#122

Merged
noaccOS merged 2 commits intoastarte-platform:release-1.3from
lusergit:push-qmkklxvtnwvx
Jul 9, 2025
Merged

feat(capabilities): device capabilities#122
noaccOS merged 2 commits intoastarte-platform:release-1.3from
lusergit:push-qmkklxvtnwvx

Conversation

@lusergit
Copy link
Copy Markdown
Collaborator

@lusergit lusergit commented Jul 9, 2025

Backward port of #115

In the second commit I changed the schema to use a typed ecto schema

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 9, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.61%. Comparing base (710afe5) to head (bb797ff).
Report is 3 commits behind head on release-1.3.

Files with missing lines Patch % Lines
lib/astarte_core/device/capabilities.ex 66.66% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.3     #122      +/-   ##
===============================================
- Coverage        76.64%   76.61%   -0.04%     
===============================================
  Files               50       51       +1     
  Lines              865      868       +3     
===============================================
+ Hits               663      665       +2     
- Misses             202      203       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lusergit lusergit force-pushed the push-qmkklxvtnwvx branch from 1ca4191 to bc77326 Compare July 9, 2025 15:11
lusergit added 2 commits July 9, 2025 17:12
- Adds device capabilities ecto schema
- Adds capability `:purge_properties_format` capability with `:zlib` and
  `:plaintext` possible values

Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Changes capabilities to use a typed ecto schema instead of a simple ecto schema

Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
@lusergit lusergit force-pushed the push-qmkklxvtnwvx branch from bc77326 to bb797ff Compare July 9, 2025 15:12
@noaccOS noaccOS merged commit a3c0477 into astarte-platform:release-1.3 Jul 9, 2025
3 checks passed
@lusergit lusergit deleted the push-qmkklxvtnwvx branch July 14, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants