package tech.easyflow.starter;

import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.actuate.autoconfigure.elasticsearch.ElasticsearchRestHealthContributorAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tech.easyflow.common.spring.BaseApp;

/**
 * EasyFlow 启动入口。
 */
@SpringBootApplication(exclude = ElasticsearchRestHealthContributorAutoConfiguration.class)
@EnableFileStorage
public class MainApplication extends BaseApp {

    /**
     * 启动 EasyFlow 应用。
     *
     * @param args 启动参数
     */
    public static void main(String[] args) {
        run(MainApplication.class, args);
    }

}
