96 Commits

Author SHA1 Message Date
Mirna Gama
03077db3a3 [R6] Refactor to "findDoctorsByActiveTrue" 2024-01-31 14:52:17 -03:00
Mirna Gama
f166bb930c [R6] Find patients use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
07ad8c10f0 [R6] Custom find by active method in patient repository 2024-01-31 14:52:17 -03:00
Mirna Gama
081e7bcfa3 [R6] Fix cpf getter typo 2024-01-31 14:52:17 -03:00
Mirna Gama
8603dbd393 [R5] Feature completed 2024-01-31 14:52:17 -03:00
Mirna Gama
9c0fec4fdf [R5] Update README with API Documentation for POST /patients 2024-01-31 14:52:17 -03:00
Mirna Gama
7739b190ac [R5] Refactor code response for post doctor in read me 2024-01-31 14:52:17 -03:00
Mirna Gama
84c973f2b8 [R5] Auto generated java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
5b77871787 [R5] Patient controller unit test class with post and get methos 2024-01-31 14:52:17 -03:00
Mirna Gama
7be05ac763 [R5] Fix expected status in display name 2024-01-31 14:52:17 -03:00
Mirna Gama
b23a61c534 [R5] Fix typo 2024-01-31 14:52:17 -03:00
Mirna Gama
a99213b845 [R5] Add unit test for find doctor by id as well 2024-01-31 14:52:17 -03:00
Mirna Gama
8fc3c28c9a [R5] Unit test methods for add and findById in Patient Service 2024-01-31 14:52:17 -03:00
Mirna Gama
a7262da2cb [R5] Unit test for save and findById patient use case 2024-01-31 14:52:17 -03:00
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