Skip to content

Commit 4db78f9

Browse files
Исправил баги, переделал формирование меню
1 parent e1ddf85 commit 4db78f9

30 files changed

Lines changed: 55 additions & 33 deletions

src/repository_structure_example/_root.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
imports:
22
- application_arch/_root.yaml
3-
- artefacts/_root.yaml
3+
- artifacts/_root.yaml
44
- business_arch/_root.yaml
55
- dictionaries/_root.yaml
66
- documentation/_root.yaml
File renamed without changes.

src/repository_structure_example/artefacts/common/_root.yaml renamed to src/repository_structure_example/artifacts/common/_root.yaml

File renamed without changes.

src/repository_structure_example/artefacts/common/pal1_landscape.yaml renamed to src/repository_structure_example/artifacts/common/pal1_landscape.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
contexts: # Контексты представления архитектурных компонентов
22
arch.swamp.common:
33
title: ГК Болото
4-
location: ГК Болото
4+
location: 03. Верхнеуровневый прикладной ландшафт (ПА-L1)/ГК Болото
55
extra-links: true
66
# extra-links: false
77
uml:

src/repository_structure_example/artefacts/frog_paradise/_root.yaml renamed to src/repository_structure_example/artifacts/frog_paradise/_root.yaml

File renamed without changes.

src/repository_structure_example/artefacts/frog_paradise/pal1_landscape.yaml renamed to src/repository_structure_example/artifacts/frog_paradise/pal1_landscape.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
contexts: # Контексты представления архитектурных компонентов
22
arch.swamp.frog_paradise:
3-
title: Верхнеуровневый прикладной ландшафт (ПА-L1) БЮ Лягушачий рай/
4-
location: Лягушачий рай
3+
title: Верхнеуровневый прикладной ландшафт (ПА-L1) для БЮ Лягушачий рай
4+
location: 03. Верхнеуровневый прикладной ландшафт (ПА-L1)/Лягушачий рай
55
# extra-links: true
66
extra-links: false
77
# uml:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
imports:
22
- custom/_root.yaml
3-
- default/_root.yaml
3+
# - dochub/_root.yaml
44
- datasets/_root.yaml
55
- jsonata/_root.yaml
66

src/repository_structure_example/metamodels/custom/business_entities/business_entities_model.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ entities: # Сущности расширенной метамодели
2222
presentations:
2323
business_entities_table_list:
2424
type: table
25+
title: Таблица бизнес-сущностей
26+
2527
headers:
2628
- value: title
2729
text: Бизнес-сущность
@@ -44,11 +46,20 @@ entities: # Сущности расширенной метамодели
4446
# Выводим список бизнес-сущностей полученных в запросе выше business_entities_list
4547
business_entities_list:
4648
type: markdown
49+
title: Таблица бизнес-сущностей в md
4750
template: templates/business_entities_list.md
4851

4952
# Выводим карточку выбранной бизнес-сущности
5053
business_entity_card:
5154
type: markdown
55+
title: Карточка бизнес-сущности
56+
params:
57+
type: object
58+
properties:
59+
id:
60+
type: string
61+
required:
62+
- id
5263
template: templates/business_entity_card.md
5364
source: >
5465
(
@@ -59,6 +70,7 @@ entities: # Сущности расширенной метамодели
5970
# Получаем список бизнес-сущностей используемых в системах, все это выводим в таблицу
6071
business_entities_table_in_systems:
6172
type: table
73+
title: Таблица бизнес-сущностей используемых в системах
6274
headers:
6375
- value: system_title
6476
text: Система
@@ -88,11 +100,20 @@ entities: # Сущности расширенной метамодели
88100
# Выводим писок бизнес-сущностей используемых в системах полученных в запросе выше business_entities.in_systems
89101
business_entities_in_systems:
90102
type: markdown
103+
title: Таблица бизнес-сущностей используемых в системах в md
91104
template: templates/business_entities_in_systems.md
92105

93106
# Наследуемся от таблицы business_entities.in_systems и делаем фильтр по конкретной системе
94107
business_entities_table_in_systems.filtered: # Дочерняя таблица
95108
type: table
109+
title: Таблица бизнес-сущностей используемых в системах с фильтром
110+
params:
111+
type: object
112+
properties:
113+
system_id:
114+
type: string
115+
required:
116+
- system_id
96117
headers:
97118
- value: system_title
98119
text: Система
@@ -117,3 +138,20 @@ entities: # Сущности расширенной метамодели
117138
$[system_id=$params.system_id]
118139
)
119140
141+
# http://localhost:3030/entities/business_entities/presentations/get_business_entities
142+
get_business_entities:
143+
type: upload
144+
title: Выгрузка бизнес-сущностей в JSON
145+
# template: templates/temporary.json
146+
# params: # JSONSchema контроля параметров
147+
# type: object
148+
# properties:
149+
# gitlab_id:
150+
# type: string
151+
# required:
152+
# - gitlab_id
153+
origin: swamp.dataset.business_entities_in_systems # Базовый источник данных
154+
source: >
155+
(
156+
$[system_id="swamp.crocodile.crm"]
157+
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{content}}

src/repository_structure_example/metamodels/default/_root.yaml renamed to src/repository_structure_example/metamodels/dochub/_root.yaml

File renamed without changes.

0 commit comments

Comments
 (0)