Solution¶
Context¶
The solution aims to provide users with convenient and systematic management operations and better meet service requirements and objectives. Each solution can contain one or more business-related jobs, and one job can be used by multiple solutions.
You can perform the following operations on a solution:
Creating a Solution¶
On the development page of DLF, create a solution, set the solution name, and select business-related jobs.
Log in to the DataArts Studio console. Locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Factory.
In the navigation tree on the left of the data development page, choose Development > Develop Script or Data Development > Develop Job.
Above the directory on the left, click to show the solution directory.
Click in the upper part of the solution directory. The Create Solution page is displayed. Table 1 describes the solution parameters.
¶ Parameter
Description
Name
Name of the solution.
Select Job
Select the jobs contained in the solution.
Click OK. The new solution is displayed in the directory on the left.
Editing a Solution¶
In the solution directory, right-click the solution name and select Edit to change the name and job.
Exporting a Solution¶
In the solution directory, right-click the solution name and choose Export from the shortcut menu to export the solution file in ZIP format to the local host.
Importing a Solution¶
This solution is available only if the OBS service is available. If OBS is unavailable, data can be imported from the local PC.
In the solution directory, right-click a solution and choose Import Solution from the shortcut menu to import the solution file that has been uploaded to OBS or local directory.
Note
If you select Overwrite for Duplicate Name Policy but the hard lock policy is used and the script is locked by another user, the overwriting will fail. For details about soft and hard lock policies, see Configuring the Hard and Soft Lock Policy.
Upgrading a Solution¶
In the solution directory, right-click the solution name and choose Upgrade from the shortcut menu to import the solution file that has been uploaded to OBS. During the solution upgrade, the running jobs are stopped. The system determines whether to restart the jobs after the upgrade based on the configured upgrade restart policy.
Deleting a Solution¶
In the solution directory, right-click the solution name and choose Delete from the shortcut menu. A deleted solution cannot be restored. Exercise caution when performing this operation.