Skip to content

Commit

Permalink
feat: added first version of the architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente-G committed Dec 1, 2023
1 parent aef5c40 commit 2cb63c1
Show file tree
Hide file tree
Showing 24 changed files with 398 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/assets/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
svg g g[id^="link"]:hover path {
stroke:#FF0000 !important;
stroke-width: 2.0;
}

svg g g[id^="link"]:hover polygon {
stroke:#FF0000 !important;
}

svg g g[id^="link"]:hover text {
fill:#FF0000 !important;
}
Binary file added src/assets/favicon.ico
Binary file not shown.
Binary file added src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/deploy-feats.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
properties {
"c4plantuml.elementProperties" "true"
"c4plantuml.tags" "true"
"generatr.style.colors.primary" "#485fc7"
"generatr.style.colors.secondary" "#ffffff"
"generatr.style.faviconPath" "./favicon.ico"
"generatr.style.logoPath" "./logo.png"
"generatr.style.customStylesheet" "./custom.css"
"generatr.site.externalTag" "External"
}
5 changes: 5 additions & 0 deletions src/descriptions/home.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
= SLC-wms Architecture

Here is an overview.

image::embed:SystemLandscape[Full Architecture]
9 changes: 9 additions & 0 deletions src/systems/analytics/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext analytics {
include *
autoLayout lr
}

container analytics {
include *
autoLayout lr
}
21 changes: 21 additions & 0 deletions src/systems/analytics/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
!ref analytics {
view = container "Analytics View" "Responsive App" "" "Desktop" {
analyst -> this "Watches the performance"
}
wrapper = container "Analytics Wrapper" "Microservice" "" "Container"
container "Analytics Data" "SQL Database" "" "Database" {
wrapper -> this "Manages the data"
}
scheduled = container "Statistics Calculator" "Scheduled" "" "Container" {
database -> this "Retrieves the data" "Message Broker"
missions.wrapper -> this "Retrieves the data" "Message Broker"
-> wrapper "Sends the results" "Message Broker"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> wrapper "Retrieves the data" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Request the data" "HTTPS Request"
-> backend "Redirects"
}
}
9 changes: 9 additions & 0 deletions src/systems/configs/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext configs {
include *
autoLayout lr
}

container configs {
include *
autoLayout lr
}
23 changes: 23 additions & 0 deletions src/systems/configs/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
!ref configs {
view = container "Control Panel" "Dashboard" "" "Desktop" {
admin -> this "Make changes with"
}
users = container "HHRR Wrapper" "Microservice" "" "Container"
container "HHRR Database" "SQL Database" "" "Database" {
users -> this "Manages the data"
}
update = container "Config Wrapper" "Microservice" "" "Container" {
-> database.system "Change the configuration" "Message Broker"
-> analytics.scheduled "Update schedule" "HTTPS Request"
-> inventory.scheduled "Update schedule" "HTTPS Request"
-> inventory.supplier "Update supply rules" "HTTPS Request"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> users "Add or update an employee" "HTTPS Request"
-> update "Change the configuration" "HTTPS Request"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Sends the changes" "HTTPS Request"
-> backend "Redirects"
}
}
16 changes: 16 additions & 0 deletions src/systems/database.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
!ref database {
inventory = container "Inventory Wrapper" "Microservice" "" "Container"
container "Inventory Units" "NoSQL Database" "" "Database" {
inventory -> this "Manages the data"
}

orders = container "Orders Wrapper" "Microservice" "" "Container"
container "Orders History" "NoSQL Database" "" "Database" {
orders -> this "Manages the data"
}

system = container "System Wrapper" "Microservice" "" "Container"
container "System Manifest" "NoSQL Database" "" "Database" {
system -> this "Manages the data"
}
}
29 changes: 29 additions & 0 deletions src/systems/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
systemContext database {
include *
autoLayout tb
}

container database {
include *
autoLayout tb
}

systemContext inventory {
include *
autoLayout lr
}

container inventory {
include *
autoLayout lr
}

systemContext missions {
include *
autoLayout tb
}

container missions {
include *
autoLayout tb
}
21 changes: 21 additions & 0 deletions src/systems/inventory.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
!ref inventory {
scheduled = container "Cycle Counting" "Scheduled" "" "Container" {
-> missions.wrapper "Create counting missions" "Message Broker"
}
supplier = container "Supplier" "Microservice" "" "Container" {
-> missions.wrapper "Create supplying missions" "Message Broker"
}
ordering = container "Mission Generator" "Microservice" "" "Container" {
database -> this "Retrieve Layout and Units" "Message Broker"
-> missions.wrapper "Create a picking mission" "Message Broker"
-> supplier "Send the leftovers" "Message Broker"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> database.orders "Sends the order" "Message Broker"
-> ordering "Request units" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
ecommerce -> this "Sends the order" "HTTPS Request"
-> backend "Redirects"
}
}
9 changes: 9 additions & 0 deletions src/systems/layout/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext layout {
include *
autoLayout lr
}

container layout {
include *
autoLayout lr
}
16 changes: 16 additions & 0 deletions src/systems/layout/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
!ref layout {
view = container "Layout Builder" "Desktop App" "" "Desktop" {
layouter -> this "Creates or modifies layout"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> database.system "Sends new layout" "HTTPS Request"
}
moving = container "Mission Generation" "Microservice" "" "Container" {
backend -> this "Sends new layout" "HTTPS Request"
-> missions "Sends updates required" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Sends new layout" "HTTPS Request"
-> backend "Redirects"
}
}
14 changes: 14 additions & 0 deletions src/systems/missions.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
!ref missions {
wrapper = container "Mission Wrapper" "Microservice" "" "Container"
container "Mission History" "NoSQL Database" "" "Database" {
wrapper -> this "Manages the data"
}
disp = container "Mission Dispatcher" "Microservice" "" "Container" {
-> database.orders "Updates the status" "Message Broker"
-> wrapper "Retrieves a mission" "Message Broker"
}
comp = container "Mission Completer" "Microservice" "" "Container" {
-> database.inventory "Updates the status" "Message Broker"
-> wrapper "Completes a mission" "Message Broker"
}
}
9 changes: 9 additions & 0 deletions src/systems/picking/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext picking {
include *
autoLayout lr
}

container picking {
include *
autoLayout lr
}
21 changes: 21 additions & 0 deletions src/systems/picking/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
!ref picking {
view = container "Picking Companion" "Mobile App" "" "Mobile" {
picker -> this "Navigates with"
// add components
}
comp = container "Mission Completion" "Microservice" "" "Container" {
missions.disp -> this "Send a new mission" "Message Broker"
}
req = container "Shipping Validation" "Microservice" "" "Container" {
-> shipping.comp "Ask for validation" "Message Broker"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> req "Completion request" "Message Broker"
-> comp "Request new mission" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Sends the form" "HTTPS Request"
-> backend "Redirects"
}
}

9 changes: 9 additions & 0 deletions src/systems/reception/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext reception {
include *
autoLayout lr
}

container reception {
include *
autoLayout lr
}
12 changes: 12 additions & 0 deletions src/systems/reception/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
!ref reception {
view = container "Reception Form" "Responsive App" "" "Desktop" {
receiver -> this "Fills a form"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> database.inventory "Sends new values" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Sends the form" "HTTPS Request"
-> backend "Redirects"
}
}
9 changes: 9 additions & 0 deletions src/systems/shipping/display.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
systemContext shipping {
include *
autoLayout lr
}

container shipping {
include *
autoLayout lr
}
17 changes: 17 additions & 0 deletions src/systems/shipping/relations.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
!ref shipping {
view = container "Shipping View" "Responsive App" "" "Mobile" {
packer -> this "Complete orders"
}
feed = container "Order Feed" "Microservice" "" "Container"
comp = container "Complete Picking" "Microservice" "" "Container" {
-> missions.disp "Accepts completion" "Message Broker"
}
backend = container "Schema Validation" "Microservice" "" "Container" {
-> comp "Completion request" "HTTPS Request"
-> feed "Check pending orders" "Message Broker"
}
container "Authentication" "Firewall" "" "Container" {
view -> this "Sends the form" "HTTPS Request"
-> backend "Redirects"
}
}
30 changes: 30 additions & 0 deletions src/wms-references.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Users
operations = group "Operation Employees" {
receiver = person "Receiving Employee" "" "Employee"
picker = person "Picking Employee" "" "Employee"
packer = person "Packing Employee" "" "Employee"
}

// Stakeholders with privileges
managers = group "Operation Managers" {
admin = person "Administrator" "" "Employee"
analyst = person "Logistic Analyst" "" "Employee"
layouter = person "Layout Manager" "" "Employee"
}

// Modules without front-end
database = softwareSystem "Database Module" "" "Context"
missions = softwareSystem "Missions Module" "" "Context"
inventory = softwareSystem "Inventory Module" "" "Context"

// Modules with front-end
reception = softwareSystem "Reception Module" "" "Context"
layout = softwareSystem "Layout Module" "" "Context"
picking = softwareSystem "Picking Module" "" "Context"
shipping = softwareSystem "Shipping Module" "" "Context"
analytics = softwareSystem "Analytics Module" "" "Context"
configs = softwareSystem "Configurations Module" "" "Context"

// External systems
ecommerce = softwareSystem "E-Commerce" "(or equivalent)" "External"

Loading

0 comments on commit 2cb63c1

Please sign in to comment.