正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Dependency 依赖,是一种使用的关系,即一个类的实现需要另一个类的协助。 Usage 使用,是一种使用的关系。表明一个模块在运行的时候,需要使用另外一个模块。 前提条件 因为交付模型主要是描述构建模型中的结构元素打包成交付文件的过程,所以必须先完成构建模型的设计才能进行交付模型。 建模步骤
(控制流)在交互中,控制的后继轨迹之间的关系。 Object Flow (对象流)各种控制流表示了对象间的关系、对象和产生它(作输出)或使用它(作输入)的操作或转换间的关系。 Interrupt Flow 中断流是用于定义异常处理程序和可中断活动区域的连接器的两个UML概念的连接。 交互概述图示例,如下图所示:
根据建模规范限制,建模的连线不能独立存在于图中,两端必须是连接在元素上的,因此不允许消息线直接拖拽至画布上。且绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。具体请参见如何查看和修改模型图类型。 消息线介绍 顺序图用消息线描绘元素之间的工作流或者活动。软件模
Diagram Gate使用 图表门是一种简单的图形方式,用于指示可以将消息传输到交互片段和从交互片段传出的点。可能需要一个片段来接收或传递消息。在内部,有序消息反映了这一要求,并在片段帧的边界上指示了门。任何与此内部消息“同步”的外部消息必须适当地对应。可以出现在交互图(顺序,时序,通信
Exception Handler 异常处理。捕获异常根据异常类型查找到对应的异常处理方法,然后执行对应的方法。 Interrupt Flow 中断流是用于定义异常处理程序和可中断活动区域的连接器的两个UML概念的连接。中断流是活动边缘的一种。它通常用于活动图中,以对活动过渡进行建模。 Anchor
消息的发送者把控制传递给消息的接收者,然后停止活动,等待消息的接收者放弃或者返回控制。 Async Message 异步消息连线,消息发送者通过消息把信号传递给消息的接收者,然后继续自己的活动,不等待接受者返回消息或者控制。异步消息的接收者和发送者是并发工作的。 Reply Message 返回消息
运维运营安全,以及更广义的安全合规遵从。 租户:负责云服务内部的安全,安全地使用云。 华为云租户的安全责任在于对使用的 IaaS、PaaS 和 SaaS 类云服务内部的安全以及对租户定制配置进行安全有效的管理,包括但不限于虚拟网络、虚拟主机和访客虚拟机的操作系统,虚拟防火墙、API
程,在部署时使用的是构建过程生成文件来部署到部署模型中,描述部署的场景。 建模步骤 创建部署模型。 创建新的部署模型图或者在已有的部署模型图中进行画图设计,如果部署模型场景较多,可根据实际情况将内容进行拆分,按实际部署场景创建多个部署模型图。 建立交付元素与部署元素的部署关系。
信息树上的父节点)存在错误架构关系,对比发现实际模型图中使用的是Dependency连线 而架构配置方案要求Composition/Aggregation。 在模型图中修改连线类型为Composition/Aggregation。 常见错误场景: 连线类型不符合架构配置方案。 规则
权限管理 CodeArts Modeling中默认的用户角色类型及对建模的操作权限说明如下: “默认角色权限矩阵” 资源权限 项目经理 测试经理 运维经理 开发人员 测试人员 参与者 浏览者 查看(可打开模型图,只读) √ √ √ √ √ √ √ 创建(可在任何包下新增包、图、元素)
图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。 圆形接口与矩形接口意义相同,仅形状不同。 Property 特性就是表示传递有关模型元素信息的值的一般性术语。属性具有语义效果,在
逻辑模型的基础构造型与自定义构造型元素以及逻辑模型架构方案配置的构造型)。 在逻辑模型图上创建出来的逻辑元素之间的连线关系; 引用到逻辑模型中的逻辑元素(包含关联空间中的引用的逻辑元素)之间的连线关系; 不包含接口元素; 如何检查 找出逻辑模型图里的在检查范围内的逻辑元素间存
表示构建中所使用的第三方元素。 OperatingSystem 表示逻辑对象构建时所需的操作系统。 BuildEnv 表示构建时适用的构建环境信息。 Container 表示逻辑对象构建时所需的容器。 Virtual Machine 表示逻辑对象构建时所需的虚拟机。 Platform
在交付模型图上创建出来的交付元素; 引用到交付模型中的交付元素(包含关联空间中的引用的交付元素); 如何检查 查询基于模型图构出的交付模型架构树,找出与架构方案不匹配(标红)的元素 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素与上一层级的元素之间的连线类型和父子关系指向。
查询基于模型图(只有技术模型图内的技术元素参与构树)构出的技术模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素与上一层级的元素之间的连线类型和父子关系指向。 嵌套:是否支持当前类型的元素与同类型元素建立关系。 嵌套关系:当前类型的元素与同类
中定义的保持一致。 检查范围 当前模型工程中的所有符合定义规则的构建元素(定义规则:工程设置>构造型下,绑定到4+1视图 : 构建模型的基础构造型与自定义构造型元素才认定为构建元素)。 在构建模型图上创建出来的构建元素; 引用到构建模型中的构建元素(包含关联空间中的引用的构建元素);
概述 部署视图面向系统部署,描述系统的交付、安装、部署的视图,主要解决系统安装部署的问题,描述系统的交付、安装、部署关系。 表1 部署视图 模型类别 描述 交付模型(必选) 交付模型定义的是从构建结果和外部软件一起打包成最终交付给客户的Release Offering的模型设计过程。
定义类型的视图和模型。 点击上图位置中的“新增”按钮,输入新建视图类型的名称,点击“确定”。 点击新视图类型后面的“+”按钮,弹出“创建模型”窗口,输入新模型的名称。 点击确定后,会弹出关联工具箱的提示,点击“确定”。 界面右边弹出关联工具箱界面,勾选要给自定义模型配置的工具箱资源,并“保存”。
部署视图 概述 交付模型 部署模型 父主题: 4+1视图建模
领域模型描述业务域的概念及其关系,是立足于业务域的分析模型,它通过业务问题域的分析和建模,抽象出领域概念,建立统一的业务语言,从而指导后续的架构设计工作。元素介绍如下表所示: 表1 领域模型元素介绍 元素名 图标 含义 Domain 域,用于在架构表达、开发管理、对外介绍的过程中,表达