Create a solution

Updated at:

Create and instantiate versioned solutions from the data assets in your workgroup. These assets include data standards, data models, data transformation scenarios, DataService Studio API configurations, and compute resource configurations. This process lets you initialize data governance operating environments and publish or migrate assets across platforms. This topic describes how to create a solution from scratch or from an existing solution.

Prerequisites

Background information

  • A solution includes assets such as applications, services, physical tables, logical tables, data models, scenario nodes, scenarios, single nodes, metrics, data standards, and data sources.

  • You can create a solution from scratch or from an existing solution.

    • From scratch: Create a new solution.

    • From an existing solution: Create a new version of a solution based on an existing one.

Create a solution from scratch

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 导航图标 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target workgroup, and click Solutions.

  4. In the navigation pane on the left, choose Solutions > Solution Management.

    Note

    If you are already on the Solution Management page, you can skip this step.

  5. In the upper-right corner of the Solution Management page, click Create Solution.

  6. In the Create Solution panel, configure the basic parameters. The following table describes the parameters.

    Parameter

    Description

    Creation Type

    Select From Scratch.

    Solution Name

    The name of the solution. You can customize the name.

    Solution Code

    The identifier of the solution. You can customize the identifier.

    Creation Method

    The creation methods include Full Creation, Create by Scope Association, and Custom Creation.

    • Full Creation: If you select this option, all asset items in the workgroup are automatically read, selected, and added to the solution package.

    Note

    When you use Full Creation, the logical tables include both uninstantiated and instantiated logical tables.

    • Create by Scope Association: The system traces and queries the associated asset items based on the specified asset type.

    Note

    You can select from published content.

    • Custom Creation: If you select this option, you can select the asset content to include. Downstream and upstream assets are not associated. You can manually select associated items as needed.

    Note

    Except for scenarios and scenario nodes, other asset content is not automatically associated.

    Association Method

    If you select Create by Scope Association, select an association method for the solution.

    • Associate by Application: Associates resources based on the application. For more information, see Associate by Application.

    • Associate by Online API: Associates resources based on the published API (service). For more information, see Associate by Online API.

    • Associate by Online Scenario: Associates resources based on the online scenario. For more information, see Associate by Online Scenario.

    • Associate by Logical Table: Associates resources based on the logical table. For more information, see Associate by Logical Table.

    • Associate by Single Node: Associates resources based on a single node from the production nodes. For more information, see Associate by Single Node.

    • Associate by Metric: Associates resources based on the metric. For more information, see Associate by Metric.

    Version Number

    The version number of the solution. You can customize the version number. The format is x.y.z, such as 1.0.1.

    Output Package Compatibility

    To ensure compatibility with older versions for importing and instantiating new solution packages, select the packaging content and association logic for the solution package based on the DataQ version deployed in the target project.

    • Current Version: This option is for importing and instantiating solution packages in projects that have DataQ 3.1.7 (exclusive) or later deployed.

    • DataQ 3.1.7 and earlier: This option ensures compatibility of the solution package content and association logic. It is for importing and instantiating solution packages in projects that have DataQ 3.1.7 or earlier deployed.

    Detailed Description

    The description of the solution. You can customize the description.

  7. After you configure the parameters, click Save and Next. On the Select Scope and Check Items page of the wizard, select the check items as needed.

  8. Click Next. On the View and Add Export Content page of the wizard, perform the steps that correspond to the creation method you selected.

    • Create by Scope Association: Select the data to include, such as applications, services, online scenarios, single nodes, metrics, or logical tables.

    • Full Creation: All asset items are selected by default and cannot be changed. Verify that you want to add these assets to the solution package.

    • Custom Creation: Manually select the asset types to add to the solution package and then select the specific assets. You can also quickly add associated items for an asset by clicking All Associated Items, Associate Service Items, Associate Scenario Items, Associate Single Node Items, or Associate Logical Table Items.

    Note

    • In Custom Creation mode, only the selected asset is included. Associated assets are not automatically selected. To include associated assets in the solution package, click the relevant association buttons.

    • A single node is a node task created in the Data Studio module that has been published as a production node.

  9. Click Generate Solution.

    The message Saved and solution generated indicates that the solution is created.

Create a solution from an existing solution

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 导航图标 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target workgroup, and click Solutions to go to the Solutions page.

  4. In the navigation pane on the left, click Solutions > Solution Management.

    Note

    If you are already on the Solution Management page, you can skip this step.

  5. In the upper-right corner of the Solution Management page, click Create Solution.

  6. In the Create Solution panel, configure the basic parameters. The following table describes the parameters.

    Parameter

    Description

    Creation Type

    Select From Existing Solution.

    Solution

    Select an existing solution.

    Content Selection

    Select a method for Content Selection when you create a new version.

    • Select based on existing version: Quickly select the latest content in the current workgroup based on the items selected in a previous version. Deleted items are not selected.

    • Reselect: This option reuses only the name and code of the existing solution to create a new version. The selection method and content are reselected.

    Creation Method

    Select a creation method for the solution.

    • Full Creation: All asset items in the workgroup are automatically read, selected, and added to the solution package.

    Note

    When you use Full Creation, the logical tables include both uninstantiated and instantiated logical tables.

    • Create by Scope Association: The system automatically reads the selected asset type and associates its corresponding asset content items into the solution package.

    Note

    You can select from published content.

    • Custom Creation: If you select this option, you can select the asset content to include. Downstream and upstream assets are not associated. You can manually select associated items as needed.

      Note

      Except for scenarios and scenario nodes, other asset content is not automatically associated.

    Association Method

    If you select Create by Scope Association, select an association method for the solution.

    • Associate by Application: Associates resources based on the application. For more information, see Associate by Application.

    • Associate by Online API: Associates resources based on the published API (service). For more information, see Associate by Online API.

    • Associate by Online Scenario: Associates resources based on the online scenario. For more information, see Associate by Online Scenario.

    • Associate by Logical Table: Associates resources based on the logical table. For more information, see Associate by Logical Table.

    • Associate by Single Node: Associates resources based on a single node from the production nodes. For more information, see Associate by Single Node.

    • Associate by Metric: Associates resources based on the metric. For more information, see Associate by Metric.

    Version Number

    The version number of the solution. You can customize the version number. The format is x.y.z, such as 1.0.0.

    Note

    The new version number must be higher than the previous version number.

    Detailed Description

    The description of the solution. You can customize the description.

  7. After you configure the parameters, click Save and Next. On the Select Scope and Check Items page, select the check items to include.

  8. Click Next. On the View and Add Export Content page of the wizard, the corresponding check items and content are automatically added. You can view the results of the scenario missing item check, scenario conflict check, physical consistency check, logical consistency check, and quality check.

    After you verify that the information is correct, click Generate Solution.

    The message Saved and solution generated indicates that the solution is created.

Related operations

Task Name

Description

Edit

On the Solution Management page, click Edit in the Actions column for an incomplete solution to reconfigure and save it.

Note

You cannot edit a solution that has been successfully generated.

View

On the Solution Management page, click View in the Actions column for a solution to view its basic information and content.

Delete

On the Solution Management page, click More > Delete in the Actions column for a solution to delete it.

What to do next

After you create the solution, you can download it. For more information, see Download a solution.