fssa-batch3 / fssa-batch3/sec_a_abdulrazak.nasriudeen__corejava_project_2
Workshop Module | LogOut Feature
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Workshop Logout Feature
## User Story
**User Story:**
After using Application as a Workshop user if i dont need to use application for a while i have to logout my account
## 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] findWorkshopById
- [x] updateLoginStatus
## Service
- [x] logOutWorkshop
## Validation
- [x] Login Validation
- [x] Workshop Id Validation
## Junit Test Cases
### Dao
- [x] findWorkshopByID Test
### Service
- [x] logOutWorkshop Test
### Validation
- [x] LoginValidation Test
- [x] WorkshopId Validation Test
## FlowChart
```mermaid
graph TD;
A[ Start ];
B[ Workshop Id Validation]
C[ Login Validation]
D[ InValid Entry Exception]
E[ update logout Status]
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
Assessment
This issue has not been assessed yet.