Uh oh!
There was an error while loading. Please reload this page.
add mock server from consent - #12
Conversation
| @@ -0,0 +1,25 @@ | |||
| # GovStack Consent BB - mock | |||
There was a problem hiding this comment.
Can we get some level of “genericisation” here? Make it clear that this is a template mock api rather than one for consent?
rachellawson
left a comment
There was a problem hiding this comment.
I like it, though for use in the template, we probably need to make it clear it is a generic template rather than something specific for consent. Simply to avoid having to explain that every time.
benjaoming
commented
Oct 30, 2022
I'm doing some changes in bb-consent, I've added a layer that reproduces static JSON responses from files. I'll probably add more. It makes sense to me that this PR is merged with @rachellawson's adjustments, but I think we should definitely also find a good process for "backporting" changes from building blocks. |
This brings the Consent BB's "mock" application to our template folder. The idea is that each BB should be able to stand up a mock server which replies to HTTP requests according to their own OpenAPI specification. This needs generification and testing, either before or after merging depending on whether we prioritize "getting it out there" or "getting it right"