Skip to content

Commit 84948ee

Browse files
authored
Merge pull request #15 from ValentinKozlov/main
Исправил баги, переделал формирование меню
2 parents db60957 + a591ce2 commit 84948ee

32 files changed

Lines changed: 60 additions & 42 deletions

File tree

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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# Список полезных ссылок ГК Болото
22

3-
[Добавить](https://gitlab.samoletgroup.ru/-/ide/project/enterprise-architecture/samolet/edit/as-is/-/documentation/useful_links/useful_links.yaml)
4-
53
![Выводим таблицу со списком полезных ссылок](@document/useful_links_table)

src/repository_structure_example/enterprise_arch/tools/dochub/.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ VUE_APP_DOCHUB_ROOT_DOCUMENT=swamp.welcome
4949

5050
# (F / FB) Сервер рендеринга PlantUML (По умолчанию www.plantuml.com/plantuml/svg/)
5151
# При сборке через docker-compose по умолчанию localhost:8079/svg/
52-
# VUE_APP_PLANTUML_SERVER=https://plantuml-stage.samoletgroup.ru/svg/
5352
VUE_APP_PLANTUML_SERVER=http://localhost:9000/plantuml/svg/
5453

5554

@@ -113,7 +112,6 @@ VUE_APP_DOCHUB_JSONATA_ANALYZER=y
113112
# ВНИМАНИЕ! Размещение файлов в @/public/ будет приводить к их прямой доступности из фронта по URL.
114113
# VUE_APP_DOCHUB_BACKEND_FILE_STORAGE=~/DocHub/storage
115114

116-
# VUE_APP_DOCHUB_SSO_HOST=https://id-stage.samoletgroup.ru
117115
# VUE_APP_DOCHUB_SSO_CLIENTID=Iq7k6TKn86a9Bij1ngSC7IYEH0VGYGZcQmIN5szj
118116

119117
# ***********************************************************
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+
)

0 commit comments

Comments
 (0)