cn.herodotus.stirrup.logic.bpmn.configuration.BpmnLogicMongodbConfiguration Maven / Gradle / Ivy
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.logic.bpmn.configuration;
import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
/**
* Description: 动态表单相关内容配置
*
* @author : gengwei.zheng
* @date : 2023/2/13 16:47
*/
@Configuration(proxyBeanMethods = false)
@EntityScan(basePackages = {
"cn.herodotus.stirrup.logic.bpmn.mongodb.entity",
})
@EnableMongoRepositories(basePackages = {
"cn.herodotus.stirrup.logic.bpmn.mongodb.repository",
})
@ComponentScan(basePackages = {
"cn.herodotus.stirrup.logic.bpmn.mongodb.service",
"cn.herodotus.stirrup.logic.bpmn.mongodb.controller",
})
public class BpmnLogicMongodbConfiguration {
private static final Logger log = LoggerFactory.getLogger(BpmnLogicMongodbConfiguration.class);
@PostConstruct
public void postConstruct() {
log.debug("[Herodotus] |- SDK [Bpmn Logic Mongodb] Auto Configure.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy