Skip to content

Commit

Permalink
Populate UKf MDUI DisplayName,Description in production, wayf and exp…
Browse files Browse the repository at this point in the history
…ort aggregates

See ukf/ukf-meta#21.
See ukf/ukf-meta#150.
  • Loading branch information
iay committed Dec 5, 2017
1 parent 083fef9 commit d42223d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 28 deletions.
29 changes: 15 additions & 14 deletions mdx/uk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ before being included in the `export` version consumed by interfederation partne

### Export Preview Aggregate vs. Export Aggregate

Status (2017-10-25):
Status (2017-12-05):

* The export preview aggregate ensures that all UKf-registered identity providers have `mdui:DisplayName`
metadata by copying data from `md:OrganizationDisplayName` if required. The copying process also
generates `mdui:Description` elements with the same content.
* These aggregates are currently identical.

## Production Maturity Pipeline

Expand Down Expand Up @@ -61,22 +59,25 @@ when it appeared in the fallback aggregate, which would be too late to take corr

### Test Aggregate vs. Production Aggregate

Status (2017-10-25):
Status (2017-12-05):

* The `test` aggregate does not include the `<UKFederationMember>` label (`ukf-meta#34`).

* The test aggregate ensures that all UKf-registered identity providers have `mdui:DisplayName`
metadata by copying data from `md:OrganizationDisplayName` if required. The copying process also
generates `mdui:Description` elements with the same content.
* The `test` aggregate does not include the entity-level copy of the scopes for an
identity provider (`ukf-meta#49`)

### `cds-all` Aggregate vs. Production Aggregate

Status (2017-11-22):
Status (2017-12-05):

* The `cds-all` aggregate ensures that all UKf-registered identity providers have `mdui:DisplayName`
metadata by copying data from `md:OrganizationDisplayName` if required. The copying process also
generates `mdui:Description` elements with the same content.
* The `cdsall` aggregate omits many elements not necessary for the generation of a discovery feed.

* Otherwise, these aggregates are currently identical.

### Fallback Aggregate vs. Production Aggregate

Status (2017-04-10):
Status (2017-12-05):

* These aggregates are currently identical.
* The production aggregate ensures that all UKf-registered identity providers have `mdui:DisplayName`
metadata by copying data from `md:OrganizationDisplayName` if required. The copying process also
generates `mdui:Description` elements with the same content.
40 changes: 26 additions & 14 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
odn_to_mdui
Ensure that all UKf-registered identity providers have
mdui:DisplayName elements.
mdui:DisplayName and mdui:Description elements.
-->
<bean id="odn_to_mdui" parent="mda.SplitMergeStage">

Expand Down Expand Up @@ -334,6 +334,12 @@
<bean id="uk_productionPipeline" parent="mda.SimplePipeline">
<property name="stages">
<list>
<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Enforce IdP display name uniqueness before assembling aggregate
-->
Expand Down Expand Up @@ -394,6 +400,12 @@
-->
<ref bean="strip.SIRTFI"/>

<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName and mdui:Description elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Enforce IdP display name uniqueness before assembling aggregate
-->
Expand Down Expand Up @@ -509,12 +521,6 @@
<bean id="CDSAllPipeline" parent="mda.SimplePipeline">
<property name="stages">
<list>
<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Enforce IdP display name uniqueness before assembling aggregate
-->
Expand Down Expand Up @@ -632,12 +638,6 @@
<bean id="uk_testPipeline" parent="mda.CompositeStage">
<property name="composedStages">
<list>
<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Enforce IdP display name uniqueness before assembling aggregate
-->
Expand Down Expand Up @@ -762,6 +762,12 @@
</property>
</bean>

<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName and mdui:Description elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Enforce IdP display name uniqueness before assembling aggregate
-->
Expand Down Expand Up @@ -879,7 +885,7 @@

<!--
Ensure that all UKf-registered identity providers have
mdui:DisplayName elements.
mdui:DisplayName and mdui:Description elements.
-->
<ref bean="odn_to_mdui"/>

Expand Down Expand Up @@ -1111,6 +1117,12 @@
and pre-production-status MDX relationships.
-->

<!--
Ensure that beyond this point, UKf-registered identity providers
have mdui:DisplayName and mdui:Description elements.
-->
<ref bean="odn_to_mdui"/>

<!--
Fork into new pipelines for additional aggregates.
-->
Expand Down

0 comments on commit d42223d

Please sign in to comment.