Skip to content

Commit

Permalink
Merge pull request #46 from SEAFTeam/v1.2.5
Browse files Browse the repository at this point in the history
v1.2.5
  • Loading branch information
kmyachin authored Mar 18, 2024
2 parents 5b1f694 + 98dcaf1 commit 7d56565
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dochub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $package:
# Описание
description: Sber Enterprise Architect Framework
# Версия
version: 1.2.4
version: 1.2.5
# Зависимости от других пакетов
dependencies:
dochub: ">=3.9.0"
Expand Down
8 changes: 7 additions & 1 deletion entities/ba/parties/parties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ entities:
description: Продукты, потребляемые или потенциально интересные Участнику
type: array
items:
$ref: "#/$rels/seaf.ba.products.product"
type: object
properties:
id:
title: Идентификатор продукта
$ref: "#/$rels/seaf.ba.products.product"
required:
- id
is_part_of:
title: Является частью
description: Отношение n к 1 для описания строгих иерархических связей
Expand Down
60 changes: 60 additions & 0 deletions entities/ta/presentation/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,66 @@ entities:
template: templates/list.md
source: >
( {'title': $self.title, 'id':$params."ta-component-id", "base-name":$split($self."$base", "/")[2]};)
seaf.ta.components.k8s_statefulset:
presentations:
table:
type: table
headers:
- value: title
text: Наименование
sortable: true
align: left
width: 20%
link: link

- value: description
text: Описание
sortable: true
align: left
width: 20%
link: link

- value: availabilityzone_id
text: Availability Zone ID
sortable: true
align: left
width: 20%

- value: kubernetes_id
text: Kubernetes cluster ID
sortable: true
align: left
width: 20%

source: >
(
[[$."seaf.ta.components.k8s_statefulset".$spread().(
$COMPONENT_ID := $keys()[0];
$.*.{
"title": title,
"description": description,
"kubernetes_id": kubernetes_id,
"availabilityzone_id": availabilityzone_id,
"link": '/entities/seaf.ta.components.k8s_deployment/list?ta-component-id=' & $COMPONENT_ID
}
)]^(title)]
)
list:
title: Карточка спецификации
params:
type: object
properties:
seaf-ta-component-id:
title: Идентификатор спецификации k8s statefulset
type: string
required:
- ta-component-id
type: markdown
template: templates/list.md
source: >
( {'title': $self.title, 'id':$params."ta-component-id", "base-name":$split($self."$base", "/")[2]};)
seaf.ta.components.k8s_pod:
presentations:
table:
Expand Down
3 changes: 3 additions & 0 deletions entities/ta/presentation/templates/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
## K8s Deployment
![K8s Deployment](@entity/seaf.ta.components.k8s_deployment/table)

## K8s StatefulSet
![K8s StatefulSet](@entity/seaf.ta.components.k8s_statefulset/table)

## K8s POD
![POD K8s](@entity/seaf.ta.components.k8s_pod/table)

Expand Down

0 comments on commit 7d56565

Please sign in to comment.