Private
Public Access
refactor: estuve actualizando el tema de los casos de uiso porque un par no tenian el formato necesario
This commit is contained in:
1 parent
a85af05dae
commit
b393b37765
21 files changed
+406
-181
No files matched your search
@@ -0,0 +1,117 @@
|
||||
#+begin_src plantuml :file ../01_Gestionar_Stock.png
|
||||
@startuml
|
||||
left to right direction
|
||||
|
||||
actor "Empleado" as emp
|
||||
|
||||
package "Boundary" {
|
||||
|
||||
' Interfaces / Boundaries
|
||||
boundary "Interfaz Gestión\nde Stock" as UI_Stock
|
||||
boundary "Mensaje de Error\n(Existencias)" as UI_Error
|
||||
}
|
||||
package "Controles"{
|
||||
|
||||
' Controles / Controls
|
||||
control "Consultar Existencias" as C_Consultar
|
||||
control "Derivar Operación" as C_Derivar
|
||||
control "Registrar Comentario" as C_Comentario
|
||||
}
|
||||
package "Entidades"{
|
||||
' Entidades / Entities
|
||||
entity "Stock" as E_Stock
|
||||
}
|
||||
package "Derivaciones"{
|
||||
|
||||
' Casos de Uso Subordinados / Derivaciones
|
||||
usecase "CU: Ingresar Stock" as UC_Ingresar
|
||||
usecase "CU: Trasladar Stock" as UC_Trasladar
|
||||
usecase "CU: Ajustar Stock" as UC_Ajustar
|
||||
usecase "CU: Registrar Devolución" as UC_Devolucion
|
||||
usecase "CU: Reservar Stock" as UC_Reservar
|
||||
usecase "CU: Generar Reporte de Stock" as UC_Reporte
|
||||
}
|
||||
|
||||
' --- Camino Feliz ---
|
||||
emp --> UI_Stock : 1. Accede al módulo / 3. Selecciona opción
|
||||
UI_Stock --> C_Consultar : Solicita existencias
|
||||
C_Consultar --> E_Stock : Leer existencias
|
||||
C_Consultar --> UI_Stock : 2. Muestra existencias
|
||||
|
||||
' --- Excepción E1 ---
|
||||
C_Consultar ..> UI_Error : [E1: Error al obtener existencias]
|
||||
UI_Error --> emp : Informa situación
|
||||
|
||||
' --- Derivación a Operaciones (A1 - A7) ---
|
||||
UI_Stock --> C_Derivar : Solicita ejecución de operación
|
||||
|
||||
' Flujos alternativos que derivan a otros Casos de Uso
|
||||
C_Derivar ..> UC_Ingresar : <<invoca>> (A1)
|
||||
C_Derivar ..> UC_Trasladar : <<invoca>> (A2)
|
||||
C_Derivar ..> UC_Ajustar : <<invoca>> (A3)
|
||||
C_Derivar ..> UC_Devolucion : <<invoca>> (A4)
|
||||
C_Derivar ..> UC_Reservar : <<invoca>> (A5)
|
||||
C_Derivar ..> UC_Reporte : <<invoca>> (A7)
|
||||
#+begin_src plantuml :file ../../06_Robustez/stock/01_Gestionar_Stock.png
|
||||
@startuml
|
||||
left to right direction
|
||||
|
||||
actor "Empleado" as emp
|
||||
|
||||
package "Boundary" {
|
||||
|
||||
' Interfaces / Boundaries
|
||||
boundary "Interfaz Gestión\nde Stock" as UI_Stock
|
||||
boundary "Mensaje de Error\n(Existencias)" as UI_Error
|
||||
}
|
||||
package "Controles"{
|
||||
|
||||
' Controles / Controls
|
||||
control "Consultar Existencias" as C_Consultar
|
||||
control "Derivar Operación" as C_Derivar
|
||||
control "Registrar Comentario" as C_Comentario
|
||||
}
|
||||
package "Entidades"{
|
||||
' Entidades / Entities
|
||||
entity "Stock" as E_Stock
|
||||
}
|
||||
package "Derivaciones"{
|
||||
|
||||
' Casos de Uso Subordinados / Derivaciones
|
||||
usecase "CU: Ingresar Stock" as UC_Ingresar
|
||||
usecase "CU: Trasladar Stock" as UC_Trasladar
|
||||
usecase "CU: Ajustar Stock" as UC_Ajustar
|
||||
usecase "CU: Registrar Devolución" as UC_Devolucion
|
||||
usecase "CU: Reservar Stock" as UC_Reservar
|
||||
usecase "CU: Generar Reporte de Stock" as UC_Reporte
|
||||
}
|
||||
|
||||
' --- Camino Feliz ---
|
||||
emp --> UI_Stock : 1. Accede al módulo / 3. Selecciona opción
|
||||
UI_Stock --> C_Consultar : Solicita existencias
|
||||
C_Consultar --> E_Stock : Leer existencias
|
||||
C_Consultar --> UI_Stock : 2. Muestra existencias
|
||||
|
||||
' --- Excepción E1 ---
|
||||
C_Consultar ..> UI_Error : [E1: Error al obtener existencias]
|
||||
UI_Error --> emp : Informa situación
|
||||
|
||||
' --- Derivación a Operaciones (A1 - A7) ---
|
||||
UI_Stock --> C_Derivar : Solicita ejecución de operación
|
||||
|
||||
' Flujos alternativos que derivan a otros Casos de Uso
|
||||
C_Derivar ..> UC_Ingresar : <<invoca>> (A1)
|
||||
C_Derivar ..> UC_Trasladar : <<invoca>> (A2)
|
||||
C_Derivar ..> UC_Ajustar : <<invoca>> (A3)
|
||||
C_Derivar ..> UC_Devolucion : <<invoca>> (A4)
|
||||
C_Derivar ..> UC_Reservar : <<invoca>> (A5)
|
||||
C_Derivar ..> UC_Reporte : <<invoca>> (A7)
|
||||
|
||||
' Flujo alternativo A6 (Procesado mediante control interno)
|
||||
C_Derivar --> C_Comentario : <<inicia>> (A6)
|
||||
C_Comentario --> E_Stock
|
||||
@enduml
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:../01_Gestionar_Stock.png]]
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,50 @@
|
||||
#+begin_src plantuml :file ../04_Transcripcion_IA.png
|
||||
@startuml
|
||||
left to right direction
|
||||
|
||||
actor "Empleado" as emp
|
||||
cloud "Servicio IA Transcripción" as ia_service
|
||||
|
||||
package "Interfaces " {
|
||||
boundary "Interfaz Transcripción\nIA" as UI_Transcripcion
|
||||
boundary "Mensaje: Error\nde Transcripción" as UI_Error
|
||||
}
|
||||
|
||||
package "Controles" {
|
||||
control "Gestionar Transcripción\ny Corrección" as C_Gestionar
|
||||
}
|
||||
|
||||
package "Entidades" {
|
||||
entity "Imagen del Remito" as E_Imagen
|
||||
entity "Datos Transcriptos" as E_Datos
|
||||
}
|
||||
|
||||
|
||||
' --- Flujo Unificado (Camino Feliz + A1 + E1) ---
|
||||
|
||||
' 1, 2 y A1. Interacción del Empleado con la Interfaz
|
||||
emp --> UI_Transcripcion : 1. Solicita transcripción /\n2. Sube imagen /\nA1. Corrige dato
|
||||
|
||||
' Envío de acciones al Control unificado
|
||||
UI_Transcripcion --> C_Gestionar : Transmite solicitudes
|
||||
|
||||
' Acceso Único a Entidades (Una sola flecha por Entidad)
|
||||
C_Gestionar --> E_Imagen : Guarda imagen subida
|
||||
C_Gestionar --> E_Datos : Almacena / Actualiza datos
|
||||
|
||||
' Interacción con el Servicio Externo
|
||||
C_Gestionar -d-> ia_service : 3. Envía imagen
|
||||
ia_service -u-> C_Gestionar : 4. Devuelve datos
|
||||
|
||||
' Confirmación y continuación
|
||||
C_Gestionar --> UI_Transcripcion : Muestra datos y confirmación
|
||||
|
||||
' Excepción E1
|
||||
C_Gestionar ..> UI_Error : [E1: Error o sin transcripción]
|
||||
UI_Error --> emp : Informa situación al empleado
|
||||
|
||||
@enduml
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:../04_Transcripcion_IA.png]]
|
||||
@@ -0,0 +1,38 @@
|
||||
#+begin_src plantuml :file ../05_Registrar_Diferencias.png
|
||||
@startuml
|
||||
left to right direction
|
||||
|
||||
actor "Empleado" as emp
|
||||
|
||||
Rectangle " " {
|
||||
control "Servicio de Notificaciones" as srv_notif
|
||||
}
|
||||
package "Interfaces" {
|
||||
boundary "Interfaz Registro\nde Diferencias" as UI_Diferencias
|
||||
}
|
||||
|
||||
package "Controles" {
|
||||
control "Gestionar Diferencias" as C_Diferencias
|
||||
}
|
||||
|
||||
package "Entidades" {
|
||||
entity "Diferencia de Stock" as E_Diferencia
|
||||
}
|
||||
|
||||
' --- Camino Feliz (1 - 4) ---
|
||||
' 1 y 2. El empleado registra la diferencia indicando ítem y cantidad
|
||||
emp --> UI_Diferencias : 1 y 2. Registra diferencia\n(ítem y cantidad)
|
||||
UI_Diferencias --> C_Diferencias : Transmite datos ingresados
|
||||
|
||||
' Acceso a Entidades
|
||||
C_Diferencias --> E_Diferencia : Registra Diferencias
|
||||
|
||||
' 3. Envío al Servicio Externo de Notificaciones
|
||||
C_Diferencias --> srv_notif : 3. Invoca servicio para enviar notificación
|
||||
|
||||
' --- Excepción E1 ---
|
||||
' E1. Cancelación por error de carga
|
||||
emp --> UI_Diferencias : [E1] Cancela registro
|
||||
|
||||
@enduml
|
||||
#+end_src
|
||||
Reference in new issue
Block a user