add stage to whitelist/blacklist multiple namespaces

Description

The NamespaceStrippingStage is useful but in many cases we either want to (a) remove multiple namespaces at once or (b) whitelist rather than blacklist. We should introduce a new NamespacesStrippingStage to do this, with a whitelisting property and a namespaces property taking a collection of namespaces to consider.

We should be able to refactor NamespaceStrippingStage so that the main logic is shared between the two stages.

There's an implementation of this in the ukf-mda project.

Environment

None

has dependent

Activity

Ian YoungDecember 22, 2015 at 6:01 PM

Closed on release 0.9.0.

Ian YoungDecember 1, 2015 at 10:54 AM
Edited

Imported AbstractNamespacesStrippingStage and NamespacesStrippingStage from ukf-mda commit 0cb4899.

Refactor NamespaceStrippingStage commit d3f0dc0.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created November 27, 2015 at 8:22 PM
Updated December 22, 2015 at 6:01 PM
Resolved December 1, 2015 at 10:54 AM

Flag notifications