-
Notifications
You must be signed in to change notification settings - Fork 0
/
constraints.txt
43 lines (42 loc) · 1.85 KB
/
constraints.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Produto: http://localhost:8080; ../toyexample/MsProduct; Java
module DAO: com.application.MsCustomer.dao.*
module Controller : com.application.MsCustomer.controller.**
module Service : com.application.MsCustomer.services.**
module SpringBoot: org.springframework.boot.**
module Main: com.application.MsCustomer.main.ProductApp.*
Main must-depend SpringBoot
only Service can-depend DAO
Controller must-useannotation org.springframework.web.bind.annotation.RestController
Service must-useannotation org.springframework.stereotype.Service
only DAO can-useannotation JPA
MsCustomer: http://localhost:9000; ../toyexample/MsCustomer; Java
module Controller: com.application.MsCustomer.controller.**
module DAO: com.application.MsCustomer.dao.*
module SpringBoot: org.springframework.boot.**
module Main: com.application.MsCustomer.application.CustomerApp.*
Main must-depend SpringBoot
only Controller can-depend DAO
Controller must-useannotation org.springframework.web.bind.annotation.RestController
MsSale: http://localhost:8086; ../toyexample/TesteSale; Java
module Controller: java.controller.*
module Services: java.services.*
Controller must-depend Service
Services must-depend java.net.HttpURLConnection,java.net.URL
MsNewsletter: http://localhost:5001; ../toyexample/MsNewsletter; Cs
module Email: email.*
module Entities: entities.*
module Controller: controllers.*
module DAO: newsletterDB.*
module Main: Startup.*
Main must-depend Controller
only Controller can-depend DAO, Email
only Email can-depend MailKit.Net.Smtp.SmtpClient
Controller,DAO must-depend Entities
MsAuthenticate: http://localhost:5000; ../toyexample/MsAuthentication; Cs
module Entities: entities.**
module Controller: controllers.**
module DAO: authenticationDB.**
module Main: Startup.**
Main must-depend Controller
only Controller can-depend DAO
Controller, DAO must-depend Entities