Creating a Resource¶
The section shows how to create a resource and add new versions of the resource.
Procedure¶
In the EnOS Management Console, click Batch Data Processing > Task Resources from the left navigation menu and click Create Resource.
In the Create Resource window, provide the basic settings for the resource.
Name: Enter the name of the resource.
Description: Provide a description for the resource.
Select Dir: Select the directy to save the resource.
Click OK.
In the Overview page, click the New Version button to add a resource version.
Version: Specify the version of the resource using the format:
V<version_number>.<release_number>.<modifier_number>
For example, V1.0.0.
Description: Provide a description for the version.
Resource Package: Select to upload a local resource files or build the resource package from Git (you need to register the Git data source through Data Source Registration first).
Click OK to build the resource version. Repeat steps 4 to 5 to add more versions for the resource.
Next Step¶
You can then invoke the scripts packaged in the resource through a SHELL or PYTHON task in a workflow.