Skip to content

Add client-side discovery API#37

Merged
yogeshbdeshpande merged 4 commits intomainfrom
cmw-update
Jan 27, 2026
Merged

Add client-side discovery API#37
yogeshbdeshpande merged 4 commits intomainfrom
cmw-update

Conversation

@thomas-fossati
Copy link
Copy Markdown
Contributor

@thomas-fossati thomas-fossati commented Jan 22, 2026

Add a client-side discovery API.

Also, update the CMW dependency (0.1.0->0.2.0) and adjust the calling code accordingly.

Also, update the CI, in particular, the “lint” action 😅

Add a StaticEvidenceBuilder object that always returns the same static evidence and media type.

Fix #36

Signed-off-by: Thomas Fossati <thomas.fossati@linaro.org>
@yogeshbdeshpande
Copy link
Copy Markdown
Contributor

@thomas-fossati : There is nothing about discovery inside doc.go ?

Will you please add the same in this file ?

Copy link
Copy Markdown
Contributor

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!, I made a comment about doc.go, please check, I have no issues with the actual code in this PR!

@thomas-fossati
Copy link
Copy Markdown
Contributor Author

@thomas-fossati : There is nothing about discovery inside doc.go ?

Will you please add the same in this file ?

Sounds like a good idea!

@thomas-fossati
Copy link
Copy Markdown
Contributor Author

@thomas-fossati : There is nothing about discovery inside doc.go ?

Will you please add the same in this file ?

Done! See this.

Copy link
Copy Markdown
Contributor

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Thomas Fossati <thomas.fossati@linaro.org>
Signed-off-by: Thomas Fossati <thomas.fossati@linaro.org>
StaticEvidenceBuilder is a simple EvidenceBuilder that always returns
the same static evidence and media type.  This is can be used when the
evidence is already available and does not need to be dynamically
generated (RP mode) or for testing purposes.

Signed-off-by: Thomas Fossati <thomas.fossati@linaro.org>
Copy link
Copy Markdown
Contributor

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the documentation, it all looks good to me!

@yogeshbdeshpande yogeshbdeshpande merged commit a6dcde6 into main Jan 27, 2026
7 checks passed
@yogeshbdeshpande yogeshbdeshpande deleted the cmw-update branch January 27, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Veraison Discovery API client

2 participants