Nav

To Migrate Assets from Exchange 1 to Exchange 2

Anypoint Exchange 2 introduces a new way of working with your assets. Where Exchange 1 is a listing service that only provides links to where assets are stored, Exchange 2 is a package management system that stores assets.

Migration to Exchange 2 differs by asset type:

Asset Type Migration Approach Documents

Example, Template

Anypoint Studio > Publish to Exchange

OAS API

Publish using Exchange

RAML APIs

Publish using Design Center - Note: New API Designer is only available for new customers. Customers with existing RAMLs in Exchange may request entitlement to view the new API Designer in the Design Center for migration purposes only. Once the migration is completed, the entitlement must be revoked until new API designer is rolled out to all customers.

WSDL APIs

Manual publish in Exchange

To Migrate an Example or Template to Exchange

  1. Locate an asset in your private Exchange and download the asset from Exchange 1. This is a zip file.

  2. Open Anypoint Studio 6.2.5 and click File > Import. Locate the zip file you downloaded from Exchange 1.

  3. Right-click the project name in the Package Explorer, and click Mule > Convert to Anypoint Studio Project.

  4. Right-click the project name and click Mule > Configure Maven. Configure Maven and click Test Maven Configuration.

  5. Right-click the project name and click Mule > Enable Support.

  6. Open your project’s pom.xml file and set the Group ID, artifact ID, and version to what is appropriate for your project. Also change the Name to what you want for the Exchange 2 asset. Save the project.

  7. Right-click the project name and click Anypoint Platform > Publish to Exchange.

  8. Studio prompts you for your Anypoint Platform username and password, or click Configure to specify an external identity provider such as OAuth and the organization’s domain.

  9. In the Publish to Exchange menu:

    1. Specify the Project Type, which can be Example or Template.

    2. If needed, specify an alternate name for the asset you are creating. Note: If an asset of the same name in your organization already exists in Exchange, the publish fails.

    3. Provide a description.

  10. After setting all fields as required, click Finish.

  11. Upon successful deployment, a link appears to let you view the asset in Exchange 2.

  12. Click the asset in Exchange 2 and click Edit. Copy the description text from Exchange 1 to the Exchange 2 editor and format as needed. Publish the asset when done.

To Migrate a WSDL

  1. Go to Exchange 1 and download your WSDL file.

  2. Go to Exchange 2 and click New.

  3. Select API Spec - WSDL in the types drop-down.

  4. In the File field, select your WSDL file.

  5. Fill in the remaining fields.

  6. Click Create.

To Migrate a RAML

  1. Go to the API Manager Portal for the API and export the API Specification as a zip file.

  2. Go to Design Center API Designer and create a project of type API Specification.

  3. Import the zip.

  4. Publish to Exchange 2.