Skip to content

Commit

Permalink
Bugzilla 1013: add a new flow.uk.verify target and associated flow to…
Browse files Browse the repository at this point in the history
… verify UK-registered metadata.
  • Loading branch information
iay committed Jul 2, 2013
1 parent 78b6813 commit f31d888
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,18 @@
<target name="flow.uk.collect">
<CHANNEL.do channel="uk" verb="collect"/>
</target>

<!--
flow.uk.verify
Runs the MDA on the uk channel's verify verb to verify that the UK-registered
metadata passes all the checks that would be imposed during a signing run.
No output files are produced by this operation.
-->
<target name="flow.uk.verify">
<CHANNEL.do channel="uk" verb="verify"/>
</target>

<!--
Unsigned metadata generation for the UK Federation.
Expand Down
32 changes: 32 additions & 0 deletions mdx/uk/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,38 @@
</property>
</bean>

<!--
***********************
*** ***
*** V E R I F Y ***
*** ***
***********************
-->

<bean id="verify" parent="SimplePipeline"
p:id="verify">
<property name="stages">
<list>
<!--
uk_registeredEntities performs all
per-entity checks and terminates if
any of them fail.
-->
<ref bean="uk_registeredEntities"/>

<!--
Now build an aggregate so that we can perform
checks across the whole aggregate, such as
OrganizationDisplayName uniqueness.
-->
<ref bean="uk_assemble"/>
<ref bean="checkSchemas"/>
<ref bean="check_aggregate"/>
<ref bean="errorTerminatingFilter"/>
</list>
</property>
</bean>

<!--
*********************************
*** ***
Expand Down

0 comments on commit f31d888

Please sign in to comment.