Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-4603

[Dev preview] Assets Generation CLI

XMLWordPrintable

    • None

      Asset generation in CLI in MTA 7.3 is a Dev Preview
      (Full feature (Integration in the Hub and everything) in planned for MTA 8.0)

      This effort will cover the development of a golang CLI tool capable of performing discovery and transformation of a PCF application. This task does not expect a tool compatible with the Konveyor addon process.

      We want a `discover` and `generate` command. The `discover` command should output a yaml/json file similar to the output of M2K's `collect` and `plan` commands. The format of this file can be a bare minimum for an MVP; though we should consider that we want this to eventually be a canonical configuration structure capable of handling other platforms. This `discover` command can take in one supported `–platform` flag: `pcf`.

      The `generate` command should template out assets for the application to be deployed to OCP. This `generate` command should take in a helm template and spit out a helm chart for a user to use for the asset deployment.

      Implement at least the generate command from the Create Asset Generation CLI Enhancement from Konveyor. The discover command for Cloud Foundry would be desirable as well, but is not critical.

      The CLI commands: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/README.md
      CLI examples: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/docs/examples.md
      Asset generation CLI Gloria’s demo March 10, 2025: Konveyor Community Meeting - 2025/03/06 11:43 EST - Recording
      https://drive.google.com/file/d/14sF2tKc8uUL4p7HBcg42NrMbECx5RWLv/view

      Related github Enhancements:

              gciavarrini@redhat.com Gloria Ciavarrini
              rromanni@redhat.com Ramon Roman Nissen
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: