From 2d210f6468c02ee7e7097f9576575b0e1d3fab1e Mon Sep 17 00:00:00 2001 From: esoe Date: Mon, 14 Oct 2024 12:18:00 +0300 Subject: [PATCH] doc --- documentation/general/states.puml | 113 ++++++++++++++++++ .../usecase-storage.puml} | 0 documentation/general/usecase.puml | 21 ++-- face/logs/teh.log | 9 +- face/logs/teh.log.2024-09-27.0.gz | Bin 413 -> 0 bytes face/logs/teh.log.2024-10-07.0.gz | Bin 0 -> 480 bytes 6 files changed, 129 insertions(+), 14 deletions(-) create mode 100644 documentation/general/states.puml rename documentation/{storage/usecase.puml => general/usecase-storage.puml} (100%) delete mode 100644 face/logs/teh.log.2024-09-27.0.gz create mode 100644 face/logs/teh.log.2024-10-07.0.gz 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 2ebe6f82b51d5d9597dab4e4e9253f1ac5abc9a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 413 zcmV;O0b>3iiwFP!00000|K*cSYuqpphVT6qgH9avtlh#%~njeg)Gt~gTi&F%F!LUZs2W8|~#SSy=tA^x$n52!ot^n_F}Y3ryUVpy%g zBki@p6S`uE);kKw6N+xN!Mh1vqR1}zZZRpRowW1abI)C{lMau^f&DOGAUwpGCp3HK z30aIhzs;}d^Ld^}YjkdTPijP}Bvqmwa<{vrL$Ypwmoj0AIrLSp8f3!-Z{U|rd)VDv z!Cy7tEarOb;NcNETo)P`tb;GDQs3!6Ds`YrU3s(Q9f=uQN2!E+rSg;?X(BZ7M4l~| zlKuYh^a=-Sx!F{kckJM;2TiZ72((vkM}&y!9C|&D*}MmBenRpf$)8>?V>+g_px6N^ z_GSkvzHREdsOxv^z}?{nUOXYXhJuTtBv*`gU4*m4@(>p1vO~QOP?Fr$fA8QAd?oxo H$^-xac`?cR 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 0000000000000000000000000000000000000000..3d0d08ddfc570856407a99665afd1e2ee7c423ab GIT binary patch literal 480 zcmV<60U!P!iwFP!00000|K*iUYuqpphVT6q!lx7xA<6Q``qa`8NDt{k(o4}rk!QW4 zwqzvPC4~O>j>B%chm?f91iBX^Ud@bV=3&N<*{5U&h)EA))?|VSdBNEQtM1sUk!2$p zEm^$pzM|+r|N8{_8t8XZc!5fH?j<(GjE*O)4wX_YOTk7-x=rCyO&>=#Y zt%1F|(FP9G8A7z);RQcX!Ob>!H-JlcvktzUOj^ti!uj?&<~rCxhlhQ_zUv^M+{KY5 zFk9zQvJmO=Hod~n=W*<<(M!lX>_$XS>`K(#674qWkgV&-OO|Ac%hgvsYr-qaXhnY6 zv?c57OY+nWauyeVXvzHpX#uJUN%|NiOjqQO%Natju`+k9Uugy=AJmJV^qo+RY z%^ISzousm(2?)w-$t#whFoE0M47@l(I1Pd_!I6sbu8rhuS3C)ma|@x34FVEp691b;Pp+$ W%i^_7hChUV&cPo_rkgL62><{EEA>(U literal 0 HcmV?d00001