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

[Feature] Updating Step Start Hook to Receive Endpoint #147

Draft
wants to merge 3 commits into
base: spring2025
Choose a base branch
from

Conversation

antonio-amjr
Copy link
Contributor

@antonio-amjr antonio-amjr commented Sep 18, 2024

Solves: project-chip/certification-tool#367
SDK Dependency PR: project-chip/connectedhomeip#35662 (The SDK PR entered out of sync with this backend PR causing problems TH. The change was then reverted on the SDK's side and a new PR should be created to pair with this one)

Warning

The frontend changes and images shown here are not official and for experimental purpose only.
Also, the SDK dependency PR should merge in sync with this PR

Description

Updating the Step Start hooks and the related code to use the provided optional endpoint information from SDK. Also, logs were updated to show the endpoint, if it exists.
This change depends on the SDK's PR, mentioned above, that sends the endpoint information by including it on TC Step Start method parameters.

Please, mind this current solution will not store the endpoint information in the DB and it will not be retrieved for the UI after loading old executions. Anyway, the logs still points the endpoint on the step completion lines.

Use Case Example:

Warning

The frontend changes and images shown here are not official and for experimental purpose only.
Also, the SDK dependency PR should merge in sync with this PR

The images below show a possible usage of the new endpoint information passed to the frontend using the SDK and Backend changes:

Screenshot 2024-09-19 at 10 00 46

The TC ACE 1.3 example

Screenshot 2024-09-19 at 10 02 19

The TC BOOLCFG 2.1 example

@antonio-amjr antonio-amjr self-assigned this Sep 19, 2024
@antonio-amjr antonio-amjr added the enhancement New feature or request label Sep 19, 2024
@antonio-amjr antonio-amjr changed the title Updating the Step Start Hook methods to receive the endpoint info [Feature] Updating Step Start Hook to Receive Endpoint Sep 19, 2024
@antonio-amjr antonio-amjr marked this pull request as ready for review September 20, 2024 13:03
@hiltonlima
Copy link
Contributor

@antonio-amjr could you rebase/target to spring2025 branch?

@antonio-amjr antonio-amjr changed the base branch from v2.11-beta3.1+fall2024 to spring2025 September 26, 2024 16:45
All the related code were updated along with the necessary logging.
Also, the UI observable were updated to signalize the frontend websocket
with the endpoint information for every step.
@antonio-amjr antonio-amjr force-pushed the feature/device_endpoint_ui_presentation branch from 859dd3f to 685f73f Compare September 26, 2024 17:00
@antonio-amjr
Copy link
Contributor Author

antonio-amjr commented Sep 26, 2024

@antonio-amjr could you rebase/target to spring2025 branch?

Done @hiltonlima

@antonio-amjr antonio-amjr marked this pull request as draft October 23, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants