正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
如何创建自定义视图和模型 工具支持用户根据业务需要在“工程设置>视图”中新增自定义类型的视图和模型。 点击上图位置中的“新增”按钮,输入新建视图类型的名称,点击“确定”。 点击新视图类型后面的“+”按钮,弹出“创建模型”窗口,输入新模型的名称。 点击确定后,会弹出关联工具箱的提示,点击“确定”。
如何编辑顺序图中的操作符 fragment元素拖入图中会弹出选择框选择需要的操作符类型。 选中alt操作符元素右键菜单>编辑条件,也可点击右下角+。 在弹出的条件编辑窗口中修改/增加/删除条件名称。 父主题: 模型设计
架构信息树 架构信息树页签中可展示基于各种模型的架构方案规则,根据该类模型的元素关系集合生成一棵全量关系结构树。 架构方案规则的配置只有工程的管理员级别角色(带有配置资源操作权限的角色)才可配置,一般是产品的架构师来配置,制定产品的各模型中元素关系约束规则,例如逻辑模型的默认架构
代码模型的基础构造型与自定义构造型元素才认定为代码模型元素)。 在代码模型图上创建出来的代码模型元素; 引用到代码模型中的代码元素(包含关联空间中的引用的代码元素); 如何检查 查询基于代码模型图构出的代码模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层
交付模型的基础构造型与自定义构造型元素才认定为交付元素)。 在交付模型图上创建出来的交付元素; 引用到交付模型中的交付元素(包含关联空间中的引用的交付元素); 如何检查 查询基于模型图构出的交付模型架构树,找出与架构方案不匹配(标红)的元素 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素
及逻辑模型架构方案配置的构造型。 包括:在逻辑模型图上创建出来的逻辑元素,引用到逻辑模型中的逻辑元素(包含关联空间中的引用的逻辑元素)。 如何检查 查询基于模型图(只有逻辑模型图内的逻辑元素参与构树)构出的逻辑模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例:
技术模型的基础构造型与自定义构造型元素才认定为技术元素)。 在技术模型图上创建出来的技术元素; 引用到技术模型中的技术元素(包含关联空间中的引用的技术元素)。 如何检查 查询基于模型图(只有技术模型图内的技术元素参与构树)构出的技术模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例:
构建模型的基础构造型与自定义构造型元素才认定为构建元素)。 在构建模型图上创建出来的构建元素; 引用到构建模型中的构建元素(包含关联空间中的引用的构建元素); 如何检查 查询基于模型图构出的构建模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元
部署模型的基础构造型与自定义构造型元素才认定为部署元素)。 在部署模型图上创建出来的部署元素; 引用到部署模型中的部署元素(包含关联空间中的引用的部署元素); 如何检查 查询基于模型图构出的部署模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元
架构信息 如何配置架构规则方案
组件图 组件图显示了复杂软件系统中的各个组件如何相互关联以及如何使用接口进行通信。它们不用于更简单或更直接的系统,元素介绍如下表所示: 表1 组件图元素介绍 元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。
服务韧性 架构建模通过多活无状态的跨AZ部署、AZ之间数据容灾等技术方案,保证业务进程故障时快速拉起并修复,以保障服务的持久性和可靠性。 父主题: 安全
概述 开发视图面向系统开发及软件管理,描述系统代码结构,构建结构的视图,主要解决系统技术实现和开发的问题,它依托逻辑视图,描述代码、构建结构。 模型类别 描述 代码模型(必选) 代码模型定义代码结构以及代码元素逻辑模型中逻辑元素的对应关系,建立逻辑元素到代码仓或者代码目录的映射关系,以实现软件源代码的显示管理。
创建顺序图 绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。 已创建的模型图修改图类型具体请参考如何查看和修改模型图类型。 单击新增图。 弹出新建图弹窗选择“UML>顺序图”,填写顺序图基本信息。 父主题: 顺序图
建模示例 运行模型不需要引用其它模型中的元素,根据实际业务流程在图中创建对应的进程和线程元素,并建立它们之间的交互关系。如下图所示描述一个数据批量处理交互过程。 父主题: 运行视图
概述 运行视图面向系统运行,描述系统启动过程、运行期交互的视图,主要解决系统运行期交互,描述各可执行交付件在运行期的交互关系。 表1 运行视图 模型类别 描述 运行模型(可选) 运行模型描述系统运行期间的关系,从进程的维度描述系统运行时的交互过程和关键数据流。 运行模型-顺序图(必选)
概述 逻辑视图面向系统逻辑分析和设计,描述系统逻辑结构的视图,主要解决系统分析和设计的问题,它描述系统的业务上下文、系统的逻辑分解,以及分解出的逻辑元素间的关系。 模型类别 描述 逻辑模型(必选) 逻辑模型描述系统的逻辑功能模块分解,将系统分解为相应的逻辑功能元素,并描述各逻辑功能元素之间的关系。
模型设计 如何创建连线关系 如何快速复制元素 如何表示父子关系 如何实现图与图之间的关联跳转 如何添加元素属性和方法 顺序图怎么连线 如何编辑顺序图中的操作符 如何查看和修改模型图类型
工程管理 如何查看自己的权限 如何创建模型工程 如何删除模型工程 如何对模型工程进行版本管理 如何配置关联模型工程
模型管理 如何创建包 如何创建自定义视图和模型 如何配置自定义元素构造型