Step 2. Create the Scanner Properties File
The scanner.properties file contains elements that specify the properties of the resource.
The scanner.properties file contains required and optional elements. Required elements specify properties such as the resource type name and category name.
Informatica provides the following sample scanner.properties file that you can use as a template:
<Informatica services installation directory>/services/CatalogService/ScannerBinaries
The following code shows the sample scanner.properties file with the properties:
#ResourceTypeName : Name of the Resource type needs to be extracted - Mandatory option
#CategoryName : Domain which the resource type falls into ex : Relational, Business Intelligence, Data Integration, Data Model, else will be cataegorized as "Others" - Not Mandatory
#LDMAgentUrl : LDM Agent URL for windows based bridge, agent should be up and running. - Mandatory for Windows based bridge
#JarBuildLocation : Location where the jars needs to be generated, if not provided, will be generated in current directory - Not Mandatory
#LDMAgentProfiles : Location of the LDM agent profiles - Not Mandatory
#EmbeddedAgentLocation : Location of the embedded agent location : Not Mandatory
#AugmentationXML : Location of the augment xml file where rules are added/modified : Mandatory for model re generation
#ModelVersion = use this option to upgrade model if any changes are made to model. - Mandatory for model re generation
ResourceTypeName = SAP BusinessObjects Repository XI
CategoryName = Business Intelligence
To create the scanner.properties file for a new resource, copy the sample scanner.properties file and update the elements and element values.
Note: Ensure that you do not modify the name of the properties in the scanner.properties file.
Plug-in Definition File Elements
The scanner.properties file contains elements that specify the resource properties. The file must contain one of each required elements. It can also contain one of each optional elements.
The following table describes the elements in the scanner.properties file:
Element | Description |
|---|
ResourceTypeName | Name of the resource type from which you want to extract metadata. Use the name as specified in the Supported Metadata Sources section. |
CategoryName | Optional. The category name under which the resource must be placed in the Select Resource Type dialog box. For example, Data Integration, Business Intelligence, Big Data. If you do not specify a category, Live Data Map places the resource in the category named Others . |
LDMAgentUrl | Live Data Map agent URL for scanner supported only on Windows operating systems. Make sure that the Live Data Map agent is up and running. This element is mandatory for scanners supported only on Windows operating systems. |
JarBuildLocation | Optional. Location where the .jar file needs to be generated. If you do not provide the location, Live Data Map generates the .jar file in the <install_dir>/services/CatalogService/ScannerBinaries directory. |
LDMAgentProfiles | Optional. Location of the Live Data Map agent profiles. |
EmbeddedAgentLocation | Optional. Location of the embedded agent location. |
AugmentationXML | Location of the MITI model augment .xml file where you add or modify rules. This element is mandatory if you want to regenerate the model. |
ModelVersion | Use this option to upgrade the model if you make any changes to the model. This element is mandatory if you want to regenerate the model. |