Skip to content

Commit

Permalink
Bring the eduGAIN channel a little more in line with the others.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 2, 2013
1 parent fd74df8 commit f3fbba5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
30 changes: 21 additions & 9 deletions mdx/int_edugain/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,39 @@
<import resource="classpath:hu_eduid/beans.xml"/>

<!--
Fetch the eduGAIN test aggregate.
Location of various resources.
-->
<bean id="int_edugain_testAggregate" parent="DomResourceSourceStage"
p:id="int_edugain_testAggregate">
<!-- production aggregate -->
<bean id="int_edugain_productionAggregate_url" class="java.lang.String">
<constructor-arg value="http://mds.edugain.org"/>
</bean>
<!-- test aggregate -->
<bean id="int_edugain_testAggregate_url" class="java.lang.String">
<constructor-arg value="http://mds-test.edugain.org"/>
</bean>

<!--
Fetches the eduGAIN production aggregate.
-->
<bean id="int_edugain_productionAggregate" parent="DomResourceSourceStage"
p:id="int_edugain_productionAggregate">
<property name="domResource">
<bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
<constructor-arg name="client" ref="httpClient"/>
<constructor-arg name="url" value="http://mds-test.edugain.org"/>
<constructor-arg name="url" ref="int_edugain_productionAggregate_url"/>
</bean>
</property>
</bean>

<!--
Fetches the eduGAIN production aggregate.
Fetch the eduGAIN test aggregate.
-->
<bean id="int_edugain_productionAggregate" parent="DomResourceSourceStage"
p:id="int_edugain_productionAggregate">
<bean id="int_edugain_testAggregate" parent="DomResourceSourceStage"
p:id="int_edugain_testAggregate">
<property name="domResource">
<bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
<constructor-arg name="client" ref="httpClient"/>
<constructor-arg name="url" value="http://mds.edugain.org"/>
<constructor-arg name="url" ref="int_edugain_testAggregate_url"/>
</bean>
</property>
</bean>
Expand Down
2 changes: 2 additions & 0 deletions mdx/int_edugain/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@
</property>
</bean>

<alias alias="import" name="importProduction"/>
<alias alias="importRaw" name="importProductionRaw"/>
</beans>

0 comments on commit f3fbba5

Please sign in to comment.