@ -63,8 +63,6 @@ public class QuickstartCalleeController {
privatebooleanifBadGateway=true;
privatebooleanifDelay=true;
privatebooleanisInfoSuccess=true;
/**
*Getsumoftwovalue.
*@paramvalue1value1
@ -83,13 +81,8 @@ public class QuickstartCalleeController {
*/
@GetMapping("/info")
publicResponseEntity<String>info(){
if(isInfoSuccess){
LOG.info("Quickstart [{}] Service [{}:{}] is called. datasource = [{}].",appName,ip,port,dataSourceProperties);
returnnewResponseEntity<>(String.format("Quickstart [%s] Service [%s:%s] is called. datasource = [%s].",appName,ip,port,dataSourceProperties),HttpStatus.OK);
}
else{
returnnewResponseEntity<>(String.format("Failed to call quickstart [%s] service [%s:%s]. datasource = [%s].",appName,ip,port,dataSourceProperties),HttpStatus.BAD_GATEWAY);
}
LOG.info("Quickstart [{}] Service [{}:{}] is called. datasource = [{}].",appName,ip,port,dataSourceProperties);
returnnewResponseEntity<>(String.format("Quickstart [%s] Service [%s:%s] is called. datasource = [%s].",appName,ip,port,dataSourceProperties),HttpStatus.OK);
}
/**
@ -173,19 +166,6 @@ public class QuickstartCalleeController {