215 Commits

Author SHA1 Message Date
Mirna Gama
5d1c28ad1e [R10] Update README with /GET and /DELETE consultations endpoints 2024-01-31 14:52:17 -03:00
Mirna Gama
e322ebf199 [R10] Change response code in POST consultations 2024-01-31 14:52:17 -03:00
Mirna Gama
78149d338b [R10] Standardize endpoint division titles 2024-01-31 14:52:17 -03:00
Mirna Gama
5c2b91b448 [R10] Reference swagger in README file 2024-01-31 14:52:17 -03:00
Mirna Gama
a067096fc6 [R10] Add security schemes to controllers 2024-01-31 14:52:17 -03:00
Mirna Gama
76d58448bf [R10] Open API Doc configuration class 2024-01-31 14:52:17 -03:00
Mirna Gama
eb204da89c [R10] Allow access to swagger ui 2024-01-31 14:52:17 -03:00
Mirna Gama
a55cc17557 [R10] Add open api doc swagger dependency 2024-01-31 14:52:17 -03:00
Mirna Gama
9ce395ebfa [R10] Auto generated java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
8134af28ce [R10] Adjust response status type in controller unit test as well 2024-01-31 14:52:17 -03:00
Mirna Gama
9a09164a88 [R10] Add get consultation method and refactor response body in post consultation 2024-01-31 14:52:17 -03:00
Mirna Gama
613e51cfda [R10] Add find consultation by id method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
1bacc9eef1 [R10] Add unit test for delete method in consultation controller 2024-01-31 14:52:17 -03:00
Mirna Gama
45f0fe5997 [R10] Fix No serializer found for class ByteBuddyInterceptor 2024-01-31 14:52:17 -03:00
Mirna Gama
673490d4ba [R10] Sneaky typo 2024-01-31 14:52:17 -03:00
Mirna Gama
25024d0542 [R10] Add unit test for cancel consultation 2024-01-31 14:52:17 -03:00
Mirna Gama
bcc5484b8f [R10] Unit test class for find consultation by id use case 2024-01-31 14:52:17 -03:00
Mirna Gama
2980793f25 [R10] Sneaky typo 2024-01-31 14:52:17 -03:00
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
03b8f4b70f [R9] Feature completed 2024-01-31 14:52:17 -03:00
Mirna Gama
b531c36af4 [R9] Update README with API Documentation for POST /consultations and minor refactor for response description 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
dd454fe96f [R9] Auto generated java doc 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