[JIRA] (MDA-276) Unify SimplePipeline and CompositeStage

Ian Young (Jira) jira at shibboleth.atlassian.net
Wed Feb 1 22:41:11 UTC 2023


Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *created* an issue

Metadata Aggregator ( https://shibboleth.atlassian.net/browse/MDA?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/MDA-276?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 ) MDA-276 ( https://shibboleth.atlassian.net/browse/MDA-276?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 ) Unify SimplePipeline and CompositeStage ( https://shibboleth.atlassian.net/browse/MDA-276?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 )

Issue Type: Improvement Affects Versions: 0.9.2 Assignee: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) Components: Pipeline Created: 01/Feb/23 5:41 PM Fix Versions: 0.10.0 Priority: Trivial Reporter: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 )

It’s quite striking looking at large configurations that there are essentially two constructs with the same purpose of aggregating multiple stages and allowing them to be executed in sequence: the Pipeline interface as implemented by SimplePipeline and the specific CompositeStage implementation of Stage.

Each of these is usable in different places: CompositeStage is what you’d put in a Pipeline , or into another CompositeStage , but if you want to move the same group of stages into something like SplitMergeStage then you need to pick the other class.

My intuition is that it should be possible to make these interchangeable (thus eliminating one of them) or very nearly so. We should certainly try to eliminate needless differences (e.g., Pipeline has a stages property, while CompositeStage has composedStages ).

( https://shibboleth.atlassian.net/browse/MDA-276#add-comment?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-276#add-comment?atlOrigin=eyJpIjoiMjVkYWRhNmNhYzEwNDU0NmEyNjA3M2FhZmViZWQxYjgiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:06410ea )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/f253c53f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-235b56ca-f2c6-4a69-b917-ffa81ee40348
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/f253c53f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-4f42a5b8-3c86-4a20-8775-4270885f9211
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/f253c53f/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-7e0a11f1-0953-48a8-8a8f-26b99eccb1bb
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/f253c53f/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-550eabdb-39b4-40ff-aa7d-e130bb91851c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/f253c53f/attachment-0007.png>


More information about the commits mailing list