-
Notifications
You must be signed in to change notification settings - Fork 2
eli-176 adding an 'example' serving proxy which leverages Prisms 'example' and 'code' params #17
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
eli-176 adding an 'example' serving proxy which leverages Prisms 'example' and 'code' params #17
Conversation
… causing validation errors in the sandbox
…xtending-prism-for-sandbox
…tidying and tests adding!
…dating make commands
|
Are we missing the |
make spec should be making that from /specification/eligibility-signposting-api.yaml, so one to debug (as it's a classic 'working on my machine' scenario!) |
…ing port 9000 (which is used by our example proxy)
… sonarcube coverage does anything
acerathereinspirative-nhs-nvir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
…xtending-prism-for-sandbox
acerathereinspirative-nhs-nvir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
acerathereinspirative-nhs-nvir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still looks good to me! 🤣
Description
Adding functionality for https://github.com/stoplightio/ExampleChooserPrismProxy to the prism implementation of a sandbox. The changes here basically set up a proxy for the main Prism service, so that specific example values used in requests are parsed into arguments (example= , code= ) that Prism uses to serve specific responses based on those held in the specification.
Context
This change allows us to 'push' the prefer hints to prism via request content
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.