0% found this document useful (0 votes)
101 views7 pages

MCD, MLD, MPD

Uploaded by

Louis Ledru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views7 pages

MCD, MLD, MPD

Uploaded by

Louis Ledru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

freezebee ingredient

id : int
Is composed of id : int
name : string
name : string
description : string description: string
unit_price : decimal created_at : date
product_line : string updated_at : date
created_at : date deleted_at : date
updated_at : date
deleted_at : date
step
verification
id : int
id : int
Are verified
description : string is_valid
Produced using multiple number : int created_at : date
process : string updated_at : date
created_at : date deleted_at : date
updated_at : date

MCD deleted_at : date


freezebee ingredient

id INT id INT
Recipe
name VARCHAR(50) 1,n 0,n name VARCHAR(50)
Grammage
description VARHAR(250)
description VARCHAR(250)
unit_price DECIMAL
created_at DATETIME
product_line VARCHAR(50)
updated_at DATETIME
created_at DATETIME deleted_at DATETIME
updated_at DATETIME
deleted_at DATETIME

1,n step verification

id INT
id INT

is_valid BOOLEAN
Processed 1,1 description VARCHAR(250) 0,n Verificated 1,1 created_at DATETIME
number INT updated_at DATETIME
process VARCHAR(50) deleted_at DATETIME
created_at DATETIME
updated_at
MLD
DATETIME
deleted_at DATETIME
freezebee recipe ingredient

id INT id INT id INT


name VARCHAR(50) id_freezebee name VARCHAR(50)
name_freezebee
description VARHAR(250) id_ingredient description Varchar(250)
unit_price DECIMAL name_ingredient created_at DATETIME
product_line VARCHAR(50) updated_at DATETIME
created_at DATETIME grammage Varchar(250) deleted_at DATETIME
updated_at DATETIME
step created_at DATETIME
deleted_at DATETIME
id updated_at DATETIME
INT
deleted_at DATETIME
id_freezebee verification
name_freezebee
id INT
description VARCHAR(250)
id_step
Processed number INT Verificated
process VARCHAR(50)
is_valid BOOLEAN
created_at DATETIME
created_at DATETIME
updated_at DATETIME updated_at DATETIME

deleted_at DATETIME deleted_at DATETIME

MPD
KillerBee
SCH_PROD SCH_TEST SCH_RD

***.freezebee ***.freezebee ***.freezebee


***.ingredient ***.ingredient ***.ingredient
***.recipe ***.recipe ***.recipe
***.step ***.step ***.step
***.validation ***.validation ***.validation
state
Vuex store/auth auth.service local storage

$store.dispatch

status.loggedIn
login http
request
Axios response
App
state router home
Authentication header

freezebee
ingredient user.service
user.roles
process
auth-header
Vue APP Back-end

1 Post api/auth/signup
{ username, password }

Authentication {username, password}


User Login 3
return JwtResponse 2 Create JWT string with a secret
{ token, type, user info, authorities }

Request data with


4 JWT on Authorization Header

Check JWT Signature


Access Resource 6 Return Response based on Authorities 5 Get user info & authenticate
Authorization using user’s Authorities
Micro-service
Micro-service

User API
client
Proxy Micro-service
Micro-service
Gateway
Micro-service
Micro-service

You might also like