154 Commits

Author SHA1 Message Date
Mirna Gama
4bbaa9e720 [R10] Delete method to cancel consultation in controller class 2024-01-31 14:52:17 -03:00
Mirna Gama
ef3d5408fd [R10] Cancel consultation method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
e3f5921c97 [R10] Consider the canceled status when fetching for consultation data 2024-01-31 14:52:17 -03:00
Mirna Gama
44dd12e203 [R10] Add attributes for canceled status and reason of cancellation 2024-01-31 14:52:17 -03:00
Mirna Gama
55122076fb [R10] Stupid typos in java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
06006c3a65 [R10] FInd consultation by id use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
0bc8cdddd5 [R10] Consultation Canceled DTO and ReasonCancellation Data 2024-01-31 14:52:17 -03:00
Mirna Gama
5c9ae32b38 [R9] Add jwt env 2024-01-31 14:52:17 -03:00
Mirna Gama
4019971689 [R9] Fix DataIntegrityViolationException 2024-01-31 14:52:17 -03:00
Mirna Gama
eafbdbc396 [R9] Consultation controller post method unit tests 2024-01-31 14:52:17 -03:00
Mirna Gama
da71995abd [R9] Consultation service with unit tests for add method 2024-01-31 14:52:17 -03:00
Mirna Gama
8fd28dbe36 [R9] Fix wrong exception 2024-01-31 14:52:17 -03:00
Mirna Gama
735e276b63 [R9] Rename attributes to make testing more easier to understand 2024-01-31 14:52:17 -03:00
Mirna Gama
6619775ded [R9] Remove unused import 2024-01-31 14:52:17 -03:00
Mirna Gama
8671407df5 [R9] Save consultation use case unit test 2024-01-31 14:52:17 -03:00
Mirna Gama
43dd9869da [R9] Unit test classes for find consultation by doctor or patient and date use case classes 2024-01-31 14:52:17 -03:00
Mirna Gama
fd4ada0638 [R9] Remove unused import 2024-01-31 14:52:17 -03:00
Mirna Gama
afbf54de03 [R9] Find one free doctor by specialty use case unit test 2024-01-31 14:52:17 -03:00
Mirna Gama
3447db5b89 [R9] H2 database does not accept alter table migration, let's remove it 2024-01-31 14:52:17 -03:00
Mirna Gama
97088ad25f [R9] Consultation controller with post method 2024-01-31 14:52:17 -03:00
Mirna Gama
ce519740ef [R9] Refactor entity not found error handler to display messages 2024-01-31 14:52:17 -03:00
Mirna Gama
8dbc0f4f01 [R9] Consultation service with add consultation method 2024-01-31 14:52:17 -03:00
Mirna Gama
ffabff23c1 [R9] Find one free doctor by specialty use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
fefa72b8c1 [R9] Custom exception to handle errors related to consultation business rules 2024-01-31 14:52:17 -03:00
Mirna Gama
b0fc5bf648 [R9] Find consultation by doctor or patient and date use case classes 2024-01-31 14:52:17 -03:00
Mirna Gama
7ba358eb58 [R9] Save consultation use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
22ba9ab9ec [R9] Custom method in doctor jpa repository to find one free doctor by specialty 2024-01-31 14:52:17 -03:00
Mirna Gama
e91b7b4038 [R9] Consultation jpa repository with two custom methods to check for consultation by patient or doctor and date 2024-01-31 14:52:17 -03:00
Mirna Gama
4f88c31210 [R9] Consultation DTO 2024-01-31 14:52:17 -03:00
Mirna Gama
00e1b86949 [R9] Validator to check if the consultation date was scheduled at least 30 minutes in advance 2024-01-31 14:52:17 -03:00
Mirna Gama
55961f680b [R9] Validator to check if the consultation date was scheduled during business hours 2024-01-31 14:52:17 -03:00
Mirna Gama
29bc22eb95 [R9] Create consultations table and entity 2024-01-31 14:52:17 -03:00
Mirna Gama
97b51ea7b5 [R9] Set user login unique 2024-01-31 14:52:17 -03:00
Mirna Gama
ccf4676e4e [R9] Fix java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
2aa99e012d [R9] Unit test class for authentication controller 2024-01-31 14:52:17 -03:00
Mirna Gama
7ee14a918a [R9] Unit test class for token service 2024-01-31 14:52:17 -03:00
Mirna Gama
b762144a58 [R9] Remove unused test method order annotation 2024-01-31 14:52:17 -03:00
Mirna Gama
60c2336579 [R9] Unit test classes for JWT Use Case classes 2024-01-31 14:52:17 -03:00
Mirna Gama
57a4dd52d7 [R9] Add test property value to api token secret 2024-01-31 14:52:17 -03:00
Mirna Gama
c660159d4e [R9] User Details Service Unit Test class 2024-01-31 14:52:17 -03:00
Mirna Gama
47d67a8b3f [R9] Unit test for auth service login and register methods 2024-01-31 14:52:17 -03:00
Mirna Gama
323321350e [R9] Unit test for add method in user service class 2024-01-31 14:52:17 -03:00
Mirna Gama
00365c534d [R9] Unit test classes for Save User and FindUserByLogin use case classes 2024-01-31 14:52:17 -03:00
Mirna Gama
d363a814bc [R9] Add missing java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
845fc2f350 [R9] Adjust request matchers 2024-01-31 14:52:17 -03:00
Mirna Gama
e8bb2e94bd [R9] Post method to register user 2024-01-31 14:52:17 -03:00
Mirna Gama
2685f95f80 [R9] Register user in auth service class 2024-01-31 14:52:17 -03:00
Mirna Gama
3adadc7489 [R9] Add user method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
c318e58c3b [R9] Add user constructor 2024-01-31 14:52:17 -03:00
Mirna Gama
794389c8f0 [R9] Save user use case class 2024-01-31 14:52:17 -03:00