Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Make it more obvious that when we merge entities from other federatio…
Browse files Browse the repository at this point in the history
…ns, we are discarding those with duplicate entityIDs.
  • Loading branch information
iay committed Mar 20, 2014
1 parent 7c7a8ce commit be4cf52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
18 changes: 7 additions & 11 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<!--
component_parent
Parent for anything based on the component system.
Parent for anything based on the Shibboleth component system.
These all require initialization before use.
-->
<bean id="component_parent" abstract="true" init-method="initialize"/>
Expand Down Expand Up @@ -199,16 +199,6 @@
<property name="serializer" ref="serializer"/>
</bean>

<!--
PipelineMergeStage
Parent for merge stages. Defaults strategy to deduplication.
-->
<bean id="PipelineMergeStage" abstract="true" parent="stage_parent"
class="net.shibboleth.metadata.pipeline.PipelineMergeStage">
<property name="collectionMergeStrategy" ref="deduplicateMergeStrategy"/>
</bean>

<!--
PipelineDemultiplexerStage
Expand All @@ -233,6 +223,12 @@
<bean id="EntityFilterStage" abstract="true" parent="stage_parent"
class="net.shibboleth.metadata.dom.saml.EntityFilterStage"/>

<bean id="PipelineMergeStage" abstract="true" parent="stage_parent"
class="net.shibboleth.metadata.pipeline.PipelineMergeStage"/>

<bean id="PipelineMergeStage.deduplicate" abstract="true" parent="PipelineMergeStage"
p:collectionMergeStrategy-ref="deduplicateMergeStrategy"/>

<!-- *** Parent beans for ukf-mda. *** -->

<bean id="ElementWhitespaceTrimmingStage" abstract="true" parent="stage_parent"
Expand Down
4 changes: 2 additions & 2 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@
Merge in entities from production metadata exchange sources.
-->

<bean id="mergeProductionMDXEntities" parent="PipelineMergeStage"
<bean id="mergeProductionMDXEntities" parent="PipelineMergeStage.deduplicate"
p:id="mergeProductionMDXortedEntities">
<property name="mergedPipelines">
<list>
Expand Down Expand Up @@ -954,7 +954,7 @@
Merge in entities from pre-production metadata exchange sources.
-->

<bean id="mergePreproductionMDXEntities" parent="PipelineMergeStage"
<bean id="mergePreproductionMDXEntities" parent="PipelineMergeStage.deduplicate"
p:id="mergePreproductionMDXEntities">
<property name="mergedPipelines">
<list>
Expand Down

0 comments on commit be4cf52

Please sign in to comment.