82 Commits

Author SHA1 Message Date
Mirna Gama
2e3c02d864 [R5] Adapt doctor controller post test as well 2024-01-31 14:52:17 -03:00
Mirna Gama
2e657cd64c [R5] Fix java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
eb32b7e182 [R5] Use the same approach to set location to get doctor endpoint after saving the entity in Doctor controller 2024-01-31 14:52:17 -03:00
Mirna Gama
8266f5758d [R5] Error handler for entity not found error 2024-01-31 14:52:17 -03:00
Mirna Gama
be03545783 [R5] Patient Controller with post and get patient 2024-01-31 14:52:17 -03:00
Mirna Gama
c88d7de61a [R5] Patient Service with save and findById methods 2024-01-31 14:52:17 -03:00
Mirna Gama
39156f459d [R5] Move each entity dto for their entity package 2024-01-31 14:52:17 -03:00
Mirna Gama
48f296ad59 [R5] Patient use case for Save and FindById 2024-01-31 14:52:17 -03:00
Mirna Gama
1bced128e5 [R5] Patient JPA repository 2024-01-31 14:52:17 -03:00
Mirna Gama
2bd13a015f [R5] Create patient entity, table and dto 2024-01-31 14:52:17 -03:00
Mirna Gama
cd9927e403 [R4] Feature completed 2024-01-31 14:52:17 -03:00
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