megaease / easemesh

A service mesh implementation for connecting, control, and observe services in spring-cloud.
https://megaease.com/easemesh
Apache License 2.0
508 stars 61 forks source link

Easily mock a service #68

Closed xxx7xxxx closed 3 years ago

xxx7xxxx commented 3 years ago

Requirement

Currently we can not mock results for the service, we want to add the filter Mock[1] to the mesh pipeline to do it. One question here is whether we make it fixed like what we did, or add self-defined pre-filters/post-filters for the fixed pipeline(or as a new feature).

[1] https://github.com/megaease/easegress/blob/main/pkg/filter/mock/mock.go

xxx7xxxx commented 3 years ago

Closed because #54 addressed it.