disable advice

This commit is contained in:
Anton Romanov 2021-10-14 09:48:41 +04:00
parent bb75029251
commit f721d3eb98
2 changed files with 9 additions and 13 deletions

View File

@ -8,17 +8,13 @@ package ru.ulstu.controller;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.HttpServerErrorException; import org.springframework.web.client.HttpServerErrorException;
import ru.ulstu.datamodel.exception.ForecastValidateException; import ru.ulstu.datamodel.exception.ForecastValidateException;
import ru.ulstu.datamodel.exception.TimeSeriesValidateException; import ru.ulstu.datamodel.exception.TimeSeriesValidateException;
import ru.ulstu.datamodel.response.ErrorConstants; import ru.ulstu.datamodel.response.ErrorConstants;
import ru.ulstu.datamodel.response.ResponseExtended; import ru.ulstu.datamodel.response.ResponseExtended;
@RestController
@ControllerAdvice
public class AdviceController { public class AdviceController {
private final Logger log = LoggerFactory.getLogger(AdviceController.class); private final Logger log = LoggerFactory.getLogger(AdviceController.class);

View File

@ -1,9 +1,9 @@
2021-04-30T09:32:57.120554;37.13 2020-04-30T09:32:57.120554;37.13
2021-05-31T09:32:57.120554;39.89 2020-05-31T09:32:57.120554;39.89
2021-06-30T09:32:57.120554;41.6 2020-06-30T09:32:57.120554;41.6
2021-07-30T09:32:57.120554;35.39 2020-07-30T09:32:57.120554;35.39
2021-08-31T09:32:57.120554;33.46 2020-08-31T09:32:57.120554;33.46
2021-09-30T09:32:57.120554;45.42 2020-09-30T09:32:57.120554;45.42
2021-10-30T09:32:57.120554;41.99 2020-10-30T09:32:57.120554;41.99
2021-11-30T09:32:57.120554;40.93 2020-11-30T09:32:57.120554;40.93
2021-12-30T09:32:57.120554;36.07 2020-12-30T09:32:57.120554;36.07
1 2021-04-30T09:32:57.120554 2020-04-30T09:32:57.120554 37.13
2 2021-05-31T09:32:57.120554 2020-05-31T09:32:57.120554 39.89
3 2021-06-30T09:32:57.120554 2020-06-30T09:32:57.120554 41.6
4 2021-07-30T09:32:57.120554 2020-07-30T09:32:57.120554 35.39
5 2021-08-31T09:32:57.120554 2020-08-31T09:32:57.120554 33.46
6 2021-09-30T09:32:57.120554 2020-09-30T09:32:57.120554 45.42
7 2021-10-30T09:32:57.120554 2020-10-30T09:32:57.120554 41.99
8 2021-11-30T09:32:57.120554 2020-11-30T09:32:57.120554 40.93
9 2021-12-30T09:32:57.120554 2020-12-30T09:32:57.120554 36.07