2023년 9월 14일
출처:
https://github.com/313DEVGRP/Java-Service-Tree-Framework-Backend-Core
Frontend-Web & Middle-Proxy - pdService
Backend-Core로 전달된 URL
http://localhost:9999/auth-user/api/arms/pdServicePure/getPdServiceMonitor.do?_=1694586233799
// PdServicePureController의 getPdServiceMonitor 메서드
@ResponseBody
@RequestMapping(
value = {"/getPdServiceMonitor.do"},
method = {RequestMethod.GET}
)
public ResponseEntity<?> getPdServiceMonitor(PdServicePureDTO pdServicePureDTO, ModelMap model, HttpServletRequest request) throws Exception {
log.info("PdServicePureController:: getPdServiceMonitor");
PdServicePureEntity pdServicePureEntity = modelMapper.map(pdServicePureDTO, PdServicePureEntity.class);
return ResponseEntity.ok(CommonResponse.success(pdService.getNodesWithoutRoot(pdServicePureEntity)));
}
list(List<PdServicePureEntity>) return, 1의 ResponseEntity로 반환한다.
반환된 결과값 열기
조회 결과 반환하는 결과 값 List 중 PdServicePureEntity는 다음과 같습니다. 열기