171 Commits

Author SHA1 Message Date
Mirna Gama
387c1850af [R4] Fix typo 2024-01-31 14:52:17 -03:00
Mirna Gama
f3d736ceb5 [R4] Update README with API Documentation for DELETE /doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
70663d8f35 [R4] Auto generated java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
94685ecf39 [R4] Add java doc to custom repository method 2024-01-31 14:52:17 -03:00
Mirna Gama
6403f625ba [R4] Unit test method for delete doctor 2024-01-31 14:52:17 -03:00
Mirna Gama
2632cee84d [R4] Avoid DataIntegrityViolationException for crm field 2024-01-31 14:52:17 -03:00
Mirna Gama
aa86a53458 [R4] Unit test method for deactiva doctor in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
1ca5714d85 [R4] Delete doctor in doctor controller 2024-01-31 14:52:17 -03:00
Mirna Gama
83ca208352 [R4] Deactivate doctors method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
bbde76cedc [R4] Only find the active doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
34071ec1d8 [R4] Add active attribute to doctor entity 2024-01-31 14:52:17 -03:00
Mirna Gama
2ee9727c80 [R4] Fix crm value 2024-01-31 14:52:17 -03:00
Mirna Gama
99551134be [R4] There are a lot of SQL problems occurring, so let's set the column names to snakecase and map them to the entity class 2024-01-31 14:52:17 -03:00
Mirna Gama
0daed08a96 [R4] Add missing attribute and fix typo 2024-01-31 14:52:17 -03:00
Mirna Gama
c40dbca86a [R4] Migrations weren't working, let's fix this typo 2024-01-31 14:52:17 -03:00
Mirna Gama
f95a755cee [R3] Feature completed 2024-01-31 14:52:17 -03:00
Mirna Gama
345cdd98a8 [R3] Update README with API Documentation for PUT /doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
add85c55db [R3] Auto generated java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
597e9416f7 [R3] Unit test method for put doctor 2024-01-31 14:52:17 -03:00
Mirna Gama
2d133ca4a4 [R3] Unit test method for update doctor 2024-01-31 14:52:17 -03:00
Mirna Gama
4b958e55d3 [R3] Unit test for find doctor by id use case 2024-01-31 14:52:17 -03:00
Mirna Gama
b58d7ecbbb [R3] Put method in Doctor Controller 2024-01-31 14:52:17 -03:00
Mirna Gama
4f6477639f [R3] Update method in Doctor Service class 2024-01-31 14:52:17 -03:00
Mirna Gama
a571881aab [R3] DTO to update allowed data in Doctor Entity 2024-01-31 14:52:17 -03:00
Mirna Gama
aa674d64c3 [R3] Find doctor by id use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
e86ede0af4 [R3] Add zip code validation in address entity 2024-01-31 14:52:17 -03:00
Mirna Gama
61b947ada8 [R3] Rename the use case AddDoctor to SaveDoctor so that the scope encompasses create and update 2024-01-31 14:52:17 -03:00
Mirna Gama
c1bddfcff7 [R2] Feature completed 2024-01-31 14:52:17 -03:00
Mirna Gama
51a5eda69e [R2] Update README.md 2024-01-31 14:52:17 -03:00
Mirna Gama
af9653f9a6 [R2] Update README with API Documentation for GET /doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
839fe46ffc [R2] Auto generated java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
9fab061eaf [R2] Unit test method for get doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
55e5462afa [R2] Unit test method for find doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
232a4e4567 [R2] Unit test for find doctors use case 2024-01-31 14:52:17 -03:00
Mirna Gama
776c56a9be [R2] Add java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
36b2a47c3f [R2] Pageable default value 2024-01-31 14:52:17 -03:00
Mirna Gama
bc8a6b3ba2 [R2] Implement pagination 2024-01-31 14:52:17 -03:00
Mirna Gama
74616bae4e [R2] Add get method in doctor controller 2024-01-31 14:52:17 -03:00
Mirna Gama
6ad63db9d1 [R2] Add find method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
8d365061ab [R2] Create DTO class to receive doctor public data 2024-01-31 14:52:17 -03:00
Mirna Gama
1360bc1076 [R2] Add use case class to find all doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
2d61f0c049 [R2] Fix specialty typo and add migration to rename it on database 2024-01-31 14:52:17 -03:00
Mirna Gama
58318525b8 [R1] Feature completed 2024-01-31 14:52:17 -03:00
Mirna Gama
cf9a11971e [R1] Add active profile for test 2024-01-31 14:52:17 -03:00
Mirna Gama
1c21a0b0c8 [R1] Update README with API Documentation for POST /doctors 2024-01-31 14:52:17 -03:00
Mirna Gama
343993ac77 [R1] Unit test for Doctor Controller post method 2024-01-31 14:52:17 -03:00
Mirna Gama
fc805ee547 [R1] Unit test class for Doctor Service add method 2024-01-31 14:52:17 -03:00
Mirna Gama
78cb5ace54 [R1] Unit test for add doctor use case 2024-01-31 14:52:17 -03:00
Mirna Gama
c5548d598a [R1] H2 database for testing purpose 2024-01-31 14:52:17 -03:00
Mirna Gama
f4543b678c [R1] Add validation for entity class as well 2024-01-31 14:52:17 -03:00