Mapping derivation

更新时间:
复制 MD 格式

Use sequence diagrams to derive dependencies between bounded contexts. This process abstracts the required application services, domain events, and event consumers.

Create a mapping derivation

  1. Log in to BizWorks, in the select Platform drop-down list selected modeling Platform.

  2. Click the a7.pngicon or the text box in the upper-right corner of the page. From the drop-down list, click the name of the project that you want to view and click the Modeling tab. In the Modeling navigation pane, choose Technical Modeling > Context Mapping.

  3. On the Context Map page, click the version number of the target context map.

  4. In the navigation pane on the left, click Mapping Derivation and then click Create.

  5. In the Create panel, on the Basic Information tab, enter a Business Name.

  6. On the Associated Business Service tab, select one or more target business services.

  7. On the Associated Business Process tab, select one or more target business processes, and then click Create.

Mapping derivation

  1. On the Mapping Derivation page, click Mapping Derivation Designer. On the designer page, go to the Sequence Design tab and click the desired mapping derivation.

  2. From the Component tab, drag components to the canvas on the right. For example, drag the Role component to the canvas and select a role from the drop-down list.

    Note

    Roles are created on the Ubiquitous Language page. To create a new role, see Create a role.

  3. As needed, drag the Bounded Context and External Dependency components onto the canvas. Then, from their respective drop-down lists, select the desired bounded context and external dependency.

    You can also drag the Note component onto the canvas to add annotations.

  4. Use the following diagram to perform the mapping derivation.

    The following figure shows an example of a completed mapping derivation:image

  5. On the Application Service and Domain Event tabs, select a target item. Then, on the right side of the canvas, click the image.png icon for the corresponding application service or domain event.

    In the panel that appears, view or modify the settings as needed, and then click OK.

  6. Optional: Click Expand Details in the top toolbar to view the service methods and event information derived from the sequence diagram.

  7. Optional: Select a target application service or domain event, and then click the image.png icon on the right side of the canvas to perform the mapping derivation again as needed.

  8. Optional: You can create a new sequence design. On the Sequence Design tab, click the image.png icon and select New Sequence Design. In the New Sequence Design dialog box, enter a name for the sequence design, and then click Create.

  9. After completing the mapping derivation, click Publish and Generate Model.

    The platform generates the derived models in the corresponding bounded context.

Edit a mapping derivation

  1. On the Mapping Derivation page, find the target business name and click Edit in the Actions column.

  2. On the designer page, make changes as needed, and then click Save as Draft or Publish and Generate Model.

Delete a mapping derivation

Method 1

  1. On the Mapping Derivation page, find the target business name and click Delete in the Actions column.

  2. In the confirmation dialog box that appears, click Delete.

Method 2

  1. On the designer page, go to the Sequence Design tab. Click the image.png icon next to the target mapping derivation and select Delete.

  2. In the confirmation dialog box that appears, click Delete.