@seafteam/seaf-archtool-core-plugin-suite 2026.29.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +27 -0
- package/documentation/arch/aspects.yaml +81 -0
- package/documentation/arch/components/browser.yaml +51 -0
- package/documentation/arch/components/examples/context.yaml +37 -0
- package/documentation/arch/components/examples/order.yaml +92 -0
- package/documentation/arch/components/examples/payment.yaml +92 -0
- package/documentation/arch/components/examples/root.yaml +42 -0
- package/documentation/arch/components/front.yaml +309 -0
- package/documentation/arch/components/gitlab.yaml +81 -0
- package/documentation/arch/components/plantuml.yaml +57 -0
- package/documentation/arch/components/root.yaml +36 -0
- package/documentation/arch/components/user.yaml +41 -0
- package/documentation/arch/components/web.yaml +39 -0
- package/documentation/arch/contexts.yaml +99 -0
- package/documentation/arch/forms.yaml +36 -0
- package/documentation/arch/namespaces.yaml +43 -0
- package/documentation/arch/root.yaml +43 -0
- package/documentation/arch/rules.yaml +91 -0
- package/documentation/arch/technologies.yaml +84 -0
- package/documentation/dochub.yaml +32 -0
- package/documentation/docs/conception/archdistrib.puml +38 -0
- package/documentation/docs/conception/archeco.puml +11 -0
- package/documentation/docs/conception/archeco_proc.puml +29 -0
- package/documentation/docs/conception/archver.puml +24 -0
- package/documentation/docs/conception/facade.puml +20 -0
- package/documentation/docs/conception/introduction.md +144 -0
- package/documentation/docs/conception/mindmap.puml +55 -0
- package/documentation/docs/conception/root.yaml +66 -0
- package/documentation/docs/manual/aspects.md +37 -0
- package/documentation/docs/manual/backend/api.yaml +664 -0
- package/documentation/docs/manual/backend/search-implementation.md +190 -0
- package/documentation/docs/manual/backend/search.yaml +495 -0
- package/documentation/docs/manual/clickstream-setup.md +50 -0
- package/documentation/docs/manual/components.md +45 -0
- package/documentation/docs/manual/config/deployment.md +337 -0
- package/documentation/docs/manual/context_source.puml +17 -0
- package/documentation/docs/manual/contexts.md +200 -0
- package/documentation/docs/manual/datasets.md +120 -0
- package/documentation/docs/manual/docs/AI_TABLE_INTEGRATION.md +81 -0
- package/documentation/docs/manual/docs/asyncapi.md +63 -0
- package/documentation/docs/manual/docs/bpmn.md +122 -0
- package/documentation/docs/manual/docs/charts.md +371 -0
- package/documentation/docs/manual/docs/docs.md +76 -0
- package/documentation/docs/manual/docs/drawio_intro.md +397 -0
- package/documentation/docs/manual/docs/editable_table/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/root.yaml +9 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/table.yaml +396 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/template.md +404 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/table.yaml +136 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/template.md +247 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/pets.yaml +23 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/menu.yaml +34 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/table.yaml +36 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_root.md +110 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_table.md +3 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/template.md +300 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/data.yaml +10 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/data_column_1.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/table.yaml +52 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/template.md +117 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/root.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/table.yaml +116 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/template.md +231 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml +30 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml +122 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/template.md +276 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/data.yaml +11 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/table.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/template.md +59 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/table.yaml +35 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/template.md +142 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/data.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/table.yaml +77 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/template.md +146 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/template.md +3 -0
- package/documentation/docs/manual/docs/editable_table/template.md +24 -0
- package/documentation/docs/manual/docs/examples/asyncapi.yaml +77 -0
- package/documentation/docs/manual/docs/examples/asyncapi_template.json +11 -0
- package/documentation/docs/manual/docs/examples/autors.yaml +30 -0
- package/documentation/docs/manual/docs/examples/bpmn.xml +44 -0
- package/documentation/docs/manual/docs/examples/cat.jpg +0 -0
- package/documentation/docs/manual/docs/examples/charts-bar.yaml +61 -0
- package/documentation/docs/manual/docs/examples/charts-bubble.yaml +47 -0
- package/documentation/docs/manual/docs/examples/charts-doughnut.yaml +42 -0
- package/documentation/docs/manual/docs/examples/charts-line.yaml +55 -0
- package/documentation/docs/manual/docs/examples/charts-pie.yaml +37 -0
- package/documentation/docs/manual/docs/examples/charts-polararea.yaml +54 -0
- package/documentation/docs/manual/docs/examples/charts-radar.yaml +50 -0
- package/documentation/docs/manual/docs/examples/charts-scatter.yaml +48 -0
- package/documentation/docs/manual/docs/examples/charts.yaml +91 -0
- package/documentation/docs/manual/docs/examples/contexts.jsonata +8 -0
- package/documentation/docs/manual/docs/examples/date-picker-example.md +5 -0
- package/documentation/docs/manual/docs/examples/example.html +2 -0
- package/documentation/docs/manual/docs/examples/example.puml +17 -0
- package/documentation/docs/manual/docs/examples/example.yaml +53 -0
- package/documentation/docs/manual/docs/examples/ext-schema.yaml +3 -0
- package/documentation/docs/manual/docs/examples/inlinemeta.md +25 -0
- package/documentation/docs/manual/docs/examples/markaper.yaml +225 -0
- package/documentation/docs/manual/docs/examples/mermaid.mmd +32 -0
- package/documentation/docs/manual/docs/examples/openapi_template.json +16 -0
- package/documentation/docs/manual/docs/examples/pizza-collaboration.xml +383 -0
- package/documentation/docs/manual/docs/examples/sa-anim.yaml +209 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-boundary.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-leaves.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-title.yaml +98 -0
- package/documentation/docs/manual/docs/examples/sa-complex.yaml +92 -0
- package/documentation/docs/manual/docs/examples/sa-gravity.yaml +104 -0
- package/documentation/docs/manual/docs/examples/sa-group.yaml +93 -0
- package/documentation/docs/manual/docs/examples/sa-physical-connection.yaml +79 -0
- package/documentation/docs/manual/docs/examples/sa-query.jsonata +74 -0
- package/documentation/docs/manual/docs/examples/sa-symbol.yaml +72 -0
- package/documentation/docs/manual/docs/examples/sa-through-objects.yaml +46 -0
- package/documentation/docs/manual/docs/examples/sa-without-tips.yaml +43 -0
- package/documentation/docs/manual/docs/examples/showcases.jsonata +5 -0
- package/documentation/docs/manual/docs/examples/smartants_.yaml +160 -0
- package/documentation/docs/manual/docs/examples/table.yaml +341 -0
- package/documentation/docs/manual/docs/examples/template.puml +6 -0
- package/documentation/docs/manual/docs/examples/test.jsonata +3 -0
- package/documentation/docs/manual/docs/examples/toc/2header.md +8 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place-dup.md +37 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place.md +35 -0
- package/documentation/docs/manual/docs/examples/toc/root.yaml +38 -0
- package/documentation/docs/manual/docs/examples/toc/test.md +160 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/template.md +25 -0
- package/documentation/docs/manual/docs/gigachat/agents/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/gigachat.yaml +59 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/template.md +138 -0
- package/documentation/docs/manual/docs/gigachat/agents/root.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/gigachat.yaml +14 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/template.md +113 -0
- package/documentation/docs/manual/docs/gigachat/agents/template.md +62 -0
- package/documentation/docs/manual/docs/gigachat/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/root.yaml +4 -0
- package/documentation/docs/manual/docs/gigachat/settings/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/settings/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/settings/template.md +51 -0
- package/documentation/docs/manual/docs/gigachat/template.md +38 -0
- package/documentation/docs/manual/docs/images/cloud.png +0 -0
- package/documentation/docs/manual/docs/images/component.png +0 -0
- package/documentation/docs/manual/docs/images/system.png +0 -0
- package/documentation/docs/manual/docs/images/user.png +0 -0
- package/documentation/docs/manual/docs/markaper.md +278 -0
- package/documentation/docs/manual/docs/markdown.md +148 -0
- package/documentation/docs/manual/docs/mermaid.md +43 -0
- package/documentation/docs/manual/docs/network.md +117 -0
- package/documentation/docs/manual/docs/plantuml.md +28 -0
- package/documentation/docs/manual/docs/root.yaml +736 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/basic.yaml +13 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/diff.yaml +123 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/example_seaf_data.yaml +1689 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/root.yaml +5 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/templates.yaml +55 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/transformation.yaml +19 -0
- package/documentation/docs/manual/docs/seaf2drawio/object_description.md +35 -0
- package/documentation/docs/manual/docs/seaf2drawio/root.yaml +12 -0
- package/documentation/docs/manual/docs/seaf2drawio/seaf2drawio.md +118 -0
- package/documentation/docs/manual/docs/smartants.md +583 -0
- package/documentation/docs/manual/docs/svg_inline.md +66 -0
- package/documentation/docs/manual/docs/swagger.md +52 -0
- package/documentation/docs/manual/docs/tables.md +264 -0
- package/documentation/docs/manual/docs/templates/example.drawio +43 -0
- package/documentation/docs/manual/docs/templates/test.svg +79 -0
- package/documentation/docs/manual/docs/templates.md +361 -0
- package/documentation/docs/manual/docs/toc.md +137 -0
- package/documentation/docs/manual/entities/bstages.md +43 -0
- package/documentation/docs/manual/entities/bundle.md +105 -0
- package/documentation/docs/manual/entities/entities.md +727 -0
- package/documentation/docs/manual/entities/images/id_errors.png +0 -0
- package/documentation/docs/manual/entities/images/landspace.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-single.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-tree.jpeg +0 -0
- package/documentation/docs/manual/entities/images/object_select.png +0 -0
- package/documentation/docs/manual/entities/images/problems.png +0 -0
- package/documentation/docs/manual/entities/images/select_inter.png +0 -0
- package/documentation/docs/manual/entities/images/stages.jpg +0 -0
- package/documentation/docs/manual/entities/images/suggests.png +0 -0
- package/documentation/docs/manual/entities/intro.md +73 -0
- package/documentation/docs/manual/entities/rules.md +35 -0
- package/documentation/docs/manual/functions/example.yaml +50 -0
- package/documentation/docs/manual/functions/functions.md +51 -0
- package/documentation/docs/manual/functions/root.yaml +39 -0
- package/documentation/docs/manual/images/jbps1.1.png +0 -0
- package/documentation/docs/manual/images/jbps1.png +0 -0
- package/documentation/docs/manual/images/jbps2.png +0 -0
- package/documentation/docs/manual/images/vsc1.png +0 -0
- package/documentation/docs/manual/imports.md +59 -0
- package/documentation/docs/manual/introduction.md +38 -0
- package/documentation/docs/manual/jsonata.md +268 -0
- package/documentation/docs/manual/plugin-settings.md +134 -0
- package/documentation/docs/manual/plugins/interface.md +226 -0
- package/documentation/docs/manual/plugins/introduction.md +256 -0
- package/documentation/docs/manual/plugins/root.yaml +51 -0
- package/documentation/docs/manual/role-model.md +80 -0
- package/documentation/docs/manual/root-cluster-import.md +82 -0
- package/documentation/docs/manual/root.yaml +199 -0
- package/documentation/docs/manual/rules/exceptions.md +20 -0
- package/documentation/docs/manual/rules/exreason.md +3 -0
- package/documentation/docs/manual/rules/root.yaml +58 -0
- package/documentation/docs/manual/rules/rules.md +8 -0
- package/documentation/docs/manual/rules/standard.md +3 -0
- package/documentation/docs/manual/rules/validators.md +109 -0
- package/documentation/docs/manual/technologies.md +49 -0
- package/documentation/docs/root.yaml +32 -0
- package/documentation/docs/sequence.puml +48 -0
- package/documentation/docs/welcome.md +3 -0
- package/documentation/entities/extentions/entity.yaml +136 -0
- package/documentation/entities/extentions/templates/people.md +4 -0
- package/documentation/entities/interactions/entity.yaml +412 -0
- package/documentation/entities/interactions/templates/blank.puml +18 -0
- package/documentation/entities/interactions/templates/bpmn.xml +59 -0
- package/documentation/entities/interactions/templates/tree.puml +11 -0
- package/documentation/entities/root.yaml +33 -0
- package/documentation/root.yaml +37 -0
- package/metamodel/dochub/entities/aspects/base.yaml +73 -0
- package/metamodel/dochub/entities/aspects/blank.yaml +65 -0
- package/metamodel/dochub/entities/aspects/components.yaml +52 -0
- package/metamodel/dochub/entities/aspects/contexts.yaml +57 -0
- package/metamodel/dochub/entities/aspects/docs.yaml +51 -0
- package/metamodel/dochub/entities/aspects/hierarchy.yaml +80 -0
- package/metamodel/dochub/entities/aspects/root.yaml +9 -0
- package/metamodel/dochub/entities/aspects/summary.yaml +64 -0
- package/metamodel/dochub/entities/aspects/templates/components.md +5 -0
- package/metamodel/dochub/entities/aspects/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/aspects/templates/summary.md +9 -0
- package/metamodel/dochub/entities/aspects/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/aspects/tree.yaml +37 -0
- package/metamodel/dochub/entities/components/base.yaml +97 -0
- package/metamodel/dochub/entities/components/blank.yaml +64 -0
- package/metamodel/dochub/entities/components/contexts.yaml +55 -0
- package/metamodel/dochub/entities/components/docs.yaml +50 -0
- package/metamodel/dochub/entities/components/hierarchy.yaml +84 -0
- package/metamodel/dochub/entities/components/index.yaml +17 -0
- package/metamodel/dochub/entities/components/root.yaml +8 -0
- package/metamodel/dochub/entities/components/summary.yaml +58 -0
- package/metamodel/dochub/entities/components/symbol.yaml +113 -0
- package/metamodel/dochub/entities/components/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/components/templates/summary.md +8 -0
- package/metamodel/dochub/entities/components/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/components/tree.yaml +38 -0
- package/metamodel/dochub/entities/contexts/base.yaml +197 -0
- package/metamodel/dochub/entities/contexts/plantuml.yaml +241 -0
- package/metamodel/dochub/entities/contexts/root.yaml +5 -0
- package/metamodel/dochub/entities/contexts/smartants.yaml +177 -0
- package/metamodel/dochub/entities/contexts/templates/template.puml +183 -0
- package/metamodel/dochub/entities/contexts/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/contexts/tree.yaml +39 -0
- package/metamodel/dochub/entities/documents/base.yaml +73 -0
- package/metamodel/dochub/entities/documents/blank.yaml +28 -0
- package/metamodel/dochub/entities/documents/root.yaml +3 -0
- package/metamodel/dochub/entities/root.yaml +5 -0
- package/metamodel/dochub/functions/root.yaml +2 -0
- package/metamodel/dochub/functions/tools.yaml +46 -0
- package/metamodel/dochub/root.yaml +24 -0
- package/metamodel/dochub/rules/root.yaml +2 -0
- package/metamodel/dochub/rules/validators.yaml +144 -0
- package/metamodel/dochub/samples/01_components.yaml +23 -0
- package/metamodel/dochub/samples/02_contexts.yaml +23 -0
- package/metamodel/dochub/samples/03_documents.yaml +10 -0
- package/metamodel/dochub/samples/root.yaml +4 -0
- package/metamodel/dochub/samples/test.puml +17 -0
- package/metamodel/dochub.yaml +5 -0
- package/metamodel/docs/welcome.md +39 -0
- package/metamodel/root.yaml +8 -0
- package/package.json +28 -0
- package/plugin.html +1963 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Источники данных (datasets)
|
|
2
|
+
|
|
3
|
+
Источники данных во многом работают идентично [таблицам](/docs/archtool.tables) с данными.
|
|
4
|
+
Ключевое их отличие в том, что они сами не визуализируют их, а предоставляют потребителям.
|
|
5
|
+
|
|
6
|
+
## Предопределенные данные в источниках
|
|
7
|
+
|
|
8
|
+
Источники могут содержать предопределенные данные описанные в формате YAML или JSON.
|
|
9
|
+
|
|
10
|
+
```yaml
|
|
11
|
+
datasets:
|
|
12
|
+
archtool.components.criticality: # Определяет уровни критичности
|
|
13
|
+
source: # Предопределенные данные
|
|
14
|
+
- id: k1
|
|
15
|
+
title: Уровень K1
|
|
16
|
+
- id: k2
|
|
17
|
+
title: Уровень K2
|
|
18
|
+
- id: k3
|
|
19
|
+
title: Уровень K3
|
|
20
|
+
- id: k4
|
|
21
|
+
title: Уровень K4
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Результат в виде [таблицы](/docs/archtool.tables):
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
## Запросы к данным архитектуры
|
|
30
|
+
|
|
31
|
+
Есть возможность делать запросы к данным архитектуры используя JSONata запросы.
|
|
32
|
+
|
|
33
|
+
Например, данный запрос находит все архитектурные компоненты принадлежащие DocHub и сортирует их по названию.
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
datasets: # Источники данных
|
|
37
|
+
archtool.components: # Идентификатор источника
|
|
38
|
+
source: > # JSONata запрос к архитектуре
|
|
39
|
+
(
|
|
40
|
+
[components.$spread().{
|
|
41
|
+
"id": $keys()[0],
|
|
42
|
+
"location": *.title,
|
|
43
|
+
"link": "/architect/components/" & $keys()[0]
|
|
44
|
+
}[$substring(id, 0, 7)="dochub."]^(title)]
|
|
45
|
+
)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Результат:
|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
## Зависимость
|
|
53
|
+
|
|
54
|
+
Источники данных могут зависеть друг от друга. В примере данные получаются из источника "archtool.components"
|
|
55
|
+
и дополнительно обрабатываются.
|
|
56
|
+
|
|
57
|
+
```yaml
|
|
58
|
+
datasets:
|
|
59
|
+
archtool.components: # Возвращает все архитектурные компоненты DocHub
|
|
60
|
+
source: > # JSONata запрос к архитектуре
|
|
61
|
+
(
|
|
62
|
+
[components.$spread().{
|
|
63
|
+
"id": $keys()[0],
|
|
64
|
+
"location": *.title,
|
|
65
|
+
"link": "/architect/components/" & $keys()[0]
|
|
66
|
+
}[$substring(id, 0, 7)="dochub."]^(title)]
|
|
67
|
+
)
|
|
68
|
+
archtool.components.l1: # Выбирает только L1 для архитектурных компонентов DocHub
|
|
69
|
+
origin: archtool.components # Базовый источник данных
|
|
70
|
+
source: > # JSONata запрос к архитектуре
|
|
71
|
+
($[$count($split(id, "."))=2])
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Результат:
|
|
75
|
+
|
|
76
|
+

|
|
77
|
+
|
|
78
|
+
## Множественные зависимости
|
|
79
|
+
|
|
80
|
+
Иногда возникает необходимость консолидировать данные из нескольких источников для последующей обработки.
|
|
81
|
+
Это возможно сделать через структуру в origin.
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
archtool.multi_dependencies:
|
|
85
|
+
origin:
|
|
86
|
+
integrations: archtool.integrations # Указываем зависимость от источника "dochub.integrations"
|
|
87
|
+
criticality: archtool.components.criticality # Указываем зависимость от источника "dochub.components.criticality"
|
|
88
|
+
manifest: "($)" # Указывается зависимость от результата запроса JSONata - "($)"
|
|
89
|
+
source: >
|
|
90
|
+
(
|
|
91
|
+
/* Сохраняем контекст для использования в глубине */
|
|
92
|
+
$CONTEXT := $;
|
|
93
|
+
|
|
94
|
+
/* Обрабатываем данные подготовленные источником "archtool.integrations" */
|
|
95
|
+
integrations.(
|
|
96
|
+
/* Восстанавливаем ID компонента, чтобы получить по нему данные */
|
|
97
|
+
$ID_FROM := $reverse($split($."link-from", "/"))[0];
|
|
98
|
+
$ID_TO := $reverse($split($."link-to", "/"))[0];
|
|
99
|
+
|
|
100
|
+
/* Получаем данные критичности */
|
|
101
|
+
$CRITICALLY_FROM := $lookup($CONTEXT.manifest.components, $ID_FROM).criticality;
|
|
102
|
+
$CRITICALLY_FROM := $CRITICALLY_FROM ? $CRITICALLY_FROM : 4;
|
|
103
|
+
$CRITICALLY_TO := $lookup($CONTEXT.manifest.components,$ID_TO).criticality;
|
|
104
|
+
$CRITICALLY_TO := $CRITICALLY_TO ? $CRITICALLY_TO : 4;
|
|
105
|
+
$CRITICALLY := $CRITICALLY_FROM < $CRITICALLY_TO ? $CRITICALLY_FROM : $CRITICALLY_TO;
|
|
106
|
+
|
|
107
|
+
/* Обогащаем данные DataSet "archtool.integrations" информацией о критичности связи */
|
|
108
|
+
$merge([$, {
|
|
109
|
+
"criticality": $CONTEXT.criticality[id="k" & $CRITICALLY].title
|
|
110
|
+
}])
|
|
111
|
+
);
|
|
112
|
+
)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Результат:
|
|
116
|
+
|
|
117
|
+

|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Интеграция AI-агентов с редактируемыми таблицами
|
|
2
|
+
|
|
3
|
+
## Обзор
|
|
4
|
+
|
|
5
|
+
Реализована функциональность автоматического заполнения ячеек в редактируемых таблицах с помощью AI-агентов.
|
|
6
|
+
|
|
7
|
+
## Особенности
|
|
8
|
+
|
|
9
|
+
1. **Иконка AI в заголовках**: Для колонок с настроенным агентом появляется иконка робота
|
|
10
|
+
2. **Инициализация агента**: Агент инициализируется с параметрами из URL
|
|
11
|
+
3. **Итеративная обработка**: Каждая строка таблицы обрабатывается отдельно
|
|
12
|
+
4. **Автоматическое заполнение**: Ответы от агента записываются в ячейки (если не "None")
|
|
13
|
+
5. **Управление сессиями**: Сессия агента автоматически завершается после обработки
|
|
14
|
+
|
|
15
|
+
## Конфигурация
|
|
16
|
+
|
|
17
|
+
В headers таблицы добавляется новое поле `agent`:
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
- value: tech_component
|
|
21
|
+
text: Техкомпонент
|
|
22
|
+
editable: true
|
|
23
|
+
save:
|
|
24
|
+
path: mock.yaml
|
|
25
|
+
agent:
|
|
26
|
+
aichat.scenarios.tech_param_prediction:
|
|
27
|
+
params:
|
|
28
|
+
- domain
|
|
29
|
+
input_headers:
|
|
30
|
+
- title
|
|
31
|
+
- description
|
|
32
|
+
- id
|
|
33
|
+
request: |
|
|
34
|
+
Предложи технический параметр для системы:
|
|
35
|
+
Идентификатор системы: [id]
|
|
36
|
+
Описание системы: [description]
|
|
37
|
+
Наименование системы [title]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Параметры agent:
|
|
41
|
+
|
|
42
|
+
- **Ключ**: Идентификатор агента в формате `документ.scenarios.сценарий`
|
|
43
|
+
- **params**: Параметры, передаваемые из URL в агент
|
|
44
|
+
- **input_headers**: Поля строки, используемые для формирования запроса
|
|
45
|
+
- **request**: Шаблон запроса с подстановками в квадратных скобках
|
|
46
|
+
|
|
47
|
+
## Пример использования
|
|
48
|
+
|
|
49
|
+
1. Откройте редактируемую таблицу с настроенным агентом
|
|
50
|
+
2. Убедитесь, что в URL есть необходимые параметры (например, `?domain=ecogroup.berezka`)
|
|
51
|
+
3. Нажмите на иконку AI в заголовке колонки
|
|
52
|
+
4. Дождитесь завершения обработки
|
|
53
|
+
|
|
54
|
+
## Файлы изменений
|
|
55
|
+
|
|
56
|
+
### Основные компоненты:
|
|
57
|
+
- `plugins/editable-table/components/Table/Table.vue` - добавлена иконка AI и обработчик
|
|
58
|
+
- `plugins/editable-table/components/index.vue` - основная логика интеграции с агентами
|
|
59
|
+
|
|
60
|
+
### Тестовые файлы:
|
|
61
|
+
- `public/workspace/documentation/KA/table.yaml` - конфигурация таблицы
|
|
62
|
+
- `public/workspace/documentation/KA/mock.yaml` - файл для сохранения данных
|
|
63
|
+
- `public/workspace/documentation/KA/v2023/application/tech_components.yaml` - тестовые технические компоненты
|
|
64
|
+
|
|
65
|
+
## Логика работы
|
|
66
|
+
|
|
67
|
+
1. **Инициализация**: При нажатии на иконку AI извлекается конфигурация агента
|
|
68
|
+
2. **Получение агента**: Загружается конфигурация агента из документа
|
|
69
|
+
3. **Параметры**: Собираются параметры из URL согласно настройкам
|
|
70
|
+
4. **Создание сессии**: Инициализируется новая сессия агента
|
|
71
|
+
5. **Обработка строк**: Для каждой строки:
|
|
72
|
+
- Формируется запрос с подстановками из input_headers
|
|
73
|
+
- Отправляется запрос агенту
|
|
74
|
+
- Ответ записывается в ячейку (если не "None")
|
|
75
|
+
6. **Завершение**: Сессия агента закрывается
|
|
76
|
+
|
|
77
|
+
## Требования
|
|
78
|
+
|
|
79
|
+
- Настроенный GigaChat сервис
|
|
80
|
+
- Конфигурированные агенты в документах
|
|
81
|
+
- Редактируемые таблицы с save конфигурацией
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AsyncAPI
|
|
2
|
+
|
|
3
|
+
Предназначен для описания событийно-ориентированных сервисов. Пример контракта с официального
|
|
4
|
+
[сайта](https://www.asyncapi.com/blog/understanding-asyncapis).
|
|
5
|
+
|
|
6
|
+
```yaml
|
|
7
|
+
asyncapi: 2.0.0
|
|
8
|
+
info:
|
|
9
|
+
title: Account Service
|
|
10
|
+
version: "1.0.0"
|
|
11
|
+
description: |
|
|
12
|
+
Manages user accounts in the system.
|
|
13
|
+
license:
|
|
14
|
+
name: Apache 2.0
|
|
15
|
+
url: https://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
|
|
17
|
+
servers:
|
|
18
|
+
production:
|
|
19
|
+
url: mqtt://test.mosquitto.org
|
|
20
|
+
protocol: mqtt
|
|
21
|
+
description: Test MQTT broker
|
|
22
|
+
|
|
23
|
+
channels:
|
|
24
|
+
user/signedup:
|
|
25
|
+
subscribe:
|
|
26
|
+
operationId: emitUserSignUpEvent
|
|
27
|
+
message:
|
|
28
|
+
$ref: "#/components/messages/UserSignedUp"
|
|
29
|
+
|
|
30
|
+
components:
|
|
31
|
+
messages:
|
|
32
|
+
UserSignedUp:
|
|
33
|
+
name: userSignedUp
|
|
34
|
+
title: User signed up event
|
|
35
|
+
summary: Inform about a new user registration in the system
|
|
36
|
+
contentType: application/json
|
|
37
|
+
payload:
|
|
38
|
+
$ref: "#/components/schemas/userSignedUpPayload"
|
|
39
|
+
|
|
40
|
+
schemas:
|
|
41
|
+
userSignedUpPayload:
|
|
42
|
+
type: object
|
|
43
|
+
properties:
|
|
44
|
+
firstName:
|
|
45
|
+
type: string
|
|
46
|
+
description: "foo"
|
|
47
|
+
lastName:
|
|
48
|
+
type: string
|
|
49
|
+
description: "bar"
|
|
50
|
+
email:
|
|
51
|
+
type: string
|
|
52
|
+
format: email
|
|
53
|
+
description: "baz"
|
|
54
|
+
createdAt:
|
|
55
|
+
type: string
|
|
56
|
+
format: date-time
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Представление документа в DocHub:
|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# BPMN
|
|
2
|
+
|
|
3
|
+
Поддерживается BPMN нотация описания бизнес-процессов с использованием [bpmnjs](https://bpmn.io/).
|
|
4
|
+
|
|
5
|
+
## Пример рендеринга процесса из xml файла
|
|
6
|
+
Представление:
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Манифест:
|
|
11
|
+
```yaml
|
|
12
|
+
...
|
|
13
|
+
archtool.example.bpmn:
|
|
14
|
+
location: SEAF.ArchTool/Руководство/Документы/BPMN/Простой пример # Размещение документа в меню
|
|
15
|
+
type: bpmnjs # Тип документа
|
|
16
|
+
source: examples/bpmn.xml # Файл с xml описанием диаграммы
|
|
17
|
+
...
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Содержимое файла examples/bpmn.xml:
|
|
21
|
+
```xml
|
|
22
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
23
|
+
<definitions
|
|
24
|
+
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
25
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
26
|
+
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
|
|
27
|
+
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
|
|
28
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
29
|
+
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2"
|
|
30
|
+
targetNamespace="http://bpmn.io/bpmn"
|
|
31
|
+
exporter="bpmn-js (https://demo.bpmn.io)"
|
|
32
|
+
exporterVersion="17.6.2">
|
|
33
|
+
<process id="Process_1" isExecutable="false">
|
|
34
|
+
<startEvent id="StartEvent_1y45yut" name="hunger noticed">
|
|
35
|
+
<outgoing>SequenceFlow_0h21x7r</outgoing>
|
|
36
|
+
</startEvent>
|
|
37
|
+
<task id="Task_1hcentk" name="choose recipe">
|
|
38
|
+
<incoming>SequenceFlow_0h21x7r</incoming>
|
|
39
|
+
<outgoing>SequenceFlow_0wnb4ke</outgoing>
|
|
40
|
+
</task>
|
|
41
|
+
<sequenceFlow id="SequenceFlow_0h21x7r" sourceRef="StartEvent_1y45yut" targetRef="Task_1hcentk" />
|
|
42
|
+
<exclusiveGateway id="ExclusiveGateway_15hu1pt" name="desired dish?">
|
|
43
|
+
<incoming>SequenceFlow_0wnb4ke</incoming>
|
|
44
|
+
</exclusiveGateway>
|
|
45
|
+
<sequenceFlow id="SequenceFlow_0wnb4ke" sourceRef="Task_1hcentk" targetRef="ExclusiveGateway_15hu1pt" />
|
|
46
|
+
</process>
|
|
47
|
+
<bpmndi:BPMNDiagram id="BpmnDiagram_1">
|
|
48
|
+
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1">
|
|
49
|
+
<bpmndi:BPMNShape id="StartEvent_1y45yut_di" bpmnElement="StartEvent_1y45yut">
|
|
50
|
+
<omgdc:Bounds x="152" y="102" width="36" height="36" />
|
|
51
|
+
<bpmndi:BPMNLabel>
|
|
52
|
+
<omgdc:Bounds x="134" y="145" width="73" height="14" />
|
|
53
|
+
</bpmndi:BPMNLabel>
|
|
54
|
+
</bpmndi:BPMNShape>
|
|
55
|
+
<bpmndi:BPMNShape id="Task_1hcentk_di" bpmnElement="Task_1hcentk">
|
|
56
|
+
<omgdc:Bounds x="240" y="80" width="100" height="80" />
|
|
57
|
+
</bpmndi:BPMNShape>
|
|
58
|
+
<bpmndi:BPMNShape id="ExclusiveGateway_15hu1pt_di" bpmnElement="ExclusiveGateway_15hu1pt" isMarkerVisible="true">
|
|
59
|
+
<omgdc:Bounds x="395" y="95" width="50" height="50" />
|
|
60
|
+
<bpmndi:BPMNLabel>
|
|
61
|
+
<omgdc:Bounds x="388" y="152" width="65" height="14" />
|
|
62
|
+
</bpmndi:BPMNLabel>
|
|
63
|
+
</bpmndi:BPMNShape>
|
|
64
|
+
<bpmndi:BPMNEdge id="SequenceFlow_0h21x7r_di" bpmnElement="SequenceFlow_0h21x7r">
|
|
65
|
+
<omgdi:waypoint x="188" y="120" />
|
|
66
|
+
<omgdi:waypoint x="240" y="120" />
|
|
67
|
+
</bpmndi:BPMNEdge>
|
|
68
|
+
<bpmndi:BPMNEdge id="SequenceFlow_0wnb4ke_di" bpmnElement="SequenceFlow_0wnb4ke">
|
|
69
|
+
<omgdi:waypoint x="340" y="120" />
|
|
70
|
+
<omgdi:waypoint x="395" y="120" />
|
|
71
|
+
</bpmndi:BPMNEdge>
|
|
72
|
+
</bpmndi:BPMNPlane>
|
|
73
|
+
</bpmndi:BPMNDiagram>
|
|
74
|
+
</definitions>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Дизайн процессов
|
|
78
|
+
|
|
79
|
+
Поддерживается возможность редактирования BPMN диаграмм в визуальном редакторе.
|
|
80
|
+
В настоящий момент эта возможность доступна в [плагине к IDE IDEA](https://gitverse.ru/seafteam/seaf-archtool-ideplugin-jetbrains/releases).
|
|
81
|
+
Также есть возможность редактировать диаграммы на сайте проекта [bpmnjs](https://demo.bpmn.io/s/start).
|
|
82
|
+
|
|
83
|
+
**ВАЖНО:** В перспективе редактирование диаграмм будет доступно также на портале, а также разнообразие нотаций
|
|
84
|
+
из проекта bpmnjs будет значительно расширено.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## Анализ процессов
|
|
89
|
+
|
|
90
|
+
SEAF.ArchTool может обращаться к описанию процессов в XML формате аналогично YAML и JSON. Для этого необходимо указать XML
|
|
91
|
+
файл как источник данных. Например, рассмотрим анализ процесса:
|
|
92
|
+
|
|
93
|
+

|
|
94
|
+
|
|
95
|
+
Выявим реестр задач определенных в процессе и выразим его в таблице:
|
|
96
|
+
|
|
97
|
+
```yaml
|
|
98
|
+
docs:
|
|
99
|
+
...
|
|
100
|
+
archtool.example.bpmn.analyse:
|
|
101
|
+
origin: examples/pizza-collaboration.xml # Указываем источником оригинальных данных XML файл
|
|
102
|
+
source: > # Обрабатываем XML
|
|
103
|
+
(
|
|
104
|
+
[$."semantic:definitions"."semantic:process"."semantic:task"."$"]
|
|
105
|
+
)
|
|
106
|
+
type: table # Тип документа "таблица"
|
|
107
|
+
headers: # Заголовки таблицы
|
|
108
|
+
- value: id
|
|
109
|
+
text: Идентификатор
|
|
110
|
+
sortable: true
|
|
111
|
+
align: left
|
|
112
|
+
width: 20%
|
|
113
|
+
- value: name
|
|
114
|
+
text: Название задачи
|
|
115
|
+
sortable: true
|
|
116
|
+
align: left
|
|
117
|
+
...
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Результат:
|
|
121
|
+
|
|
122
|
+

|