add changelog & fix log

pull/1651/head
shedfreewu 2 months ago
parent 9f7fae9b00
commit 59743faaf9

@ -6,3 +6,4 @@
- [feat:upgrade to 2023.0.6.](https://github.com/Tencent/spring-cloud-tencent/pull/1646)
- [feat:Add log output and test scenarios in the FaultToleranceService file.](https://github.com/Tencent/spring-cloud-tencent/pull/1652)
- [fix: fix ConfigChangeListener and unit test](https://github.com/Tencent/spring-cloud-tencent/pull/1656)
- [feat: support spring-retry and feign config refresh and feign eager load support schema](https://github.com/Tencent/spring-cloud-tencent/pull/1651)

@ -51,12 +51,6 @@ public class ProviderController {
@Value("${spring.application.name:}")
private String applicationName;
@Value("${server.port:0}")
private int port;
@Value("${spring.cloud.client.ip-address:127.0.0.1}")
private String ip;
@Autowired
private ProviderNameConfig providerNameConfig;
@ -96,8 +90,8 @@ public class ProviderController {
@RequestMapping(value = "/echo/{param}", method = RequestMethod.GET)
public ResponseEntity<String> echo(@PathVariable String param) {
if (ifBadGateway) {
LOG.info("Quickstart Callee Service [{}:{}] is called wrong.", ip, port);
return new ResponseEntity<>("failed for call quickstart callee service.", HttpStatus.BAD_GATEWAY);
LOG.info("Provider Demo is called wrong.");
return new ResponseEntity<>("failed for call provider demo service. Address: " + getInet4Address(), HttpStatus.BAD_GATEWAY);
}
int status;

Loading…
Cancel
Save