fssa-batch3 / fssa-batch3/sec_b_dhanush.selvam__corejava_project_2

Update Request

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Feature: Update Request
#### User Story:
* User can update an existing request

#### Pre-requisites:
- [ ] Module 2 Feature 1
- [ ] Module 2 Feature 2
- [ ] Implement Request DAO (update)

#### Validations:
- [ ] Business Validation
* Only existing request can be updated
* Only the manager of the employee can update the request

#### Flow:
```mermaid
graph TD;
A[Request Service: Update Request]
A --> C{Manager ID should match with user id in user-role table}
C -- Yes --> D[Request DAO: Update Request]
D --> E[Request Service: Request Updated]
C -- No --> F[Request Service: Invalid Manager id]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.