To ingest data for testing purposes, use the IngestTest
action. You can use this action to view the output of the ingestion process for a small amount of data, without the data being indexed into IDOL.
TIP: CFS includes an XSL template to help you send IngestTest
actions. Open a web browser and navigate to http://host:7000/action=IngestTest&Template=IngestTest
(where host
is the machine where CFS is running and 7000
is the CFS ACI port).
Micro Focus does not support the XSL template, it is provided only as an example of a template that you could build.
The IngestTest
action has the following parameters:
/action=IngestTest &config=[base64_encoded_config] &adds=[URL_encoded_adds_xml]
IngestTest
is similar to the Ingest
action, but has the following differences which make it suitable for testing:
IngestTest
is a synchronous action, and the document data is returned in the ACI response.updates
and removes
action parameters like you can with the Ingest
action).IdxWriter
, XmlWriter
, JsonWriter
, CsvWriter
, SqlWriter
) are disabled.is_test
is set to true
. You can use this variable in your Lua scripts to prevent certain parts of your scripts from running when you use the IngestTest
action.For more information about the IngestTest
action and its parameters, refer to the Connector Framework Server Reference.
|