Community
Participate
Working Groups
The goal is to allow users to export the content of a facet to a project. We’ll consider the recipient project has already been created for now. The wizard should be an “Export wizard, to appear in the Tigerstripe Category”. As such, it will be available from a right-click anywhere in the Explorer. If right-click happens on a facet file, it should be picked up and pre-populated as the originating facet in the wizard. The Wizard would have: The name of the source project. the name of the facet (which needs to belong to the source project, or else the facet can’t be resolved) the name of the recipient (target) project a checkbox to let the use choose to “Include referenced projects”, i.e if the content of referenced projects should be exported too (meaning that the content of the facet should be computed including referenced projects) a Finish button :-). If the initial right-click was on a project and/or facet, the source project and facets should be pre-populated. The logic should be kept away from the wizard code (i.e. Wizard in ui.base plugin next to other wizards, logic in .base plugin internal) The logic should to do following, once the source/targets/options have been captured from the wizard: in a runnable (similar to other wizards). apply facet to source project. Look in the code for action for “set as Active facet” in ui. query content thru Artifact Manager Session on that project (with or without dependencies based on options) for each artifact, create the same artifact in the target project (i.e. Clone + add to target ArtifactManagerSession). Call “doSave()” on that artifact then which should create it on disk.
Should we allow headless operation as well ?
Hi Jim, isn't that all complete? Should this be resolved? Eric
This is already implemented under Export > Tigerstripe > Facet Scoped Model