Managing policies - 6.3

Talend Administration Center User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Deployment
EnrichPlatform
Talend Administration Center

The policies are stored under the Policies tab in the Service Registry page.

There are two types of policies in the Service Registry:

  • policies: to be assigned to services directly.

  • templates: to be used to create policies.

You can view the two types of policies by selecting Policies or Templates in the Show list on the tool bar.

The Policies list provide information regarding the policies, including:

Label

Description

Title

The name that identifies the policy in the Administration Center.

Name

The name of the policy.

Modified Date

The date on which the policy is modified.

Some extra columns are hidden by default but can be added in the table. For more information, Customizing the display of the policy list.

These extra columns provide the following information:

Label

Description

ID

Unique identifier of the policy given by the Administration Center automatically.

CategoryThe category that the policy template belongs to. This column is empty for policies.

Create Date

The date on which the policy is added to the list.

You can export the policies listed in this tab to XML files, or import policies that you already created with previous release of the Administration Center. For more information, see Exporting and importing services and polices.

Adding a policy

Talend Administration Center allows you to add policies to the Service Registry page by uploading the content from a file or a URL. You can also save the policies as templates and create new policy files by combining the templates.

Adding a policy or template by uploading the content from a file or a URL

  1. From the toolbar on the Policies tab, click Add to show the configuration panel to the right.

  2. Enter the following information as necessary.

    Field

    Description

    Title

    Type in a name that identifies the policy in the Administration Center.

    Description

    Provide any useful information regarding the policy.

    TemplateSelect this check box to save the policy as a template.
    CategoryThis option appears when the Template check box is selected. Specify a new category for the policy template or select an existing category from the drop down list.
  3. Click the Upload content button to upload the content of a policy file. The [Upload Content] dialog box appears, allowing you to upload the policy from a File or a URL.

    To upload the content from a file, browse to or enter the path where the file is located.

    To upload the content from a URL, enter the URL in the field.

    Click Upload to upload the content and close the dialog box or Close to cancel it.

  4. The content of the policy is shown in the Content tab on the lower half of the Service Registry page.

    Click Save to validate the creation or Cancel to cancel it.

    The newly created policy is shown under the Policies or Templates type as you specified.

Adding a policy by creating policy document from templates

  1. From the toolbar on the Policies tab, click Add to show the configuration panel to the right.

  2. Enter the title for the policy in the Title field and provide any useful information regarding the policy as needed in the Description field.

  3. Click the Create Policy Document button to show the [Create Policy Document] wizard.

  4. In the wizard, select one or more template categories in the Template Groups area and for each of them, select a template you want to use in the list. The new policy will be a combination of the selected templates. Note that you can select only one template in one category.

    Enter a name for the policy in the Policy Name field.

  5. Click Finish to validate your configuration or Cancel to cancel it.

  6. In the configuration panel, click Save to validate the creation or Cancel to cancel it.

    The newly created policy is shown under the Policies type of the list.

Validating a policy

After adding a policy to the list, you can check the consistency of its content. To do so:

  1. In the list of policies, select one you want to validate.

  2. On the toolbar, click Validate. A [Consistency check result] dialog box appears, showing if the content of the policy is consistent or not.

    The result of a consistent policy:

    A sample result of an inconsistent policy:

  3. Click Close to close the dialog box.

Editing a policy

You can edit the policy in the Content tab on the lower half of the Service Registry page. To do so:

  1. Select a policy in the policy list. The content of it is shown in the Content tab on the lower half of the Service Registry page.

    You can select the Highlight check box to highlight the policy element names.

  2. Click Edit in the Content tab and edit the content as needed.

  3. Click Ok to save your changes of the content or Cancel to cancel it.

Deleting a policy

To delete a policy from the policy list, do the following:

  1. In the list of policies, select one you want to delete.

  2. On the toolbar, click Delete. A confirmation dialog box appears.

  3. Click OK to remove the policy from the policy list.

Customizing the display of the policy list

You can customize the policy list view to show/hide one or more columns in the policy list and arrange the list order.

  1. On the policy list, put the pointer on a column name and click the drop-down arrow.

  2. In the drop-down list, select:

    Item

    Description

    Sort Ascending

    Arranges the list in an ascending order.

    Sort Descending

    Arranges the list in an descending order.

    Columns

    Displays a drop-down list where you can select/clear the check box next to the column(s) you want to show/hide.

The figure below shows the list view options in the drop-down list.

Once you have customized the list, your preferences are saved (columns, order or width) and kept even after the page is refreshed.

Refreshing the policy list

To refresh the policy list, click the Refresh button on the toolbar.