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

Mocking Service based on API spec, enabled explicitly in API CRD, mock responsess provided from OpenAPI examples #41

Closed
dobegor opened this issue Oct 25, 2021 · 1 comment · Fixed by #223, #232 or #238

Comments

@dobegor
Copy link
Contributor

dobegor commented Oct 25, 2021

No description provided.

@Tarick
Copy link
Contributor

Tarick commented Jan 31, 2022

Preliminary design considerations:

  1. Mocking service as a sidecar to Envoy Proxy.
  2. On specifying enabled mocking per path/method - setup Envoy routing for this path/method to the sidecar and update sidecar configuration for this path/method. Update configuration using GRPC transport with snapshots similarly as Envoy's XDS is implemented.
  3. Mocking service as an HTTP server with only one route /.
  4. Mocking service identifies the mocking configuration for that path/method using some additional header.
  5. Mocking service generates mocking configuration using the examples section OR similarly as https://github.com/muonsoft/openapi-mock does. Initial implementation should use the examples from OpenAPI spec.

@Tarick Tarick modified the milestones: 0.0.1, next Jan 31, 2022
@Tarick Tarick mentioned this issue Feb 9, 2022
3 tasks
This was linked to pull requests Mar 1, 2022
@Tarick Tarick closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment