Skip to content

Commit

Permalink
Inline importCommonTail (only used once)
Browse files Browse the repository at this point in the history
Step in ukf/ukf-meta#141
  • Loading branch information
iay committed Aug 30, 2019
1 parent 31b324a commit 7b01144
Showing 1 changed file with 11 additions and 24 deletions.
35 changes: 11 additions & 24 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,29 +211,6 @@
p:whitelistingEntities="false"
p:designatedEntities-ref="importEntityBlacklist"/>

<!--
importCommonTail
Common actions to be performed on each import pipeline.
-->
<bean id="importCommonTail" parent="mda.CompositeStage">
<property name="composedStages">
<list>
<ref bean="removeUKEntities"/>
<ref bean="removeBlacklistedEntities"/>
<ref bean="standardImportActions"/>

<!--
Silently remove entities which are marked as
having errors.
-->
<ref bean="errorRemover"/>

<ref bean="uk_fix_mailto"/>
</list>
</property>
</bean>

<bean id="entityAttributes.blacklist" parent="mda.EntityAttributeFilteringStage">
<property name="whitelisting" value="false"/>
<property name="rules">
Expand All @@ -259,7 +236,17 @@
-->
<ref bean="entityAttributes.blacklist"/>

<ref bean="importCommonTail"/>
<ref bean="removeUKEntities"/>
<ref bean="removeBlacklistedEntities"/>
<ref bean="standardImportActions"/>

<!--
Silently remove entities which are marked as
having errors.
-->
<ref bean="errorRemover"/>

<ref bean="uk_fix_mailto"/>
</list>
</property>
</bean>
Expand Down

0 comments on commit 7b01144

Please sign in to comment.