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

Remove specific message format restriction #16

Closed
stoyan-zoubev opened this issue Sep 19, 2022 · 0 comments · Fixed by #23, #24, #25, #26 or #27
Closed

Remove specific message format restriction #16

stoyan-zoubev opened this issue Sep 19, 2022 · 0 comments · Fixed by #23, #24, #25, #26 or #27
Assignees
Labels
task Single unit of work
Milestone

Comments

@stoyan-zoubev
Copy link
Contributor

Kanto Azure connector implementation seems to define some mandatory message format for cloud-to-device and device-to-cloud messages - envelope.go

This is a very custom and not open-standard format and there is no real reason for Kanto to stick firmly to it.
So it is better to delete this message envelope restriction and also delete/update the other source files that are related to it.
Here is some list of additional subtasks:

  • after deleting the specific message envelope, the command bus handler needs to be updated not to parse the incoming cloud messages to a certain format.
  • rework of the command passthrough handler to be generic so that is does not depend on a certain message format for cloud messages.
  • renaming some settings that are related to the specific message envelope, e.g. AllowedLocalTopicsListand AllowedCloudMessageTypesList
  • deleting source code that is not used by Kanto azure connector binary, e.g. things handlers, protobuf files, message mapper, etc.
  • deleting unused MessageMapperConfig setting as message mapper is to be removed too.
@e-grigorov e-grigorov added the task Single unit of work label Sep 19, 2022
@e-grigorov e-grigorov moved this to Todo in Eclipse Kanto Sep 19, 2022
@konstantina-gramatova konstantina-gramatova added this to the M3 milestone Sep 29, 2022
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
Note: These files will be removed anyway with [eclipse-kanto#16].

Signed-off-by: Stoyan Zoubev <[email protected]>
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
Note: These files will be removed anyway with [eclipse-kanto#16].

Signed-off-by: Stoyan Zoubev <[email protected]>
@stoyan-zoubev stoyan-zoubev moved this from Todo to In Progress in Eclipse Kanto Oct 11, 2022
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted specific message envelope and updated command bus handler.
- deleted code that is not used by kanto azure connector binary, e.g. things handlers, protobuf files, message mapper, etc.
- reworked command passthrough handler to be generic so that is does not depend on a certain message format.
- renamed AllowedLocalTopicsList and AllowedCloudMessageTypesList settings to PassthroughTelemetryTopic and PassthroughCommandTopic.
- removed unused MessageMapperConfig setting.

Signed-off-by: Stoyan Zoubev <[email protected]>
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted specific message envelope and updated command bus handler.
- deleted code that is not used by kanto azure connector binary, e.g. things handlers, protobuf files, message mapper, etc.
- reworked command passthrough handler to be generic so that is does not depend on a certain message format.
- renamed AllowedLocalTopicsList and AllowedCloudMessageTypesList settings to PassthroughTelemetryTopic and PassthroughCommandTopic.
- removed unused MessageMapperConfig setting.

Signed-off-by: Stoyan Zoubev <[email protected]>
@e-grigorov e-grigorov linked a pull request Oct 11, 2022 that will close this issue
@e-grigorov e-grigorov moved this from In Progress to Ready for Review in Eclipse Kanto Oct 11, 2022
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted command things handler that is not used by kanto azure connector binary
- deleted test cases for code that is not used

Signed-off-by: Stoyan Zoubev <[email protected]>
e-grigorov pushed a commit that referenced this issue Oct 11, 2022
[#16] Removed specific message envelope and unused code

- deleted command things handler that is not used by kanto azure connector binary
- deleted test cases for code that is not used

Signed-off-by: Stoyan Zoubev <[email protected]>
@e-grigorov e-grigorov linked a pull request Oct 11, 2022 that will close this issue
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted telemetry things handler that is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev [email protected]
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted message mapper that is not used by kanto azure connector binary
- deleted message protobuf marshaller as it is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev <[email protected]>
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted message mapper that is not used by kanto azure connector binary
- deleted message protobuf marshaller as it is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev <[email protected]>
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 11, 2022
- deleted message mapper that is not used by kanto azure connector binary
- deleted message protobuf marshaller as it is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev <[email protected]>
e-grigorov pushed a commit that referenced this issue Oct 12, 2022
[#16] Removed specific message envelope and unused code

- deleted telemetry things handler that is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev [email protected]
@e-grigorov e-grigorov linked a pull request Oct 12, 2022 that will close this issue
@e-grigorov e-grigorov moved this from Ready for Review to In Review in Eclipse Kanto Oct 12, 2022
e-grigorov pushed a commit that referenced this issue Oct 12, 2022
[#16] Removed specific message envelope and unused code

- deleted message mapper that is not used by kanto azure connector binary
- deleted message protobuf marshaller as it is not used by kanto azure connector binary
- deleted test cases for code that is not used either

Signed-off-by: Stoyan Zoubev <[email protected]>
stoyan-zoubev added a commit to SoftwareDefinedVehicle/kanto-azure-connector that referenced this issue Oct 12, 2022
- deleted unnecessary test resources - json and proto files

Signed-off-by: Stoyan Zoubev <[email protected]>
e-grigorov pushed a commit that referenced this issue Oct 12, 2022
[#16] Removed specific message envelope and unused code

- deleted unnecessary test resources - json and proto files

Signed-off-by: Stoyan Zoubev <[email protected]>
@e-grigorov e-grigorov linked a pull request Oct 12, 2022 that will close this issue
e-grigorov pushed a commit that referenced this issue Oct 12, 2022
[#16] Remove specific message format restriction

- deleted specific message envelope and updated command bus handler.
- deleted code that is not used by kanto azure connector binary, e.g. things handlers, protobuf files, message mapper, etc.
- reworked command passthrough handler to be generic so that is does not depend on a certain message format.
- renamed AllowedLocalTopicsList and AllowedCloudMessageTypesList settings to PassthroughTelemetryTopic and PassthroughCommandTopic.
- removed unused MessageMapperConfig setting.

Signed-off-by: Stoyan Zoubev <[email protected]>
Repository owner moved this from In Review to Done in Eclipse Kanto Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment