fssa-batch3 / fssa-batch3/sec_b_thamim.subansait__corejava_project_2
upload new track
- Dominant language
- Java
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
user Story
user will successfully upload track
### Pre-requisites:-
- [ ] Completed feature 1 - create user
- [ ] track table
- [ ] track model
- [ ] track dao (create)
- [ ] track service(create)
- [ ] track price table
- [ ] track price model
- [ ] track price dao(create)
- [ ] track price service(create)
- [ ] asset table
- [ ] asset model
- [ ] asset dao(create)
- [ ] asset service (create)
#### Validations:
- [ ] Form validator
* track object (null)
* track name (null, empty,pattern)
* track price(null,empty,0)
* asset audio(ext,url)
* asset image(ext,url)
#### Messages :
* audio/image invalid format type
* price must be not 0 or not null
* track name is empty or null
#### Flow:
> Invalid When a track details or image / audio format and name is null or when the input provided does not meet the criteria, users arise.
```mermaid
graph TD;
A(track service argument track object)-->B(Form Valiation)--valid-->C(Business Validation)
B--Invalid-->D(Validation Exception)
C--valid-->E(Track dao)
C--Invalid-->F(validation Exception)
E-->I(result)-->asset_service-->G(Form validation)
G--valid-->H(asset Dao)
G--Invalid-->J(validation Exception)
H-->O(result)
O-->Q(track price service)
Q-->P(Form validation)
P--valid-->S(track price dao)
P--Invalid-->T(validation exception)
S-->V(Stored in database)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.