Import Hotfolder configuration (IM DS)
Whenever OpenAS2 receives a message file, the file will be put to the configured folder. This folder has to be observed by Product360 to pick up the responses and import the corresponding publication status. This chapter describes how to configure the hotfolders correctly in order to make the choreography work.
System configuration
Navigate to the configuration folder of your Product360 server and open the file server.properties.
Find and set the property inbox.hotfolders = ${filestorage.dir.shared}/inbox/hotfolder;<OpenAS2>/data/from1WorldSync/inbox;<OpenAS2>/data/to1WorldSync/error;<OpenAS2>/data/to1WorldSync/sent . Please be sure to have no spaces between the configurations as this leads to an error during startup.
Hotfolder configuration
The hotfolder configuration needs import mappings which are provided by Informatica. The import mappings are located in the GDSN accelerator package under DataSource/IM/OpenAS2/Import Mappings. Import the mappings to Product360 by following the steps below:
Go to Import perspective in the desktop client
Click on New Import project
In the dialog select Load existing mapping from file and select your file. Click finish afterwards
Click Save as and save the mapping. Set the Category to GDSN and please be sure that the Purpose is set to Hotfolder
We provide a pre-import step which dispatches the imported mappings to ensure the communication with 1WorldSync.
2. Go to the Hotfolder perspective and create a hotfolder configuration with the following settings:
Identifier: 1WorldSync Communication Dispatcher
File pattern: *1WorldSync
Preparatory import steps : Mapping dispatcher for communication with 1WorldSync. See the screenshot below.
In the Preparatory import steps dialog, select the right mapping for each communication from the list of mappings as shown in the screenshot below: