Skip to content
Permalink
f1411898c9
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
…o publishability check for aggregates.

This code was moved from check_misc where it was never being invoked as that was not run at the aggregate level.
Add publishability check to the uk collect flow, and add the corresponding fixup step so that this will be viable.
1 contributor

Users who have contributed to this file

50 lines (45 sloc) 1.84 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
Verb to collect UK-registered entities.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">
<!--
Import commonly used beans.
-->
<import resource="../common-beans.xml"/>
<!--
Import channel-specific beans.
-->
<import resource="beans.xml"/>
<bean id="serializeCollected" class="net.shibboleth.metadata.pipeline.SerializationStage"
init-method="initialize" lazy-init="true">
<property name="id" value="serializeCollected"/>
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="#{ systemProperties['basedir'] }/mdx/uk/collected.xml"/>
</bean>
</property>
</bean>
<bean id="collect" class="net.shibboleth.metadata.pipeline.SimplePipeline"
init-method="initialize" lazy-init="true">
<property name="id" value="collect"/>
<property name="stages">
<list>
<ref bean="uk_registeredEntities"/>
<ref bean="uk_performFixups"/>
<ref bean="uk_assemble"/>
<ref bean="uk_addTrustRoots"/>
<ref bean="normaliseNamespaces"/>
<ref bean="CHECK_publishable"/>
<ref bean="errorTerminatingFilter"/>
<ref bean="serializeCollected"/>
</list>
</property>
</bean>
</beans>