Changing connection details for JD Edwards adapters

JDEdwards nodes can get JD Edwards EnterpriseOne connection details from either the adapter component or a policy. By using a policy, you can change the connection details for adapters without the need to redeploy the adapters. To pick up new values when a policy is created or modified, you must restart the integration server where the adapter is deployed.

Before you begin

About this task

Use the JDEdwards Connection policy to change connection details for a JD Edwards adapter. The JD Edwards node reads all connection properties from the adapter component that it is configured to use. If a JDEdwards Connection policy exists with the same name as the node's Primary adapter component property, the node uses the values that are defined in that policy to override the corresponding properties from the adapter. If any properties on the policy are set to an empty string, the values that are configured in the .inadapter or .outadapter file are used. The properties of the JD Edwards policy are described in JDEdwards Connection policy (JDEdwardsConnection).

Procedure

To use a policy to change connection details at run time, complete the following steps:

  1. Use the Policy editor in the IBM® App Connect Enterprise Toolkit to create a policy and select JD Edwards Connection as the policy type (see Creating policies with the IBM App Connect Enterprise Toolkit).
  2. Ensure that the name of the policy is the same as the name that is specified by the Primary adapter component property on the JDEdwardsInput or JDEdwardsRequest node (without the .inadapter or .outadapter suffix).
  3. Set the appropriate properties in the policy for the settings that you want to use at run time.

    The default value for most properties in the policy is an empty string, which indicates that behavior is controlled by the .inadapter or .outadapter file for those properties. For more information, see JDEdwards Connection policy (JDEdwardsConnection).

  4. Deploy this policy in the default policy project for the integration server before you start the associated message flow.
    For information about configuring a default policy project, see Configuring a default policy project.