Skip to content

feat: json encoder for incoming introspection #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

noaccOS
Copy link
Contributor

@noaccOS noaccOS commented Apr 10, 2025

#77 added introspection_map to incoming introspection event, but its jason encoder was never implemented.

this was handled in trigger engine with an ad-hoc "encoder", which did not respect other encoders format, and eg was missing the type field in the json

properly implementing its encoder results in the removal of said custom code

astarte-platform#77 added
introspection_map to incoming introspection event, but its jason encoder
was never implemented.

this was handled in trigger engine with an ad-hoc "encoder", which did
not respect other encoders format, and eg was missing the `type` field
in the json 

properly implementing its encoder results in the removal of said custom
code

Signed-off-by: Francesco Noacco <[email protected]>
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.64%. Comparing base (7ba3d8f) to head (21fc330).
Report is 2 commits behind head on release-1.2.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.2     #121      +/-   ##
===============================================
+ Coverage        76.53%   76.64%   +0.10%     
===============================================
  Files               50       50              
  Lines              861      865       +4     
===============================================
+ Hits               659      663       +4     
  Misses             202      202              

☔ 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.

@Annopaolo Annopaolo merged commit 659c209 into astarte-platform:release-1.2 Apr 10, 2025
3 checks passed
@noaccOS noaccOS deleted the feat/incoming-introspection-jason branch April 10, 2025 09:09
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.

2 participants