-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Task
0 / 10 of 1 issue completed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Goal
- Add a callback to the control plane to support GET commands
Problem
For the use case where the control module has to support / mimics external subsystems, you need to be able to extract the data from the REST_API..
E.g. the HDMI CEC Use-case where GET internal control logic from the network on the HDMI CEC and mimic the support that a HDMI CEC Controller would have, e.g. the Pulse 8.
self.hdmiCECController.checkMessageReceived(deviceLogicalAddress, destinationLogicalAddress, cec, payload=payload)- When you perform a HTTP GET on the websocket, from the server side ,you need to implement a callback to decode the request, fill it out, and return the data as requested back through the websocket to the client.
Notes (Optional)
- Write test cases to support the GET send receive decoding as required
- In the callback for the GET command you have to encode a YAML / JSON response, ( depending on the GET Request because it sends in a specific format ), you need to create a response in the format based on the GET request.
- Consider
kvpmay need to be upgraded so that you can created YAML / JSON data to send back as an object? -> Spin off new ticket for this
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Changes Requested