diff --git a/documentation/general/states.puml b/documentation/general/states.puml new file mode 100644 index 0000000..8641f82 --- /dev/null +++ b/documentation/general/states.puml @@ -0,0 +1,113 @@ +@startuml +left to right direction + +' МЕЙНФРЕЙМ +state "mainframe" as mainframe { + state "Статистика по данным базы" as baseStat { + baseStat : Данные реестра обученных: + baseStat : - количество обучений по направлениям обучения + baseStat : - количество преподавателей по направлениям + baseStat : - количество ПСК + baseStat : - количество программ обучения + baseStat : - ... + + state teachersLink { + teachersLink : Переход к работе с данными преподавателей + } + state programsLink { + programsLink : Переход к работе с данными программ обучения + } + state coursesLink { + coursesLink : Переход к работе с данными курсов + } + state buildingsLink { + buildingsLink : Переход к работе с данными объектов строительства + } + + } + + state "Статистика по файлобменнику" as storageStat { + storageStat: Данные по загруженным документам: + storageStat: - количество загруженных документов\n по видам документов + storageStat: - + state storageLink { + storageLink : Переход к работе с файлообменником + } + } + + state "Инструкции по работе с платформой" as instructions { + instructions: *.md файл с набором\n инструкций и рекомендаций + } +} + +' Преподаватели +state "Преподаватели" as teachers { + teachers : Форма работы с данными преподавателей + teachers : Список преподавателей + state "Переход: Редактирование данных преподавателя" as teacherEditLink + state "Переход: к mainframe" as teachersToMainframe +} + +state "Редактирование данных преподавателя" as teacherEdit { + teacherEdit : редактирвание ФИО + teacherEdit : редактирвание СНИЛС + teacherEdit : редактирвание номеров телефонов + teacherEdit : редактирование номера паспорта + teacherEdit : редактирвание почтовых ящиков + teacherEdit : редактирвание структурного подразделения + teacherEdit : редактирвание должности + state "Отправка данных преподавателя в базу" as teacherEditPost + state "Переход: к перечню преподавателей" as teacherEditToTeachersLink +} + +teacherEditLink --> teacherEdit +teachersLink --> teachers + +' Программы обучения +state "Программы обучения" as programs { + programs : Форма работы с программами обучения + programs : Список программ обучения + state "Переход: Редактирование данных о программе обучения" as programEditLink + state "Переход: к mainframe" as programsToMainframe + +} + +state "Редактирование данных программы обучения" as programEdit { + programEdit : редактирвание наименования + programEdit : редактирвание стоимости обучения + programEdit : редактирвание длительности + programEdit : редактирование ... + state "Отправка данных программы обучения в базу" as programEditPost + state "Переход: к перечню программ обучения" as programEditToProgramsLink +} + +programEditLink --> programEdit +programsLink --> programs + +' Файлообменник +state "Файлообменник" as storage { + state "Переход: к mainframe" as toMainframe + state "Размещение в хранилище файлов" as upload + state "Скачивание файла с сервера" as download + state "Удаление файлов из хранилища" as delete + state "Просмотр списка файлов в хранилище" as list + state "Просмотр/получение сведений о файле" as info + state "Экспорт данных" + state "Переход: к просмотру содержимого файла" as viewLink +} + + +state "Просмотр xlsx-файла" as view + +toMainframe --> mainframe +storageLink --> storage +viewLink --> view + +' mainframe : пользователь видит: +' mainframe : - статистика базы данных +' mainframe : - статистика файлообменника +' mainframe : - панель для переходов + + + +@enduml \ No newline at end of file diff --git a/documentation/storage/usecase.puml b/documentation/general/usecase-storage.puml similarity index 100% rename from documentation/storage/usecase.puml rename to documentation/general/usecase-storage.puml diff --git a/documentation/general/usecase.puml b/documentation/general/usecase.puml index 062e1fa..8e3753c 100644 --- a/documentation/general/usecase.puml +++ b/documentation/general/usecase.puml @@ -2,20 +2,25 @@ title "usecase: teh" left to right direction -actor "Пользователь" as user +' actor "Пользователь" as user -package "mainframe" { +frame "mainframe" as mainframe{ frame "Статистика файлообменника (storage-stat)" { usecase "Данные по видам и количеству размещенных на сервере документов" - usecase "Переход: к файлообменнику (storage)" } + frame "Статистика хранилища данных (base-stat)" { usecase "Просмотр данных реестра обученных" + } + + frame "Переходы" { + usecase "Переход: к файлообменнику (storage)" usecase "Переход: к формированию отчетов" + } } -package "storage" { +frame "storage" as storage { usecase "Переход: к mainframe" usecase "Размещение в хранилище файлов" as upload usecase "Скачивание файла с сервера" as download @@ -26,14 +31,14 @@ package "storage" { usecase "Переход: к формам экспорта данных" } -package "view-xlsx" as viewXlsx{ +frame "view-xlsx" as viewXlsx{ usecase "Просмотр/получение содержимого файла (xlsx)" as view usecase "Навигация по файлу" usecase "Переход: к mainframe" usecase "Переход: к storage" } -user --> mainframe -user --> storage -user --> viewXlsx +' user --> mainframe +' mainframe --> storage +' mainframe --> viewXlsx @enduml \ No newline at end of file diff --git a/face/logs/teh.log b/face/logs/teh.log index b3954d1..9d8571d 100644 --- a/face/logs/teh.log +++ b/face/logs/teh.log @@ -1,6 +1,3 @@ -{"@timestamp":"2024-10-07T09:46:40.606299400Z","log.level":"INFO","process.pid":12004,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Starting FaceApplicationTests using Java 17.0.7 with PID 12004 (started by devuser in C:\\Users\\devuser\\Documents\\code\\teh\\face)","ecs.version":"8.11"} -{"@timestamp":"2024-10-07T09:46:40.623448100Z","log.level":"INFO","process.pid":12004,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"No active profile set, falling back to 1 default profile: \"default\"","ecs.version":"8.11"} -{"@timestamp":"2024-10-07T09:46:42.184170300Z","log.level":"INFO","process.pid":12004,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Started FaceApplicationTests in 2.021 seconds (process running for 3.086)","ecs.version":"8.11"} -{"@timestamp":"2024-10-07T09:57:48.533500500Z","log.level":"INFO","process.pid":24652,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Starting FaceApplicationTests using Java 17.0.7 with PID 24652 (started by devuser in C:\\Users\\devuser\\Documents\\code\\teh\\face)","ecs.version":"8.11"} -{"@timestamp":"2024-10-07T09:57:48.545487800Z","log.level":"INFO","process.pid":24652,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"No active profile set, falling back to 1 default profile: \"default\"","ecs.version":"8.11"} -{"@timestamp":"2024-10-07T09:57:50.201333800Z","log.level":"INFO","process.pid":24652,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Started FaceApplicationTests in 2.165 seconds (process running for 3.184)","ecs.version":"8.11"} +{"@timestamp":"2024-10-14T07:42:59.798197100Z","log.level":"INFO","process.pid":24236,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Starting FaceApplicationTests using Java 17.0.7 with PID 24236 (started by devuser in C:\\Users\\devuser\\Documents\\code\\teh\\face)","ecs.version":"8.11"} +{"@timestamp":"2024-10-14T07:42:59.811604300Z","log.level":"INFO","process.pid":24236,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"No active profile set, falling back to 1 default profile: \"default\"","ecs.version":"8.11"} +{"@timestamp":"2024-10-14T07:43:01.511680800Z","log.level":"INFO","process.pid":24236,"process.thread.name":"main","service.name":"face","service.version":"1","service.environment":"Production","service.node.name":"Primary","log.logger":"gsp.technologies.face.FaceApplicationTests","message":"Started FaceApplicationTests in 2.178 seconds (process running for 3.357)","ecs.version":"8.11"} diff --git a/face/logs/teh.log.2024-09-27.0.gz b/face/logs/teh.log.2024-09-27.0.gz deleted file mode 100644 index 2ebe6f8..0000000 Binary files a/face/logs/teh.log.2024-09-27.0.gz and /dev/null differ diff --git a/face/logs/teh.log.2024-10-07.0.gz b/face/logs/teh.log.2024-10-07.0.gz new file mode 100644 index 0000000..3d0d08d Binary files /dev/null and b/face/logs/teh.log.2024-10-07.0.gz differ