|
|
|
@ -344,12 +344,12 @@ public class IvsDeviceController { |
|
|
|
ivsDevChanSnapVo.setUUID(uuid); |
|
|
|
ivsSnapshotView = ivsResourceRetryableDelegate.getSnapshotRetryable(ivsDevChanSnapVo); |
|
|
|
} catch (IOException e) { |
|
|
|
log.info("ivsSnapshotView {}", e.getMessage() + " final fail"); |
|
|
|
log.info("URI_PLATFORM_SNAPSHOT FINAL FAIL Msg: {}", e.getMessage()); |
|
|
|
return ResponseEntity.ok().body(new InputStreamResource(ivsResourceRetryableDelegate.generateErrorImage())); |
|
|
|
} |
|
|
|
|
|
|
|
if(ivsSnapshotView == null) { |
|
|
|
log.info("ivsSnapshotView from recover!!!"); |
|
|
|
log.info("URI_PLATFORM_SNAPSHOT FROM RECOVER!!!"); |
|
|
|
return ResponseEntity.ok().body(new InputStreamResource(ivsResourceRetryableDelegate.generateErrorImage())); |
|
|
|
} |
|
|
|
|
|
|
|
@ -372,12 +372,12 @@ public class IvsDeviceController { |
|
|
|
ivsChanSnapVo.setPassword(ivsDevChanSnapVo.getPassword()); |
|
|
|
snapShotView = ivsResourceRetryableDelegate.getSnapshotListRetryable(ivsChanSnapVo); |
|
|
|
} catch (IOException e) { |
|
|
|
log.info("snapShotView {}", e.getMessage() + " final fail"); |
|
|
|
log.info("URI_SNAPSHOT_LIST FINAL FAIL Msg: {}", e.getMessage()); |
|
|
|
return ResponseEntity.ok().body(new InputStreamResource(ivsResourceRetryableDelegate.generateErrorImage())); |
|
|
|
} |
|
|
|
|
|
|
|
if(snapShotView == null) { |
|
|
|
log.info("snapShotView from recover!!!"); |
|
|
|
log.info("URI_SNAPSHOT_LIST FROM RECOVER!!!"); |
|
|
|
return ResponseEntity.ok().body(new InputStreamResource(ivsResourceRetryableDelegate.generateErrorImage())); |
|
|
|
} |
|
|
|
|
|
|
|
|