erdengk commented on a change in pull request #2985:
URL: https://github.com/apache/incubator-shenyu/pull/2985#discussion_r825906836
##########
File path:
shenyu-examples/shenyu-examples-http/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java
##########
@@ -367,4 +367,30 @@ private UserDTO buildUser(final String id, final String
name) {
userDTO.setUserName(name);
return userDTO;
}
+
+ /**
+ * the waf pass.
+ *
+ * @return response. result bean
+ */
+ @GetMapping ("/hystrix/pass")
+ public ResultBean hystrixPass() {
Review comment:
https://github.com/apache/incubator-shenyu/blob/e3456e91a093057455fbf09916cca09a3982e9ca/shenyu-examples/shenyu-examples-http/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java#L159-L164
https://github.com/apache/incubator-shenyu/blob/e3456e91a093057455fbf09916cca09a3982e9ca/shenyu-examples/shenyu-examples-http/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java#L204-L212
I noticed that the previous test also created a corresponding method, so I
also created a new method belonging to the Hystrix plugin. I think doing this
reduces the coupling between methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]