145 Commits

Author SHA1 Message Date
Mirna Gama
becd713f20 [R9] Auth Service class with login method 2024-01-31 14:52:17 -03:00
Mirna Gama
276e62da72 [R9] Implementation class for User Details Service 2024-01-31 14:52:17 -03:00
Mirna Gama
f00c38e102 [R9] DTO containing User login information 2024-01-31 14:52:17 -03:00
Mirna Gama
b73d2ceceb [R9] Web security configuration class with session stateless config for API and bcrypt password encoder 2024-01-31 14:52:17 -03:00
Mirna Gama
e97f9b3cfe [R9] User service class with find user by login method 2024-01-31 14:52:17 -03:00
Mirna Gama
20ba14e47e [R9] Find user by login use case class 2024-01-31 14:52:17 -03:00
Mirna Gama
bfde3e76d9 [R9] User jpa repository with custom method to find user by login 2024-01-31 14:52:17 -03:00
Mirna Gama
fd034005b8 [R9] User entity that implements UserDetails 2024-01-31 14:52:17 -03:00
Mirna Gama
97f6fc5d60 [R9] Create users table 2024-01-31 14:52:17 -03:00
Mirna Gama
9138815b6d [R8] Unit test method for delete patient 2024-01-31 14:52:17 -03:00
Mirna Gama
9c27831992 [R8] Unit test method for deactivate patient in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
f4794bf08d [R8] Delete patient in patient controller 2024-01-31 14:52:17 -03:00
Mirna Gama
d8704c1fcf [R8] Deactivate patient method in service class 2024-01-31 14:52:17 -03:00
Mirna Gama
59609dfe08 [R7] Unit test method for put patient 2024-01-31 14:52:17 -03:00
Mirna Gama
d2c910011e [R7] Unit test method for update patient 2024-01-31 14:52:17 -03:00
Mirna Gama
569fdc2e90 [R7] Put method in Patient Controller 2024-01-31 14:52:17 -03:00
Mirna Gama
d9a276856d [R7] Update method in Patient Service class 2024-01-31 14:52:17 -03:00
Mirna Gama
08313c9db0 [R7] DTO to update allowed data in Patient Entity 2024-01-31 14:52:17 -03:00
Mirna Gama
ac1e1308ed [R6] Unit test get patients method in Patient controller 2024-01-31 14:52:17 -03:00
Mirna Gama
da7465719d [R6] Unit test find patients method in patient service 2024-01-31 14:52:17 -03:00
Mirna Gama
f5a1b36165 [R6] Unit test for find patients use case 2024-01-31 14:52:17 -03:00
Mirna Gama
e7d682126c [R6] Get patients method in patient controller 2024-01-31 14:52:17 -03:00
Mirna Gama
3b7437f654 [R6] Find patients method in patient service class 2024-01-31 14:52:17 -03:00
Mirna Gama
d6b269f169 [R6] Patient public data dto 2024-01-31 14:52:17 -03:00
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
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
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