正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
描述现实世界环境运行系统的配置的开发步骤。 Association 关联,是一种拥有的关系,它使一个类知道另一个类的属性和方法。 部署图一般用于: 嵌入式系统建模(硬件之间的交互)。 客户端/服务器系统建模(用户界面与数据的分离)。 分布式系统建模(多级服务器)。 父主题: UML建模
如何配置架构规则方案 架构配置,只有管理员可以配置,可设置模型工程视图类型,以及配置对应视图类型下面的架构图元关系和连线规则。 每种模型图是可以配置架构层级关系,下面以4+1视图下逻辑视图中的逻辑模型为例作简单说明,其它类型的模型图配置方法可参考此处,如图所示。 4+1视图中逻辑
如何配置关联模型工程 想要引用“关联模型工程”中定义过的模块,首先需要申请与目标工程进行关联,发起申请后,由对应空间的管理员权限的人员在“关联我的”中操作栏通过审核。 空间关联模型工程配置解决用户要跨空间引用模块的问题,需要配置的用户拥有管理员权限,关联有权限的模型空间时可以直接
元素类型:此处选择的类型决定图元的外观样式和默认属性。 继承构造型:继承选择的目标类型的属性信息。 是否继承扩展属性:是否继承类型选择的元素的扩展属性。 创建成功后显示在自定义构造型列表,操作栏功能如下: “修改构造型”修改名称、描述及元素类型。 “检查属性”,查看继承过来的属性,并新增属性或调整已有属性的顺序。
架构检查方案功能是基于架构检查中的规则项,设置一个检查规则集合,可将该检查集合设置为架构检查中默认启用的检查规则集,该检查会生成检查任务到架构检查历史中。 单击“新增架构检查方案”,输入方案名称,规则集中的检查项来源基于通用检查规则,选择要配置到规则集中的方案。 新建名称为逻辑模型检查项,勾选对应检查规则。
Service,CTS),是华为云安全解决方案中专业的日志审计服务,提供对各种云资源操作记录的收集、存储和查询功能,可用于支撑安全分析、合规审计、资源跟踪和问题定位等常见应用场景。 用户开通云审计服务并创建和配置追踪器后,CTS可记录架构建模的管理事件和数据事件用于审计。 CTS的详细介绍和开通配置方法,请参见CTS快速入门。
Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 Association 关联,是一种拥有的关系,它使一个类知道另一个类的属性和方法。 建模示例 运行模型不需要引用其它模型中的元素,根据实际业务流程在图中创建对应的进程和线程元素,并建立它们之间的交互关系。如下图所示描述一个数据批量处理交互过程。
如何删除模型工程 进入项目后,切换到架构建模工具首页中,在对应的工程操作栏下点击“删除”,即可将工程删除。 父主题: 工程管理
模型图的列表,单击列表中的模型图名称,可以打开对应的模型图; 通过双击图标上的子图图标也可以直接打开图元的子图; 关联图方式:将元素与图进行手动关联,可以实现双击元素图形上的关联图角标,快速打开关联的图形; 元素关联到当前模型工程其他图,在元素菜单中点“关联图”: 在弹出的窗口中
架构信息树页签中可展示基于各种模型的架构方案规则,根据该类模型的元素关系集合生成一棵全量关系结构树。 架构方案规则的配置只有工程的管理员级别角色(带有配置资源操作权限的角色)才可配置,一般是产品的架构师来配置,制定产品的各模型中元素关系约束规则,例如逻辑模型的默认架构方案规则,方案中约束
辑元素的对应关系,建立逻辑元素到代码仓或者代码目录的映射关系,以实现软件源代码的显示管理。元素介绍如下表所示: 表1 代码模型元素介绍 元素名 图标 含义 Repo Grp 代码仓组是代码模型分组辅助元素,不对应具体的代码仓,仅表示一个集合。 一个设计对象对应多个代码仓的情况,建议使用Repo
创建顺序图 绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。 已创建的模型图修改图类型具体请参考如何查看和修改模型图类型。 单击新增图。 弹出新建图弹窗选择“UML>顺序图”,填写顺序图基本信息。 父主题: 顺序图
引用到代码模型中的代码元素(包含关联空间中的引用的代码元素); 如何检查 查询基于代码模型图构出的代码模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素与上一层级的元素之间的连线类型和父子关系指向。 嵌套:是否支持当前类型的元素与同类型元素建立关系。 嵌套
在工程根节点下面建包,需要点击工程名称菜单项的“新建包”按钮。 在包目录下面建子包目录节点,则选中包目录节点,在菜单中使用“新建包”功能即可。 选择要增加包的包节点,点击后面的选项按钮,选择“新建包”。 建包需要创建包的角色权限,如果看不到新增包的菜单项,需要申请建包对应的角色权限,权限介绍可参考权限管理,申请对应的角色。
部署模型的基础构造型与自定义构造型元素才认定为部署元素)。 在部署模型图上创建出来的部署元素; 引用到部署模型中的部署元素(包含关联空间中的引用的部署元素); 如何检查 查询部署模型图内元素类型为架构方案配置构造型的所有元素,查询基于模型图构出的部署模型架构树。 正确示例 每个部署元素都有连线关系和上下级关系(包含关系)。
按关联工程分类显示从关联工程中引用到当前工程中的元素,打开元素在当前工程中的所在图列表,从列表中单击打开对应的图。 定位到工程树 打开关联的模型工程树,定位到元素所在关联工程树中的位置。 关联模型工程 关联模型工程 引用关联工程的模块,切换关联的模型工程及分支,从关联的工程树拖元素节点到图中引用。
如何表示父子关系 方式一:图中绘制时采用图元嵌套的方式。同时,左侧目录树保持父子结构。 方式二:图中图元设置组合或者聚合关系。如果架构方案中设置其它类型的连线支持构成上下级关系,那么图中绘制对应的连线类型,也可以构成父子关系。 父主题: 模型设计
架构基础信息检查 1.1元素名称不能为空 详细描述 建模设计的元素名称不能为空,如果存在名称为空的元素,在检查结果中都会列出。 检查范围 在图上创建的元素在工程树中出现对应的节点,即为建模元素,都在被检查范围内。 如何检查 查询模型工程内所有建模元素,检查出名称为空元素。 正确示例
有两个或更多操作数片段。 涉及同一生命线的消息必须以片段的顺序发生。 如果消息涉及的生命线不同,来自不同片段的消息可能会并行交错。 strict 强顺序 有两个或更多操作数片段。 这些片段必须按给定顺序发生。 consider 考虑 指定此片段描述的消息列表。 其他消息可发生在运行的系统中,但对此描述来说意义不大。
于当前的主干模型工程拉取一个分支 ,该分支需要继承当前时间节点的主干库的数据,并在该分支上进行再设计。此场景下用户就可以使用拉分支的功能(分支不支持合并到其它分支中); 如果是需要对当前的主干或者分支打标记快照,用于以后的对比查看,可以使用打标签的功能;记录标签生成时刻对应的主干或者分支的数据状态;