@@ -198,7 +198,7 @@ public class AciPodTasklet implements Tasklet {
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
JsonNode jsonNode = objectMapper.readTree(response.getBody());
|
||||
|
||||
log.debug("[AciPodBatch] API 응답 Status: {}", jsonNode.get("Status").asText());
|
||||
log.info("[AciPodBatch] API 응답 Status: {}", jsonNode.get("Status").asText());
|
||||
JsonNode podInfoNode = jsonNode.get("PODInfo");
|
||||
if(!podInfoNode.isNull()) {
|
||||
List<DataMap> podInfoList = new ArrayList<>();
|
||||
@@ -252,10 +252,10 @@ public class AciPodTasklet implements Tasklet {
|
||||
|
||||
podInfoList.add(PODInfo);
|
||||
}
|
||||
log.debug("[AciPodBatch] API 응답 PODInfo: {}", podInfoList);
|
||||
log.info("[AciPodBatch] API 응답 PODInfo: {}", podInfoList);
|
||||
return podInfoList;
|
||||
} else {
|
||||
log.debug("[AciPodBatch] API 응답 ErrMsg: {}", jsonNode.get("ErrMsg").asText());
|
||||
log.info("[AciPodBatch] API 응답 ErrMsg: {}", jsonNode.get("ErrMsg").asText());
|
||||
return null;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user