-
Notifications
You must be signed in to change notification settings - Fork 66
feat: append the option whether to add c8y_IsDevice to child devices #3560
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
feat: append the option whether to add c8y_IsDevice to child devices #3560
Conversation
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
Robot Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge once the name is finalized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -62,7 +62,7 @@ pub struct C8yMapperConfig { | |||
pub bridge_service_name: String, | |||
pub bridge_health_topic: Topic, | |||
pub smartrest_use_operation_id: bool, | |||
pub smartrest_child_append_device_fragment: bool, | |||
pub smartrest_child_device_create_with_device_marker: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a request for change: I'm just surprised clippy isn't freaking out with that name 😉.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. It worked as expected (when testing it on a tenant that supports the new SmartREST 2.0 template)
The static SmartREST template 101 is extended to accept boolean if a newly created child device should hold the `c8y_IsDevice` fragment. This change adds a new tedge configuration to control it. Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
70a4a5d
to
36998d3
Compare
Proposed changes
The static SmartREST template 101 is extended to accept boolean if a newly created child device should hold the
c8y_IsDevice
fragment.This change adds a new tedge configuration to control it.
todos:
c8y.smartrest.child_device.create_with_device_marker
Add (or modify if needed) a system test-> eu-latest is not supporting this new feature yet anywayTypes of changes
Paste Link to the issue
#3487
Checklist
just prepare-dev
once)just format
as mentioned in CODING_GUIDELINESjust check
as mentioned in CODING_GUIDELINESFurther comments