IndexEnhancer 建表后按元数据补 CREATE INDEX IF NOT EXISTS:外键(REFERENCEID=36位 uuid)列 + UPDATETIME 审计列;跳过 ISIDENTIFIER/ISCOMBIDENTIFIER(引擎已建 unique); 索引名截断到 PG 上限 63。BacklogIndexScriptGenerator 为存量实体只生成脚本落盘不执行 (客户库执行排切流期变更窗口)。MetaController 接入:createEntity 自动补索引 + 失效缓存、 dropEntity/新增 evict、backlog-index 端点。metadata pom 加 Caffeine(白名单+POInfo缓存)。 单测 6 个。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
26 lines
1.7 KiB
XML
26 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.eip4</groupId>
|
|
<artifactId>eip4-platform</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>platform-metadata</artifactId>
|
|
<name>platform-metadata</name>
|
|
<description>现代层:REST API、DTO、OpenAPI(com.eip4.*)</description>
|
|
<dependencies>
|
|
<dependency><groupId>com.eip4</groupId><artifactId>platform-legacy-core</artifactId></dependency>
|
|
<dependency><groupId>com.eip4</groupId><artifactId>platform-converter</artifactId></dependency>
|
|
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency>
|
|
<dependency><groupId>org.springdoc</groupId><artifactId>springdoc-openapi-starter-webmvc-ui</artifactId></dependency>
|
|
<dependency><groupId>com.networknt</groupId><artifactId>json-schema-validator</artifactId></dependency>
|
|
<!-- P1-3 标识符白名单缓存 / P1-4 POInfo 缓存:进程内本地缓存,版本走 Spring Boot BOM(3.1.8) -->
|
|
<dependency><groupId>com.github.ben-manes.caffeine</groupId><artifactId>caffeine</artifactId></dependency>
|
|
<dependency><groupId>com.fasterxml.jackson.datatype</groupId><artifactId>jackson-datatype-joda</artifactId></dependency>
|
|
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency>
|
|
</dependencies>
|
|
</project>
|