186 Commits

Author SHA1 Message Date
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
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
283ac4d3e8 [R9] Auto generated java doc 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
bde702362f [R9] Update README with Authentication endpoint and token header 2024-01-31 14:52:17 -03:00
Mirna Gama
df24600ed8 [R9] Auto generated java doc 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
Mirna Gama
90301bd5fb [R9] Rename user dto so it can be used to perform auth operations 2024-01-31 14:52:17 -03:00
Mirna Gama
93dadf2913 [R9] Add filter in security filter chain 2024-01-31 14:52:17 -03:00
Mirna Gama
373e82cebf [R9] Auth token filter 2024-01-31 14:52:17 -03:00
Mirna Gama
1440578af1 [R9] Create auth controller with login method 2024-01-31 14:52:17 -03:00
Mirna Gama
52fc1655f3 [R9] Get token subject method in Token Service class 2024-01-31 14:52:17 -03:00