-
Notifications
You must be signed in to change notification settings - Fork 42
CDD API and feature flag support #301
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
base: master
Are you sure you want to change the base?
Conversation
): | ||
logging.info("Get configuration data item request received") | ||
try: | ||
request = wmm.GetConfigurationDataItemRequest.from_payload(message.payload) |
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.
line too long (87 > 79 characters)
sink = self.sink_manager.get_sink(request.sink_id) | ||
if sink is not None: | ||
logging.debug(f"Setting configuration data item for endpoint: {request.cdc_endpoint}") | ||
res = sink.set_configuration_data_item(request.cdc_endpoint, request.cdc_payload) |
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.
line too long (93 > 79 characters)
|
||
sink = self.sink_manager.get_sink(request.sink_id) | ||
if sink is not None: | ||
logging.debug(f"Setting configuration data item for endpoint: {request.cdc_endpoint}") |
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.
line too long (98 > 79 characters)
): | ||
logging.info("Set configuration data item request received") | ||
try: | ||
request = wmm.SetConfigurationDataItemRequest.from_payload(message.payload) |
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.
line too long (87 > 79 characters)
) | ||
|
||
# Register for get configuration data item request | ||
topic = TopicGenerator.make_get_configuration_data_item_request_topic(self.gw_id) |
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.
line too long (89 > 79 characters)
@@ -493,6 +500,19 @@ def _on_connect(self): | |||
self.mqtt_wrapper.subscribe( | |||
topic, self._on_otap_set_target_scratchpad_request_received | |||
) | |||
|
|||
# Register for set configuration data item request | |||
topic = TopicGenerator.make_set_configuration_data_item_request_topic(self.gw_id) |
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.
line too long (89 > 79 characters)
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.
Should we actually increase max line limit to something like 100 or 120?
This requires updating of the c-mesh-api before merging