feat(phase-3,4): 证据件服务端落点与两前端大档分片接线
- 后端新增 evidence 模块(V182 证据表/独立桶/超管读取面/内部登记)与 application.yml evidence 块;管理员四端点逐个 requireSuperAdmin。 - 分片通道补 @Scheduled 回收与 LocalTempCleanupService 的 chunk-uploads 覆盖; 版本/教程 confirm 接受 file_key,把拼装件搬进 client 桶后落库。 - 用户端 9MB 视频改走 uploadTempFileToJava 分片;后管版本/教程 >8MB 走分片, 小文件仍走原 presign 直传。 - 激活 Phase 3/4 后端与两前端预置契约。
This commit is contained in:
-2
@@ -5,7 +5,6 @@ import com.nanri.aiimage.common.model.entity.AdminUserEntity;
|
||||
import com.nanri.aiimage.common.security.AdminAuthSupport;
|
||||
import com.nanri.aiimage.common.security.DeviceSessionPolicy;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
@@ -55,7 +54,6 @@ import static org.mockito.Mockito.when;
|
||||
* <p>四样本中的「合法 JWT 200」在 Phase 3 由真机/集成用例补齐(本文件钉守卫放行分支,
|
||||
* 蓝图 Phase 3 准出另见 {@code 鉴权四样本真机留痕})。</p>
|
||||
*/
|
||||
@Disabled("Pending Phase 3: 证据件上云与服务端落点(AC-7/AC-13/AC-14)")
|
||||
class EvidencePhase3ContractTest {
|
||||
|
||||
private static final Path MODULE = Path.of("").toAbsolutePath();
|
||||
|
||||
-2
@@ -2,7 +2,6 @@ package com.nanri.aiimage.modules.file.service;
|
||||
|
||||
import com.nanri.aiimage.config.StorageProperties;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
@@ -41,7 +40,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
* <p>分片会话只有盘上 meta/part,无 DB 行;证据表的 DB 行保留期判据见
|
||||
* {@code EvidencePhase3ContractTest}(AC-13 配置块)。</p>
|
||||
*/
|
||||
@Disabled("Pending Phase 4: 服务端残骸回收补洞(AC-10)")
|
||||
class ChunkedUploadReclaimContractTest {
|
||||
|
||||
@TempDir
|
||||
|
||||
Reference in New Issue
Block a user