You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
I want to use osprey-mock-service as a validation proxy that can:
mock requests to /a
reverse proxy requests to /b to another server
reverse proxy requests to /c (unknown RAML resource) to another server
The use case is that there is an existing API. Existing resources we don't care about and don't want to produce a RAML definition for them. New resources, we want to either mock or reverse proxy depending on whether the resource is ready. Mock mode should give us full control to do all the above. Live mode should always reverse proxy ALL requests to another server (whilst still working as a validation proxy).
Is this possible?
We cannot use the online tool for this since company policy prevents use from sending info about our API to a third party.
Thanks in advance.
At the moment I can probably utilise osprey-mock-service to mock ALL requests or NONE but not SOME
maybe this is already possible. If so, a code example would be appreciated.