Skip to content

Commit

Permalink
Entity-level scope refactoring, phase 1
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#341.
  • Loading branch information
iay committed Oct 27, 2023
1 parent a401e70 commit feeb7f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
7 changes: 7 additions & 0 deletions mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,13 @@

<ref bean="uk_add_cbc_encryption"/>

<!--
Remove entity-level Scope elements, leaving only the ones associated
with role descriptors.
-->
<bean id="stripEntityScopes" parent="mda.XSLTransformationStage"
p:XSLResource="classpath:uk/entity_scopes.xsl"/>

<ref bean="populateItemIds"/>
<ref bean="uk_populateIds"/>
<bean id="uk_populateFlowConstraints"
Expand Down
15 changes: 0 additions & 15 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@
*****************************
-->

<!--
stripEntityScopes
Remove entity-level Scope elements, leaving only the ones associated
with role descriptors.
-->
<bean id="stripEntityScopes" parent="mda.XSLTransformationStage"
p:XSLResource="classpath:uk/entity_scopes.xsl"/>

<!--
finalise_parent
Expand Down Expand Up @@ -274,7 +265,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>

<ref bean="uk_finaliseProduction"/>
<ref bean="uk_normaliseNamespaces"/>
Expand Down Expand Up @@ -336,7 +326,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>

<!--
Remove embedded images used in mdui:Logo elements.
Expand Down Expand Up @@ -584,7 +573,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>
<ref bean="stripEmptyExtensions"/>
<ref bean="uk_finaliseFallback"/>
<ref bean="uk_normaliseFallback"/>
Expand Down Expand Up @@ -641,7 +629,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>

<ref bean="uk_finaliseTest"/>
<ref bean="uk_normaliseTest"/>
Expand Down Expand Up @@ -754,7 +741,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>
<ref bean="stripEmptyExtensions"/>

<ref bean="uk_finaliseExport"/>
Expand Down Expand Up @@ -855,7 +841,6 @@
<ref bean="assembleAggregate"/>
<bean parent="mda.SetCacheDurationStage"
p:cacheDuration="${cacheDuration.aggregate.duration}"/>
<ref bean="stripEntityScopes"/>
<ref bean="stripEmptyExtensions"/>

<ref bean="uk_finaliseExport"/>
Expand Down

0 comments on commit feeb7f8

Please sign in to comment.