package com.primeton.dsp.upgrader.workflow;
import com.primeton.dsp.upgrader.DAOServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.jdbc.core.JdbcTemplate;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 工作流升级, 工作流升级只能在升级 元数据后,执行 step1, metacube 后执行的
*
*
* Created by zhaopx.
* User: zhaopx
* Date: 2020/6/8
* Time: 15:47
*
*
*
* @author zhaopx
*/
@Slf4j
public class WorkFlowUpgradeService extends DAOServiceImpl {
public WorkFlowUpgradeService(JdbcTemplate jdbcTemplate) {
super(jdbcTemplate);
}
/**
* 开始升级 WorkFlow
*/
public void doUpgradeWorkFlow() {
log.info("------------------upgrade workflow---------------------");
//List