Skip to content
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

Standardize incoming introspection #77

Merged

Conversation

Annopaolo
Copy link
Collaborator

@Annopaolo Annopaolo commented Sep 6, 2022

The payload should be an interface -> (major, minor) map, and not just a string.
Replace the old introspection field (a string) with the instrospection_map field.
Keep the old plain introspection string as deprecated.

@Annopaolo
Copy link
Collaborator Author

Based on #76 .

@codecov
Copy link

codecov bot commented Sep 6, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (685ca10) 75.00% compared to head (3a4fe8d) 75.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   75.00%   75.08%   +0.08%     
==========================================
  Files          51       50       -1     
  Lines         840      839       -1     
==========================================
  Hits          630      630              
+ Misses        210      209       -1     

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

Annopaolo added a commit to Annopaolo/astarte that referenced this pull request Dec 4, 2023
Incoming introspection triggers define introspection as a map
interface_name => %IntrospectionEntry{major: _, minor: _}
rather than a plaintext string.

See astarte-platform/astarte_core#77.

Signed-off-by: Arnaldo Cesco <[email protected]>
@Annopaolo Annopaolo force-pushed the standardize-incoming-introspection branch 2 times, most recently from 089d934 to 6308c42 Compare December 4, 2023 15:38
@Annopaolo Annopaolo force-pushed the standardize-incoming-introspection branch from 6308c42 to 38a8b57 Compare December 12, 2023 16:44
@Annopaolo Annopaolo marked this pull request as ready for review December 14, 2023 10:28
@Annopaolo Annopaolo requested a review from rbino December 14, 2023 10:28
@Annopaolo Annopaolo force-pushed the standardize-incoming-introspection branch from 38a8b57 to 7eb7e20 Compare January 15, 2024 17:36
IncomingIntrospectionEvent holds now a map
interface-name -> {major, minor}.
Keep the old plain introspection string as
a deprecated field.

Signed-off-by: Arnaldo Cesco <[email protected]>
@Annopaolo Annopaolo force-pushed the standardize-incoming-introspection branch from 7eb7e20 to 3a4fe8d Compare January 15, 2024 17:38
@rbino rbino merged commit 5335b0d into astarte-platform:master Feb 6, 2024
3 checks passed
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