77 Commits

Author SHA1 Message Date
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
Mirna Gama
82f0c58d5e [R9] Complete java doc 2024-01-31 14:52:17 -03:00
Mirna Gama
102ad0311a [R9] Get jwt subject use case 2024-01-31 14:52:17 -03:00
Mirna Gama
723a7981ea [R9] Token service class with generate token method 2024-01-31 14:52:17 -03:00
Mirna Gama
616722423d [R9] Create jwt use case class 2024-01-31 14:52:17 -03:00
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
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
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
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
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
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
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