[Developer] #576 clarify verification user names

This commit is contained in:
devmrko
2026-06-30 17:41:11 +09:00
parent 8baaa3fe56
commit 28379c47f8
8 changed files with 105 additions and 9 deletions

View File

@@ -174,6 +174,20 @@ class GuidedFlowTemplateTest {
.doesNotContain("SYS.ODCIVARCHAR2LIST('SPRING_BOOT', 'ORDS')");
}
@Test
void defaultVerificationUsersUseHumanNamesInsteadOfRoleLikeAgentNames() throws IOException {
String seed = Files.readString(Path.of("sql/adb/17_agent_ords_security_local_vpd_setup.sql"));
String users = template("users.html");
String result = template("fragments/probe-result.html");
assertThat(seed)
.contains("(101, '이에이치알'")
.contains("(102, '박파이넨스'")
.contains("(103, '김어드민'");
assertThat(users).contains("이에이치알").doesNotContain(">agent_hr<");
assertThat(result).contains("김어드민").doesNotContain(">agent_all<");
}
@Test
void vectorOrdsHandlerReadsBodyStreamOnlyOnce() throws IOException {
String sql = Files.readString(Path.of("sql/adb/29_agent_ords_vector_search_ords.sql"));