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

Add by_format to terse webhook for presentations #3081

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

ianco
Copy link
Contributor

@ianco ianco commented Jul 3, 2024

Fix for issue #3065

Note that this is for the 2.0 presentation protocol only, do we need to apply a similar fix for 1.0?

This adds the by_format attribute for all webhooks, not just for status done, however the demo requires this to work with terse webhooks (and no additional calls to the api endpoints)

Added by_format for issue cred as well - was failing in the demo for json-ld :-(

Makes the terse webhooks slightly less terse, but is required if we want the webhook to contain "enough" info for the controller to respond to.

Signed-off-by: Ian Costanzo <ian@anon-solutions.ca>
@ianco
Copy link
Contributor Author

ianco commented Jul 3, 2024

@jamshale do you know if it's possible to ignore the SonarCloud error? It doesn't like that we don't explicitly set the user in the demo dockerfile ....

@jamshale
Copy link
Contributor

jamshale commented Jul 3, 2024

@jamshale do you know if it's possible to ignore the SonarCloud error? It doesn't like that we don't explicitly set the user in the demo dockerfile ....

Sonarcloud passing isn't actually required to merge. So we can just ignore this and approve/merge as normal. I don't think there's an easy way to ignore it through the sonarcloud UI.

@swcurran
Copy link
Contributor

swcurran commented Jul 3, 2024

Is it easy to fix? Obvs if not, we can leave it — just wondering.

@ianco
Copy link
Contributor Author

ianco commented Jul 3, 2024

Is it easy to fix? Obvs if not, we can leave it — just wondering.

Prob not difficult to fix but may be time consuming to figure it out. The dockerfies are all slightly different so we'd need to get them all lined up with each other or figure it out for each one. I suggest we just log a ticket for now ...

@ianco
Copy link
Contributor Author

ianco commented Jul 3, 2024

The integration test failures are related to json-ld, I'll need to look into it ...

@ianco ianco marked this pull request as draft July 3, 2024 23:08
@ianco ianco marked this pull request as ready for review July 4, 2024 20:25
@ianco ianco requested a review from jamshale July 4, 2024 20:26
Copy link

sonarcloud bot commented Jul 4, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@Gavinok Gavinok left a comment

Choose a reason for hiding this comment

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

Thanks for getting to this so quickly

@ianco ianco merged commit f6a5d07 into openwallet-foundation:main Jul 4, 2024
8 of 9 checks passed
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.

4 participants