fssa-batch3 / fssa-batch3/sec_b_kishore.sugumar__corejava_project_2
Find All Assets
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Feature: Find All Assets
#### Pre-requisites:
* assets table
* products table
* product_assert table
* asset entity
* product entity
* asset model
* product model
* asset Dao(find all asset)
* asset service
#### Validations:
* Form Validation
* product id ( null, empty)
* asset id ( null, empty)
* Business Validation
* product does exists or not
#### Message:
* product Id cannot be null or empty
* asset Id cannot be null or empty
* Product does not exists
#### Flow:
> Invalid occur When a asset does not meet the criteria or product does not exists, asset arise.
```mermaid
graph TD;
A(arugument passes to AssetsService) --> B(Form Validation)
B --Valid--> C(Business Validation)
B --Invalid--> E(Throw Validation Exception)
C --valid--> D(Get all assets from Database)
C --Invalid--> F(Throw Validation Exception)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.