-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate mdx statistics generation out of generate configuration file …
…into UK beans. Create a stand-alone statistics generation very for the uk channel. Convert statistics generation for production signing run over to mdx version. Optimise statistics generation by passing a pre-parsed members document bean rather than parsing in xslt. This is a wash if statistics generation is all we're doing, but will be beneficial later when the members document is also being used for other things.
- Loading branch information
Showing
5 changed files
with
125 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Verb to generate all UK aggregates. | ||
| --> | ||
| <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"/> | ||
|
|
||
| <!-- | ||
| *************************************** | ||
| *** *** | ||
| *** V E R B P I P E L I N E S *** | ||
| *** *** | ||
| *************************************** | ||
| --> | ||
|
|
||
| <!-- | ||
| statistics | ||
| Stand-alone statistics generation. | ||
| --> | ||
| <bean id="statistics" class="net.shibboleth.metadata.pipeline.SimplePipeline" | ||
| init-method="initialize" lazy-init="true"> | ||
| <property name="id" value="statistics"/> | ||
| <property name="stages"> | ||
| <list> | ||
| <ref bean="uk_registeredEntities"/> | ||
| <ref bean="assemble"/> | ||
| <ref bean="uk_generateStatistics"/> | ||
| <ref bean="uk_serializeStatistics"/> | ||
| </list> | ||
| </property> | ||
| </bean> | ||
|
|
||
| </beans> |