AI分析中心服务 更新配置文件
This commit is contained in:
@@ -126,11 +126,17 @@
|
|||||||
<artifactId>xxl-job-core</artifactId>
|
<artifactId>xxl-job-core</artifactId>
|
||||||
<version>2.3.0</version>
|
<version>2.3.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<!--<dependency>
|
||||||
<groupId>com.clickhouse</groupId>
|
<groupId>com.clickhouse</groupId>
|
||||||
<artifactId>clickhouse-jdbc</artifactId>
|
<artifactId>clickhouse-jdbc</artifactId>
|
||||||
<version>0.3.2</version>
|
<version>0.3.2</version>
|
||||||
|
</dependency>-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>ru.yandex.clickhouse</groupId>
|
||||||
|
<artifactId>clickhouse-jdbc</artifactId>
|
||||||
|
<version>0.1.53</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <groupId>com.zaxxer</groupId>-->
|
<!-- <groupId>com.zaxxer</groupId>-->
|
||||||
<!-- <artifactId>HikariCP</artifactId>-->
|
<!-- <artifactId>HikariCP</artifactId>-->
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ import java.util.stream.Collectors;
|
|||||||
@Service
|
@Service
|
||||||
public class MqMessageRecordServiceImpl extends ServiceImpl<MqMessageRecordMapper, MqMessageRecord> implements MqMessageRecordService {
|
public class MqMessageRecordServiceImpl extends ServiceImpl<MqMessageRecordMapper, MqMessageRecord> implements MqMessageRecordService {
|
||||||
|
|
||||||
@Autowired
|
// @Autowired
|
||||||
private AmqpTemplate rabbitTemplate;
|
// private AmqpTemplate rabbitTemplate;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DataMaskingRuleService dataMaskingRuleService;
|
private DataMaskingRuleService dataMaskingRuleService;
|
||||||
@@ -462,7 +462,7 @@ public class MqMessageRecordServiceImpl extends ServiceImpl<MqMessageRecordMappe
|
|||||||
rabbitMqToData.setSubSinceType(SubSinceTypeEnum.SINCETYPE53.getCode());
|
rabbitMqToData.setSubSinceType(SubSinceTypeEnum.SINCETYPE53.getCode());
|
||||||
rabbitMqToData.setData(curDiffDefeatCallback);
|
rabbitMqToData.setData(curDiffDefeatCallback);
|
||||||
String callbackInput = JSONObject.toJSONString(rabbitMqToData);
|
String callbackInput = JSONObject.toJSONString(rabbitMqToData);
|
||||||
rabbitTemplate.convertAndSend(Constant.rabbitToFormQueue, callbackInput);
|
// rabbitTemplate.convertAndSend(Constant.rabbitToFormQueue, callbackInput);
|
||||||
log.info("发送回调MQ完成: {}", callbackInput);
|
log.info("发送回调MQ完成: {}", callbackInput);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ spring:
|
|||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
mysql:
|
mysql:
|
||||||
usePingMethod: false
|
usePingMethod: false
|
||||||
|
|
||||||
clickhouse-ads-ai:
|
clickhouse-ads-ai:
|
||||||
minimum-idle: 1
|
minimum-idle: 1
|
||||||
maximum-pool-size: 80
|
maximum-pool-size: 80
|
||||||
@@ -47,6 +46,7 @@ spring:
|
|||||||
username: ai_xl
|
username: ai_xl
|
||||||
password: "Xw&-a4Qen;h5bmTz"
|
password: "Xw&-a4Qen;h5bmTz"
|
||||||
driver-class-name: ru.yandex.clickhouse.ClickHouseDriver
|
driver-class-name: ru.yandex.clickhouse.ClickHouseDriver
|
||||||
|
|
||||||
#mybatis 配置
|
#mybatis 配置
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations: classpath:mapper/**/*.xml
|
mapper-locations: classpath:mapper/**/*.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user