Chapter 11. Platform awareness in MTA user interface


Starting with 8.0.0, MTA supports platform awareness to import all or selective applications directly from source platform instances.

You can associate applications to source platforms in two ways:

  • By manually configuring source platforms for applications that are available in MTA inventory
  • By discovering (importing) applications from a source platform instance. In this case, the applications are connected with the source platform when they are imported in the MTA inventory.

In MTA 8.0.0, Red Hat supports Cloud Foundry (CF) as the source platform.

After you import applications, you can retrieve platform and runtime configurations (also known as discovery). Discovery is the process of fetching configurations of the imported applications that are connected to their source platform instances. The retrieval or discovery generates the discovery manifest that contain application configurations.

You can later use the discovery manifest to generate the final set of assets required to deploy the applications in the target platform.

You can perform the following tasks in the MTA user interface:

  1. Create multiple source platform (CF) instances.
  2. Link an application created in the MTA user interface to the source platform.
  3. Fetch the discovery manifest. You can generate the discovery manifests per application or in bulk.

Create a source platform instance to retrieve platform and runtime configurations for one or more applications.

An MTA administrator can configure one or more source platform instances in the MTA user interface.

Prerequisites

  • The MTA administrator created a Source Control credential of the source platform such as Cloud Foundry (CF) in the Administration mode.

Procedure

  1. In the MTA user interface, select the Administration working mode.
  2. Click Source platform in the left menu bar to go to the Source platforms page.
  3. Click Create new platform. The Create new platform dialog appears.
  4. In the form, enter the following information:

    1. Name: A unique name for the source platform (CF) instance.
    2. Type: Select source platform from the drop down menu. For example, Cloud Foundry.
    3. URL: API URL of the source platform. For example, the API URL of CF platform.
    4. Credentials: Select the name of the Source Control credentials that you configured for the source platform.
  5. Click Create.

    The source platform instance is created. A source platform instance can be linked with one or more applications.

After you configure a source platform, you can discover and import one or more applications to the MTA application inventory.

Prerequisites

  • You configured at least one source platform instance in the Administration mode.
  • Source platform instance should be running.

Procedure

  1. In the MTA user interface, select the Administration working mode.
  2. Click Source Platforms in the navigation menu to go to the Source Platforms page.
  3. Select a source platform on the Source platforms page.
  4. Click the Options menu ( kebab ) of a source platform and click Discover applications. The Discover applications window appears.

    The discovery process imports all or selected applications that are deployed in the source platform instance to the Applications Inventory page on MTA.

  5. Type the platform coordinate details based on which MTA filters applications during the discovery process.

    The following example shows platform coordinates of a CF instance:

    {
        "names": ["app-a", "app-b"],
        "spaces": ["example-space"]
    }
    Copy to Clipboard Toggle word wrap
    Note

    For a CF instance, the application names field can contain globs. For example, app*.

  6. Review the configuration and click Discover applications. This action tiggers an application import task.
  7. Close the Discover applications window.
  8. (Optional) Hover over the source platform name to check the status of the application import task and click the application import task to view the task details in YAML format.

You can associate applications that you created in MTA with their Cloud Foundry (CF) instances by configuring the application’s coordinates in the source platform.

The specific coordinates vary depending on the source platform you select. For example, the coordinates for CF instances are name and space.

Prerequisites

  • You configured at least one source platform instance in the Administration mode.

Procedure

  1. In the MTA user interface, select the Migration mode.
  2. On the Application Inventory page, click the edit icon ( icon edit ) in an application. The Update application dialog appears.
  3. Enter the following information in the form:
  4. Click Source platform and enter the following fields:

    1. Source platform: Select a source platform instance.
    2. Source platform coordinates: Configure the source platform coordinates in either way:

      1. Enter the source platform coordinates in the fields. For example, name and space for a CF instance.
      2. Enable the source platform coordinates to enter application coordinates in JSON. For example, a CF instance coordinates can be:

        {
            "name": ["example-app"],
            "space": ["example-space"]
        }
        Copy to Clipboard Toggle word wrap
    3. name: Type the name of the application.
    4. space: Configure the CF space in which the app is deployed in the source platform.
  5. Click Save and close the Update application dialog.

Verification

To verify that the coordinates you configured are saved in MTA:

  1. Click anywhere on the appication row to open the application details view.
  2. Click the Platform tab to verify the source platform coordinates that you configured.
  3. Enable the JSON switch for the source platform coordinates to check the coordinates in JSON format.

11.4. Generating discovery manifests

To generate discovery manifest, you must retrieve the application configuration from the Cloud Foundry (CF) source platform instance. MTA generates a discovery manifest that has the application configuration, which you can later use to generate assets (deployment manifests).

You can retrieve configuration for one or more applications at a time.

Prerequisites

  • The Cloud Foundry instance from which you want to retrive configuration is running.
  • You configured a source platform for the applications for which you need to retrieve configurations.

Procedure

  1. In the MTA user interface, select the Migration working mode.
  2. On the Application Inventory page, you can retrieve configuration for one or more applications.

    1. To retrieve configuration for an application:

      1. Select an application and click the Options menu ( kebab ).
      2. Click Retrieve Configurations.
    2. To retrieve configurations for multiple applications:

      1. Select the target applications or click the Select all option ( select ).
      2. Click the Options menu near Analyze at the top and click Retrieve Configurations.
  3. You can review the read-only configurations in the Retrieve Configurations dialog and click Retrieve. MTA triggers a task to retrieve configuration for each application.

Verification

  1. Click an application row to open the application details view and click the Platform tab.
  2. Review the discovery manifest with the retrieved configuration and download the JSON configuration, if necessary.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat