fssa-batch3 / fssa-batch3/sec_a_jayaprakash.jaisankar__corejava_project_2

Milestone | Delete

Open
#19 0 comments 0 reactions 1 assignee Claimed by @JAYAPRAKASHJAISANKAR View on GitHub
enhancement milestone-module
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### User Story
As a user, I need to be able to remove milestone from the milestone's collection. When I identify a milestone that needs to be removed, I want to initiate the deletion process. If the project I intend to delete is not found, the system should provide a message indicating that the project is not available for deletion.

### Task
- [ ] Implement Data Access Object (DAO) Layer.
- [ ] Implement Service Layer.
- [ ] Create JUnit Test Cases.
- [ ] Ensure that the tests cases are passing.
- [ ] Write clear and concise comments in the code to explain complex logic.
### DAO
- [ ] deletemilestone()
- [ ] Service
- [ ] deletemilestone()
### Junit Test
- [ ] testValidDeletemilestone()
- [ ] testInvalidDeletemilestone()
### Estimation
3 hours

### Flow Chart:
``` mermaid
graph TD
A[[Start]] --> B(User Initiates Delete Milestone)
B --> C[(Search Milestone to Delete)]
C --> |Milestone Not Found| D{{Service Exception}}
D --> |Fail| E([Failed to Delete Milestone])
C --> |Milestone Found| G([Confirm Deletion])
G --> |Delete Milestone Record| F([Milestone Deleted Successfully])
E --> |Returns False|I[[End]]
F --> |Returns True|I

style F fill:#dfd,stroke:#333
style E fill:#fdd,stroke:#333

```

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.