Description
In this scenario, we will illustrate the customization of the generated code from the IM template to accomplish some additional functionality not supported by the templates. In our new scenario, we have two distinct customizations:
First, we have a CSV file coming from the customer and we use it to import data for a single company parameter table. However, the requirement is that this same file could be used for other integrations, for example customer extension table.
Second, do not delete the input CSV file
Third, keep an archive and provide a date and timestamp for each archive.
The following are the list of steps for this scenario:
Prerequisites
In order to be able to complete this exercise, we will need the following prerequisites before proceeding.
PlatformManager access
An existing IM instance
Access privileges for:
Partition creation
Git repository
Pricefx Maven repository
Partition Connection
SFTP Connection
One functioning Route
WinSCP FTP Client or equivalent
Cloned IntelliJ project
Step 1: Connect to IM Instance
Prior to local development, we will need to follow the path from the IM instance within PlatformManager to the Git repository that contains the contents of our integration project. Our goal will be the to open the Git repository linked to our IM instance.
Go to platform.pricefx.com and choose the Login with O365 option:
2. Click on the Integrations option (left-hand side):
3. From the list of integration instances, create a filter to locate your IM instance:
4. Locate your IM instance and click on it, this will open the IM instance page:
On the left-hand navigation, we will see all options related to this instance:
NOTE: We have selected our single IM instance and all of this options (Routes, Mappers, Connections, etc) are reflective of this single instance.
6. Next, we will open the Git repository linked to this IM instance:
NOTE: The creation of IM instance will automatically build a corresponding Git repository that will then contain all of the generated elements that are linked to this instance.
7. Click on the Git repository link to open the Git project:
Examine what is provided, click on the src/main folder.