Merge branch 'dc-feature'
# Conflicts: # pom.xml # src/main/resources/application.properties
This commit is contained in:
13
doc/WorkReport/2025-05-15-杜冲.md
Normal file
13
doc/WorkReport/2025-05-15-杜冲.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 工作日报 - 2025年5月
|
||||||
|
## 2025年5月15日
|
||||||
|
### ✅ 今日完成
|
||||||
|
- 完成删除和查询功能
|
||||||
|
|
||||||
|
_### 🚧 进行中
|
||||||
|
- 设计触发服务API请求调度缓存更新类
|
||||||
|
|
||||||
|
### ⚠️ 问题/障碍
|
||||||
|
- KingBase8数据库方言配置出错
|
||||||
|
|
||||||
|
### 📅 明日计划
|
||||||
|
- 完成触发API请求调度缓存更新类
|
28
pom.xml
28
pom.xml
@ -71,6 +71,8 @@
|
|||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 数据库驱动 -->
|
||||||
|
|
||||||
<!-- 数据库驱动 -->
|
<!-- 数据库驱动 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
@ -162,6 +164,10 @@
|
|||||||
<version>3.0.4</version>
|
<version>3.0.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
<groupId>org.mybatis.spring.boot</groupId>
|
||||||
|
<artifactId>mybatis-spring-boot-starter-test</artifactId>
|
||||||
|
<version>3.0.4</version>
|
||||||
|
<scope>test</scope>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
<version>3.17.0</version>
|
<version>3.17.0</version>
|
||||||
@ -240,28 +246,6 @@
|
|||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<annotationProcessorPaths>
|
|
||||||
<path>
|
|
||||||
<groupId>org.mapstruct</groupId>
|
|
||||||
<artifactId>mapstruct-processor</artifactId>
|
|
||||||
<version>1.5.5.Final</version>
|
|
||||||
</path>
|
|
||||||
</annotationProcessorPaths>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.xml</include>
|
|
||||||
<include>**/*.properties</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
@ -1,7 +1,9 @@
|
|||||||
package com.bipt.intelligentapplicationorchestrationservice.config;
|
package com.bipt.intelligentapplicationorchestrationservice.config;
|
||||||
|
|
||||||
|
import ch.qos.logback.classic.Logger;
|
||||||
import io.lettuce.core.ClientOptions;
|
import io.lettuce.core.ClientOptions;
|
||||||
import io.lettuce.core.SocketOptions;
|
import io.lettuce.core.SocketOptions;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -79,6 +81,13 @@ public class RedisConfig {
|
|||||||
@Bean
|
@Bean
|
||||||
public RedisTemplate<String, Object> redisTemplate(){
|
public RedisTemplate<String, Object> redisTemplate(){
|
||||||
RedisTemplate<String, Object> template = new RedisTemplate<>();
|
RedisTemplate<String, Object> template = new RedisTemplate<>();
|
||||||
|
Logger log = (Logger) LoggerFactory.getLogger(RedisConfig.class);
|
||||||
|
log.info("开始创建redis模板对象...");
|
||||||
|
//RedisTemplate redisTemplate = new RedisTemplate();
|
||||||
|
//设置redis的连接工厂对象
|
||||||
|
//redisTemplate.setConnectionFactory(redisConnectionFactory);
|
||||||
|
//设置redis key的序列化器
|
||||||
|
//redisTemplate.setKeySerializer(new StringRedisSerializer());
|
||||||
//RedisTemplate<String, GpuResource> template = new RedisTemplate<>();
|
//RedisTemplate<String, GpuResource> template = new RedisTemplate<>();
|
||||||
template.setConnectionFactory(redisConnectionFactory());
|
template.setConnectionFactory(redisConnectionFactory());
|
||||||
template.setKeySerializer(new StringRedisSerializer());
|
template.setKeySerializer(new StringRedisSerializer());
|
||||||
|
@ -32,3 +32,4 @@ spring.cloud.gateway.routes[0].predicates[0]=Path=/request
|
|||||||
#SQL 语句日志输出配置
|
#SQL 语句日志输出配置
|
||||||
logging.level.com.bipt.intelligentapplicationorchestrationservice.mapper=DEBUG
|
logging.level.com.bipt.intelligentapplicationorchestrationservice.mapper=DEBUG
|
||||||
mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
|
mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||||
|
spring.jpa.database-platform=org.hibernate.dialect.Kingbase8Dialect
|
Reference in New Issue
Block a user