Configuration

Global Configuration

Transfer Mapping

The transferTarget parameter of the HTTPPostJSONAction defines the ID of the transfer target. This ID is used to look up three required global profile based properties.

  • <profile>.transferTargets.<transferTarget>.urlTemplate: The URL to perform the HTTP POST to.
  • <profile>.transferTargets.<transferTarget>.username: The username used for basic auth.
  • <profile>.transferTargets.<transferTarget>.password: The password used for basic auth.

These properties are defined in the FaW configuration faw-global.properties file. The used profile is configured in the FaW configuration clientConfig.yml. In this configuration, every Use Case also contains a profile. Different profiles can be used to transfer data to different systems while using the same task definition.

Example:

# transfer mapping 'alfresco'
transferTargets.alfresco.urlTemplate=https://alfresco-sbcs.example.com/alfresco/service/ecm4u/faw-properties
transferTargets.alfresco.username=user
transferTargets.alfresco.password=password