Merge Source
The merge source allows to merge two provided requisitions accessed by URLs. You can also use provided resources by PRIS recursively. The example below shows how to configure the merge requisition for two requisitions A and B.
Parameter | Required | Description |
---|---|---|
|
* |
set to |
|
* |
URL to the requisition A |
|
username for access |
|
|
password for access |
|
|
* |
URL to the requisition B |
|
username for access |
|
|
password for access |
|
|
if this parameter is present in the config all nodes from requisition A will be present in the resulting requisition. |
|
|
if this parameter is present in the config all nodes from requisition B will be present in the resulting requisition. |
This source is reading two already defined requisitions via HTTP and merges them into one new requisition.
By default the resulting requisition will contain all nodes that are present in both requisitions, identified by the foreignId
.
The A-Node (from requisition A) is enriched with the data from B-Node.
### File: merge/requisition.properties
# This example merges two requisitions
source = merge
source.A.url = http://localhost:8000/requisitions/A
source.A.keepAll = false
source.B.url = http://localhost:8000/requisitions/B
source.B.keepAll = false
### default no-operation mapper
mapper = echo