-
Notifications
You must be signed in to change notification settings - Fork 9
Documentation and example of filter usage #15
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In TShield exists a resource to transform request before(transform request body) and after(transform server response) but not exists documentation to usage.
Use case: In a project, it was necessary to simulate a cache of addresses. Instead of creating a mock it was used google service to recover real data.
Original flow:
client -> request_service > cache service -> response_service -> client
With TShield:
client -> request_service -> tshield -> before_filter(request_service to google_request) -> google -> after_filter(google_response to response_service) -> response_service -> client
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request