File Source
The file source allows to read a requisition file from the filesystem.
Parameter | Required | Description |
---|---|---|
|
* |
Set |
|
* |
relative path from |
|
* |
Mapper script changing the requisition. For no operation use |
|
If set |
This source reads an already-defined requisition from an XML file. The file to read has to be a valid OpenNMS requisition already.
Example configuration for a file-based requisition
### File: myFileRequisition/requisition.properties
# This example uses a predefined OpenNMS requisition
# Path to the myCustomRequisitionFile.xml is relative
# to the requisitions.properties
source = file
source.file = myCustomRequisitionFile.xml
### default no-operation mapper
mapper = echo