-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP API를 추가한다. #249
Comments
EvaluationTargetController
EvaluationTargetService
[GET] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}/targets/{keyword}"
[PUT] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}/targets/renew"
[GET] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}/targets/{targetId}/grade"
[PATCH] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}/targets/{targetId}/grade"
RecruitmentRestController
recruitmentService
recruitmentItemService
[GET] "/api/recruitments" - 기존 API
[GET] "/api/recruitments/{id}/items" - 기존 API
[POST] "/api/recruitments"
[DELETE]"/api/recruitments/{id}"
[GET] "/api/recruitments/{id}"
[논의 사항] 관리자 권한에 따라 DTO를 나눌 API와 서비스 메서드[GET] "/api/recruitments"
[GET] "/api/recruitments/{id}"
|
진행 사항
EvaluationRestController(1) - [POST] "/api/recruitments/{recruitmentId}/evaluations"
(2) - [GET] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}"
(3) - [GET] "/api/recruitments/{recruitmentId}/evaluations"
(5) - [DELETE] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}"
ExcelRestController(6) - [GET] "/api/recruitments/{recruitmentId}/applicants/excel"
(7) - [GET] "/api/recruitments/{recruitmentId}/evaluations/{evaluationId}/targets/excel"
|
API 설계
모집
평가
지원자
평가 대상자
지원서
부정행위자
|
아래 원칙을 따르되 이해관계자가 최대한 이해할 수 있는 방식으로 API를 설계한다.
|
Vaadin View로만 호출할 수 있는 Service 기능이 있다. Controller를 추가하여 HTTP 통신으로도 호출할 수 있게 한다.
Spring REST Docs, Spring HATEOAS 등의 도입도 고려해 본다.
관련 이슈: #223
The text was updated successfully, but these errors were encountered: