<aggregation>
<aggregation-type>{aggregation-type}</aggregation-type>
<mapping>
- <apply-filters>1</apply-filters>
<input-model>{input-model}</input-model>
<underlay-topology>{underlay-topology-id}</underlay-topology>
- <!-- target field -->
<aggregate-inside>true</aggregate-inside>
+ <!-- target field -->
+ <!-- apply filters -->
</mapping>
</aggregation>
<filtration>
<underlay-topology>{underlay-topology-id}</underlay-topology>
+ <!-- Filter -->
</filtration>
</correlation>
</correlations>
<correlation-item>{correlation-item}</correlation-item>
<aggregation>
<aggregation-type>{aggregation-type}</aggregation-type>
- <mapping>
- <apply-filters>1</apply-filters>
+ <mapping>
<input-model>{input-model}</input-model>
<underlay-topology>{underlay-topology-id}</underlay-topology>
- <!-- target field -->
<aggregate-inside>false</aggregate-inside>
+ <!-- target field -->
+ <!-- apply filters -->
</mapping>
<mapping>
<input-model>{input-model}</input-model>
<underlay-topology>{underlay-topology-id}</underlay-topology>
- <!-- target field -->
<aggregate-inside>false</aggregate-inside>
+ <!-- target field -->
+ <!-- apply filters -->
</mapping>
</aggregation>
<filtration>
<underlay-topology>{underlay-topology-id}</underlay-topology>
+ <!-- Filter -->
</filtration>
</correlation>
</correlations>
</correlations>
</topology>'''
+APPLY_FILTERS = '''
+<apply-filters>{filter-id}</apply-filters>
+'''
+
TARGET_FIELD = '''
<target-field>
<target-field-path>{target-field-path}</target-field-path>