-
Notifications
You must be signed in to change notification settings - Fork 0
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
우아한테크코스 6기 최종 코딩 테스트: OnCall 리뷰용 브랜치 #1
base: donghoony
Are you sure you want to change the base?
Commits on Dec 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f9003e - Browse repository at this point
Copy the full SHA 4f9003eView commit details -
feat(OnCallException): 프로그램에서 사용될 커스텀 예외 템플릿 작성
앞으로 예외 사항은 해당 클래스를 상속하여 진행한다
Configuration menu - View commit details
-
Copy full SHA for 7b5fbf5 - Browse repository at this point
Copy the full SHA 7b5fbf5View commit details -
feat(Worker): 근무자 클래스 작성, 이름 제한 검증 구현
기본적인 근무자 클래스를 작성하고, 이에 대한 이름 검증 클래스를 구현한다. 이름은 최대 다섯 글자 이내여야 한다
Configuration menu - View commit details
-
Copy full SHA for 40da02b - Browse repository at this point
Copy the full SHA 40da02bView commit details -
feat(OnCallRoster): 근무표 클래스 작성, 기본 검증 구현
근무자로 이루어진 근무표 클래스를 작성하고, 기본 검증을 구현한다. 근무자가 5명 이상 35명 이하여야 하고, 중복된 근무자는 존재하면 안 된다.
Configuration menu - View commit details
-
Copy full SHA for 3ba3bb6 - Browse repository at this point
Copy the full SHA 3ba3bb6View commit details -
feat(OnCallRoster): 같은 근무자로 이루어졌는지 확인하는 기능 구현
두 개의 근무표를 비교해 같은 근무자로 이루어졌는지 확인하는 기능을 구현한다
Configuration menu - View commit details
-
Copy full SHA for 5696be2 - Browse repository at this point
Copy the full SHA 5696be2View commit details -
refactor(OnCallRoster): Roster로 클래스명 변경
어플리케이션 이름이 OnCall이므로, 불필요한 접두사를 제거한다
Configuration menu - View commit details
-
Copy full SHA for 369289a - Browse repository at this point
Copy the full SHA 369289aView commit details -
feat(Roster): 다음 근무자 순번을 알아내는 기능 구현
`Iterator`를 사용해 다음 근무자 순번을 알아낸다. 경우에 따라 다다음 근무자 순번이 필요할 수 있으므로, 이 경우에는 다다음을 얻은 뒤, 스킵을 만들어 둔다.
Configuration menu - View commit details
-
Copy full SHA for 22f4a78 - Browse repository at this point
Copy the full SHA 22f4a78View commit details -
feat(CombinedRoster): 평일, 휴일 근무표를 관리하는 기능 구현
평일, 휴일에 다음 순번을 가져오는 메서드를 가진다. 직전 근무자 정보를 받아, 다음 혹은 다다음 순번의 근무자를 알려주는 역할을 한다
Configuration menu - View commit details
-
Copy full SHA for 7a3fedc - Browse repository at this point
Copy the full SHA 7a3fedcView commit details -
refactor(Worker): 클래스를 레코드 타입으로 변경
Worker는 이름만을 가진다. 또 이름만으로 다른 사람과 비교하므로, 간결하게 작성하기 위해 Record로 변경한다
Configuration menu - View commit details
-
Copy full SHA for 07c98bd - Browse repository at this point
Copy the full SHA 07c98bdView commit details -
feat(RosterDay): 날짜 클래스, 휴일 여부 판단 구현
기존 날짜 클래스는 연도가 필요하기에, 적절한 날짜를 만들기 위해 새로운 자료형이 필요하다고 판단한다. 따라서 월, 일과 그날의 요일을 받는다. 또, 해당 날짜가 휴일에 포함되는지 확인한다
Configuration menu - View commit details
-
Copy full SHA for b1a900f - Browse repository at this point
Copy the full SHA b1a900fView commit details -
feat(RosterDay): 출력 형식에 맞도록 toString 정의
`Locale`을 활용해 원하는 대로 출력할 수 있게 구현한다.
Configuration menu - View commit details
-
Copy full SHA for 44f2d9f - Browse repository at this point
Copy the full SHA 44f2d9fView commit details -
feat(MonthlyCalendar): 한 달의 달력을 구현, 날짜 수를 기반으로 날짜 생성 구현
`RosterDay`를 리턴해 주는 클래스. 프로그램은 한 달 안에서 돌아가기 때문에, 해당 달을 한 번 생성한 뒤 계속 사용한다
Configuration menu - View commit details
-
Copy full SHA for 2364bd3 - Browse repository at this point
Copy the full SHA 2364bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db2c73 - Browse repository at this point
Copy the full SHA 6db2c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b157eb - Browse repository at this point
Copy the full SHA 5b157ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 303702d - Browse repository at this point
Copy the full SHA 303702dView commit details -
feat(DailyRoster): 일일 근무자를 기록하는 클래스 작성, toString 구현
Service에서 생성할 일일 근무자 클래스, 각각의 toString과 worker.name을 통해 출력 형식을 지킨다
Configuration menu - View commit details
-
Copy full SHA for 830f614 - Browse repository at this point
Copy the full SHA 830f614View commit details -
feat(MonthlyRoster): 월별 근무자를 모두 담는 클래스 작성, toString 구현
Service에서 생성할 월별 근무자 클래스. 최종적으로 서비스가 만들어 내는 것이며, 이를 출력하여 사용자에게 보여준다
Configuration menu - View commit details
-
Copy full SHA for ba7d9a1 - Browse repository at this point
Copy the full SHA ba7d9a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b48d1cd - Browse repository at this point
Copy the full SHA b48d1cdView commit details -
feat(CombinedRoster): 날짜가 주어지면, 날짜의 휴일 여부를 판단해 다음 근무자를 배정하도록 구현
바깥에서 각각 `getWeekDayWorker`, `getHolidayWorker`를 분기하지 않고, 내부에서 확인해 알아내도록 한다
Configuration menu - View commit details
-
Copy full SHA for c2a663c - Browse repository at this point
Copy the full SHA c2a663cView commit details -
지금까지 작성한 도메인을 바탕으로 특정 달의 근무표를 만들어내는 역할을 한다.
Configuration menu - View commit details
-
Copy full SHA for 7e41023 - Browse repository at this point
Copy the full SHA 7e41023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd3de1 - Browse repository at this point
Copy the full SHA 9cd3de1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b176e4 - Browse repository at this point
Copy the full SHA 2b176e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64f36d7 - Browse repository at this point
Copy the full SHA 64f36d7View commit details -
refactor(OnCallInput): 평일/휴일 비상근무 입력 방식 통일
두 개의 입력 메서드가 아닌, 같은 메서드를 활용하도록 한다. 추후에 컨트롤러 단에서 이를 적절히 활용한다
Configuration menu - View commit details
-
Copy full SHA for 75c769b - Browse repository at this point
Copy the full SHA 75c769bView commit details -
feat(OnCallConsoleInput): 입력 형식에 맞도록 OnCallInput 구현체 작성
입력 사항 및 입력에 대한 검증을 이곳에서 수행한다
Configuration menu - View commit details
-
Copy full SHA for 89d28f1 - Browse repository at this point
Copy the full SHA 89d28f1View commit details -
refactor(RosterService): CombinedRoster를 그때그때 받아 만들 수 있도록 수정
확장성 및 재사용성을 고려해서, 서비스가 생성될 때 고정하는 것이 아니라, 매번 근무표를 생성할 때마다 명단을 받아오도록 수정한다
Configuration menu - View commit details
-
Copy full SHA for 931120b - Browse repository at this point
Copy the full SHA 931120bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad6ad3d - Browse repository at this point
Copy the full SHA ad6ad3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf58727 - Browse repository at this point
Copy the full SHA bf58727View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fb9a4 - Browse repository at this point
Copy the full SHA 31fb9a4View commit details -
fix(RosterService): 달의 마지막 날이 포함되지 않던 오류 수정
IntStream.range`는 exclusive이기 때문에 끝 날짜가 포함되지 않았다. 이를 `rangeClosed`로 수정해 구현한다
Configuration menu - View commit details
-
Copy full SHA for a9e12a8 - Browse repository at this point
Copy the full SHA a9e12a8View commit details -
fix(CombinedRoster): 다음 날짜와 체크할 때, iterator가 움직이는 현상 수정
`getNextWorker`로 확인할 때 `iterator`가 같이 움직여 다다음 근무자가 선정되던 오류를 수정한다
Configuration menu - View commit details
-
Copy full SHA for 28d1267 - Browse repository at this point
Copy the full SHA 28d1267View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4182fc - Browse repository at this point
Copy the full SHA b4182fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37c7a88 - Browse repository at this point
Copy the full SHA 37c7a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10b65d1 - Browse repository at this point
Copy the full SHA 10b65d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c06ab0c - Browse repository at this point
Copy the full SHA c06ab0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eeb9e20 - Browse repository at this point
Copy the full SHA eeb9e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd11bf2 - Browse repository at this point
Copy the full SHA fd11bf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2bea11 - Browse repository at this point
Copy the full SHA f2bea11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6381ab2 - Browse repository at this point
Copy the full SHA 6381ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a770c3b - Browse repository at this point
Copy the full SHA a770c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de20c2 - Browse repository at this point
Copy the full SHA 0de20c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2412bc3 - Browse repository at this point
Copy the full SHA 2412bc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a92e9ab - Browse repository at this point
Copy the full SHA a92e9abView commit details