Tracks: https://github.com/konveyor/tackle2-ui/issues/2287
Summary
For applications, update the inventory table, detail drawer, and create/edit modal to support new data and actions needed to implement #2282.
Platform awareness support:
- Associate an application to a single source platform
- Add source platform application coordinates
- Add view of the source platform generated discovery manifest
- Add action to retrieve configurations
Asset generation support:
- Associate an application to a target asset repository (where generated assets will be stored)
- Add action to generate assets
Enabling Work
HUB enablement issues:
- Adds source platform to application: ✨ Add platform. tackle2-hub#809
- Schema defined fields: ✨ Add meta platform. tackle2-hub#810
- Application discovery manifest: ✨ Add application manifest. tackle2-hub#808
UI enablement issues:
- Create source platform page and handling #2283
- Enable working with a set of schema defined fields #2284
- Create application discovery manifest view and handling #2285
Changes
Table changes:
- Columns
- Make sure the configuration discovery task is included in the task popover
- 🤔 Status icon for "discovery manifest" (not ready, ready, discovery failed, discovery success)
- 🤔 Status icon for "assets generated" (not ready, ready, generate failed, generate success)
- 🗒️ The status icons could be redundant info if the retrieval task is reported in the application task info popover
- Toolbar actions:
- Single application retrieve configurations
- Bulk application retrieve configurations
- Bulk application change source platform
- Single application generate assets
- Bulk application generate assets
- Record kebab actions:
- retrieve configurations
- generate assets
Selected application detail drawer changes:
- View of source platform
- View of source platform coordinates
- Enable view and verification of the discovery manifest
- View of asset repository
Add/edit modal changes:
- Add source platform dropdown
- Add source platform coordinates with schema defined fields support
- Edit mode: provide a way to view the discovery manifest (may be an edit modal embedded view of the discovery manifest view)
- 🗒️ If the source platform is changed, any existing discovery manifest will need to be removed
- Add asset repository fields in the same style as the source repository
Actions
- Retrieve configurations: Workflow - retrieve configurations for an application #2288
- Generate assets: Workflow - Generate assets for an application + archetype + target profile #2294
- Bulk change source platform
Action order
After the enhancement work is complete, the actions should be shown in a specific order.
Table toolbar action list order:
- Buttons:
- Create new
- Analyze
- Kebab:
- Import (CSV application file import)
- Manage imports (CSV application file import)
- break
- Cancel analysis
- Download analysis details
- Manage credentials
- break
- Change source platform
- Retrieve configurations
- Generate assets
- break
- Delete (in red)
Table record actions:
- Buttons:
- Edit
- Kebab:
- Assess
- Review
- Manage dependencies
- Manage credentials
- Analysis details (open task view for the most recent analyzer task)
- break
- Retrieve configurations
- Generate assets
- break
- Delete (in red)