1
0

feat(web): 尝试适配warm-flow

This commit is contained in:
2024-12-26 18:10:45 +08:00
parent b774806e58
commit 12cf45a106
3 changed files with 11 additions and 1 deletions

View File

@@ -28,6 +28,11 @@
<groupId>com.blinkfox</groupId>
<artifactId>fenix-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.dromara.warm</groupId>
<artifactId>warm-flow-jpa-sb-starter</artifactId>
<version>1.3.6</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>

View File

@@ -4,6 +4,8 @@ import com.blinkfox.fenix.EnableFenix;
import com.eshore.gringotts.web.domain.entity.User;
import com.eshore.gringotts.web.domain.service.UserService;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import lombok.extern.slf4j.Slf4j;
import org.dromara.warm.flow.spring.boot.config.FlowAutoConfig;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
@@ -21,7 +23,8 @@ import org.springframework.scheduling.annotation.EnableAsync;
* @author lanyuanxiaoyao
* @date 2024-11-14
*/
@SpringBootApplication(scanBasePackages = {"com.eshore.gringotts"})
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.eshore.gringotts"}, exclude = {FlowAutoConfig.class})
@EnableFenix
@EnableJpaAuditing
@EnableAsync

View File

@@ -34,6 +34,8 @@ logging:
sdk:
eventsub:
EventSubscribeImp: error
warm-flow:
jpa_persistence_provider: org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider
---
spring: