The ingestInformationStoreRecords task
The parameters and usage of the ingestInformationStoreRecords depends on whether you are using the i2 Analyze deployment toolkit or the ETL toolkit.
i2 Analyze deployment toolkit
The deployment toolkit command for ingesting records looks like this:
setup -t ingestInformationStoreRecords
      -p importMappingsFile=ingestion_mapping_file
      -p importMappingId=ingestion_mapping_id
      -p importLabel=ingestion_label
      -p importConfigFile=ingestion_settings_file
      -p importMode=STANDARD|VALIDATE|BULKHere, ingestion_mapping_file is the path to the XML file that contains the mapping that you want to use, and ingestion_mapping_id is the identifier of the mapping within that file. The latter is mandatory unless the file contains only one mapping.
The importLabel,
importConfigFile, and
importMode parameters are
optional:
- When you specify importLabel, ingestion_label is a name that identifies a particular use of the command in the Information Store'sIS_Public.Ingestion_Deletion_Reportsview.
- When you specify
importConfigFile, ingestion_settings_file is the path to a settings file that containsname=valuepairs. You can refer to names in the settings file from references in the ingestion mapping file to use their values when you run theingestInformationStoreRecordscommand.
- When you specify importMode, you can set it toSTANDARD,VALIDATE, orBULK.- STANDARDmode can be used to ingest new and updated records, with or without correlation. If you do not specify- importMode,- STANDARDmode is used.
- VALIDATEmode checks the validity of the specified mapping, but no ingestion takes place.
- BULKmode can be used to ingest new records without correlation.
 
ETL toolkit
The equivalent ETL toolkit command looks like this. The ETL toolkit command can also delete provenance from the Information Store.
ingestInformationStoreRecords
      -imf  ingestion_mapping_file
      -imid ingestion_mapping_id
      -il   ingestion_label
      -icf  ingestion_settings_file
      -lcl  true|false
      -im   STANDARD|VALIDATE|BULK|DELETE_PREVIEW|DELETE|BULK_DELETEHere, ingestion_mapping_file is the path to the XML file that contains the mapping that you want to use, and ingestion_mapping_id is the identifier of the mapping within that file. The latter is mandatory unless the file contains only one mapping.
The other parameters are optional:
- When you specify il, ingestion_label is a name that identifies a particular use of the command in the Information Store'sIS_Public.Ingestion_Deletion_Reportsview.
- When you specify icf, ingestion_settings_file is the path to a settings file that containsname=valuepairs. You can refer to names in the settings file from references in the ingestion mapping file to use their values when you run theingestInformationStoreRecordscommand.
- When you specify lclastrue, any links that are removed as part of an entity delete operation are logged inIS_Public.D<import identifier><entity type id>_<link type id>_Linkstables. For example,IS_Public.D20180803090624143563ET5_LAC1_Links.You can specify lclwith theDELETEimport mode only.
- When you specify imyou can set it to one of the following modes:- STANDARDmode can be used to ingest new and updated records, with or without correlation. If you do not specify- im,- STANDARDmode is used.
- VALIDATEmode checks the validity of the specified mapping, but no ingestion takes place.
- BULKmode can be used to ingest new records without correlation.
- DELETE_PREVIEWmode can be used to preview the effect of running a delete.
- DELETEmode can be used to delete provenance from the Information Store.
- BULK_DELETEmode can be used to delete provenance that does not contribute to a correlated record.
 
