Configuration
When running ImportClient it uses one or more configurations to import data to Easit GO. A configuration have 3 parts:
- A settings file
- An Easit GO ImportClient
- A Easit GO Importhandler
Settings file
The settings is just a text file with 3 key/value-pairs. The following keys is used in a settings file.
- dryRun
- writeXML
- configurationURL
dryRun
Can be set to true or false and tells ImportClient if the data collected from a source should be sent to Easit GO for import.
writeXML
Can be set to true or false and tells ImportClient if the data collected from a source should be written to a XML file when sending it to Easit GO. This can be useful when troubleshooting an configuration or import.
configurationURL
Connection string to Easit GO and consists of 3 parts, urlToEasitGO, apikey and identifier.
- urlToEasitGO
If ImportClient is running on the same server as Easit GO this is usually http://localhost:portForTomcat - apikey
An API-key is needed for authentication and the user connected to the API-key is the user that will be set in Update by and/or Created by on the item in Easit GO. - identifier
Identifier for the Easit GO ImportClient and Easit GO Importhandler.
Easit GO ImportClient
The Easit GO ImportClient, that is configured in Easit GO, holds all details and settings for how to collect the data from a source. For example, the Easit GO ImportClient holds settings such as host, username and password when collecting data from a LDAP-source. It holds a connection string and query when collecting data from a source such as a SQL-database.
Easit GO Importhandler
The Easit GO Importhandler is responsible for mapping the data to the correct fields or functions in Easit GO. This part can be considered as the mapping contract between the source and Easit GO.