Commit e172b89
authored
feat: 사용하지 않는 지원 조회 경로 제거 (#566)
* Guard recruit-scoped application flow against legacy lookup
The expanded recruitment flow relies on recruitId to identify one application among multiple active notices, so the old member/jobFamily-only lookup path is removed and missing recruitId calls are logged at the apply API boundary.
Constraint: Existing public apply URLs remain unchanged while recruitId is required as a query parameter
Rejected: Keep unused member-only active recruit repository methods | they allow ambiguous single-application lookup when multiple notices are active
Rejected: Put apply-specific logging in GlobalExceptionHandler | common exception handling should not know apply API paths
Confidence: high
Scope-risk: narrow
Tested: ./gradlew test --tests org.ject.support.domain.apply.controller.LegacyApplyApiExceptionHandlerTest --tests org.ject.support.domain.apply.controller.ApplyControllerTest --tests org.ject.support.domain.apply.service.ApplyServiceTest -x jacocoTestCoverageVerification --rerun-tasks
Tested: ./gradlew test --tests org.ject.support.domain.recruit.service.RecruitUpdatedEventHandlerTest --tests org.ject.support.domain.recruit.service.RecruitFlagServiceTest --tests org.ject.support.domain.recruit.service.AccessPeriodVerifierTest -x jacocoTestCoverageVerification --rerun-tasks
Not-tested: QuestionControllerTest requires Redis Testcontainers/Docker and fails locally during DockerClientProviderStrategy initialization
Related: #565
* Drop unsupported legacy apply logging
Frontend and server will release together, and there are no app clients that need a compatibility window. Missing recruitId requests should remain ordinary required-parameter failures instead of getting a dedicated legacy observation path.
Constraint: No separate legacy client rollout is required
Rejected: Keep deprecation logging for missing recruitId | adds code for a compatibility scenario the product does not need
Confidence: high
Scope-risk: narrow
Tested: ./gradlew test --tests org.ject.support.domain.apply.controller.ApplyControllerTest --tests org.ject.support.domain.apply.service.ApplyServiceTest --tests org.ject.support.domain.recruit.service.RecruitUpdatedEventHandlerTest --tests org.ject.support.domain.recruit.service.RecruitFlagServiceTest --tests org.ject.support.domain.recruit.service.AccessPeriodVerifierTest -x jacocoTestCoverageVerification --rerun-tasks
Related: #5651 parent 31d55f9 commit e172b89
6 files changed
Lines changed: 1 addition & 60 deletions
File tree
- src/main/java/org/ject/support/domain
- apply/repository
- recruit
- repository
- service
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
28 | 20 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 21 | | |
33 | 22 | | |
34 | 23 | | |
| |||
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 23 | | |
30 | 24 | | |
31 | 25 | | |
| |||
0 commit comments