package cn.axzo.workflow.client.feign.manage;

import cn.axzo.workflow.common.model.request.bpmn.BpmnButtonMetaInfo;
import cn.azxo.framework.common.model.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * OMS流程业务管理API
 *
 * @author zuoqinbo
 * @version V1.0
 * @date 2023/11/6 16:01
 */

@FeignClient(name = "workflow-engine", url = "${axzo.service.workflow-engine:http://workflow-engine:8080}")
public interface ProcessConfigApi {

    /**
     * 获取流程操作按钮列表
     *
     * @return 流程操作按钮列表
     */
    @GetMapping("/api/process/config/button/list")
    CommonResponse<List<BpmnButtonMetaInfo>> getDefaultButtons();


}
