Skip to content

Enhance application inventory table, detail drawer, and create/edit modal #2287

@sjd78

Description

@sjd78

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:

UI enablement issues:

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

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 / Discard Assessment
    • Review / Discard Review
    • Manage dependencies
    • Manage credentials
    • Analysis details (open task view for the most recent analyzer task)
    • Cancel analysis (if an analysis is running)
    • break
    • Retrieve configurations
    • Generate assets
    • break
    • Delete (in red)

Metadata

Metadata

Labels

asset-genkind/featureCategorizes issue or PR as related to a new feature.priority/majorImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions