erdengk commented on a change in pull request #2985:
URL: https://github.com/apache/incubator-shenyu/pull/2985#discussion_r825957068
##########
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:
I think there should be separate controllers for each type of test.
When integrated, a single change affects all tests.
I think the unified approach is suitable for situations that don't change,
like ResultBean, only code, message, data .
--
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]