fssa-batch3 / fssa-batch3/sec_a_abdulrazak.nasriudeen__corejava_project_2
WorkShop Module | Update Password Feature
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Update WorkShop password Process
## User Story
**User Story:**
As a WorkShop owner i have to update my password when i forget my password
## Task
- [x] Implementation of DAO Layer
- [x] Validation of inputs
- [x] Implementation of a Service Layer
- [x] Create JUnit TestCases
- [x] Ensure Test Cases are passing
- [x] Write comments for the methods used
## DAO
- [x] updateWorkShopPassword
- [x] getWorkShopsById
## Service
- [x] updateWorkShopPassword
## Validation
- [x] password Validation
- [x] WorkShopIdValidation
## Junit Test Cases
### Dao
- [x] getWorkShopByIdTest
### Service
- [x] updateWorkShopPasswordTest
### Validation
- [x] Password Validation Test
- [x] WorkShopId Validation Test
## FlowChart
```mermaid
graph TD;
A[ Start ];
B[ WorkShop ID , Password Validation]
C[ WorkShopId Validation]
D[ InValid Entry Exception]
E[ Update WorkShopPassword]
F[ Success Message]
A --> B
B -->|Success|C
B -->|Fail|D
D -->H
C --> |success| E
C -->|Fail| I[Validation Exception]
E -->|success|F
E -->|Fail|G[Service Exception]
G --> H
F --> H[End]
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the DAO methods updateWorkShopPassword and getWorkShopsById, then trace the matching service and validation methods named in the issue. Run the listed DAO, service, password-validation, and WorkShop-ID validation tests; done means the update flow works and all tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100