Overriding data source properties

Optionally, you can associate a policy with a manufacturing node to override the data source configuration properties of message flows and message flow nodes at run time.

Before you begin

This task assumes that you have already created a policy project for the required manufacturing nodes.

About this task

You can associate a policy project with the manufacturing message flow nodes. IBM Integration Bus provided configurable services to define properties that are related to external services with which the product can communicate. This information is now defined in a policy document. Policy documents can be deployed to IBM App Connect as part of a BAR file. You create one or more policies in a policy project, then you deploy one or more policy projects. Policies are XML files; therefore, you can create a policy by using an XML editor.

You can add the policy project name for the following built-in nodes:
  • OPC-UA-Input
  • OPC-UA-Read
  • OPC-UA-Write
  • OPC-UA-Method-Call
Make sure that you adhere to the following guidelines when you are creating policies.
  • You can specify any name for policy project name.
  • You must specify the policy name according to what is set and displayed in the DataSource Policy Name List window under Policy Name column. The DataSource Policy Name List is in the IBM® App Connect for Manufacturing node property editor.
  • You can specify alphabets, numeric and the underscore character only for a data source name. Do not use any other special characters when you create your data source.
  •  OPC-UA-Input node  If you have more than one Mapping Path for a manufacturing node, you must create the respective policies in the same policy project. For example, you must create a policy for each of the data source’s Mapping path for a specific manufacturing node.
  • Following are the rules when you specify a policy name.
    • The name must start with a letter.
    • The policy name can include alphanumeric characters and the underscore character. Do not use any other special characters.
    • The name cannot include spaces.

Procedure

  1. Click the Manufacturing drawer from the Palette view. The Manufacturing drawer list the available built-in nodes.
  2. Drag the node from the Manufacturing drawer list for which you want to add a policy project to the Flow Exerciser.
  3. From the node Properties view, click the Policy tab. The Policy property page loads.
  4. Specify the Policy Project name that you want to use for the particular manufacturing node.
    Note: If you do not specify any policy project name for a manufacturing node, then the by default the policy project name is that which is specified in the server.conf.yaml file.