package com.css.simulation.resource.server.infra.feign.fallback;

import api.common.pojo.common.ResponseBodyVO;
import api.common.pojo.param.scene.SceneEvaluationComputeParam;
import com.css.simulation.resource.server.infra.feign.service.SchedulerService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
@Component
public class SchedulerServiceFallback implements SchedulerService {

    @Override
    public ResponseBodyVO<String> check(@RequestParam String minioPath){
        return new ResponseBodyVO<>(ResponseBodyVO.Response.SERVER_FAILURE);
    }


    @Override
    public void computeSceneEvaluation(@RequestBody SceneEvaluationComputeParam sceneEvaluationComputeParam){
    }
}
