+

Anypoint Platform Command-Line Interface Release Notes

3.21.0

January 10, 2023

Fixed Issues

Issue

ID

The cloudhub-application copy command now works as expected.

W-12150352

3.20.0

December 13, 2022

What’s New

  • The governance commands governance profile create and governance profile update have new options to configure notifications and to automatically use latest as the ruleset version.

Fixed Issues

Issue

ID

You can now use the governance api inspect command with Windows paths.

W-12120881

The cloudhub-application copy command now works as expected.

W-12150352

3.19.1

November 29, 2022

Fixed Issues

Issue

ID

You can now use the cloudhub-application copy command without deleting the application that you copy.

W-11584309

The exchange asset uploadv2 command now works as expected.

W-12113687

The MB value is now set to 1,048,576.

W-12065146

3.19.0

November 15, 2022

What’s New

  • You can now use multi-factor authentication (MFA) by logging in through the browser.

3.18.2

November 1, 2022

What’s New

  • Internal libraries are updated.

  • Command tracking is improved.

  • The command governance api inspect now has OAS support.

Fixed Issues

Issue

ID

The runtime-mgr standalone application deploy command now works as expected.

W-11696354

You can now use Anypoint CLI while connected trough a proxy.

W-11761129

3.18.1

October 11, 2022

What’s New

  • You can now use the runtime-mgr standalone-application copy command without having the Manage Servers permission.

3.18.0

September 27, 2022

What’s New

  • The command governance ruleset validate now works on Windows 10.

  • The command governance api validate now works with multiple rulesets.

  • You can now use anypoint CLI when connecting through a proxy.

3.17.0

September 13, 2022

What’s New

Updates to the governance command group:

  • New command to enable you to evaluate the rulesets that might apply to your API:

    • governance api evaluate

  • New commands to enable you to scaffold rules from data schemas:

    • governance api inspect

    • governance ruleset init

  • New commands to enable you to customize individual rules by changing severity levels and enabling or disabling rules:

    • governance ruleset info

    • governance ruleset clone

  • Updates to governance create profile and governance update profile to add the following option:

    • --criteria, where you can specify filters for tags, categories, and scope, such as API types async-api and rest-api

  • Updates to governance api validate to add the following options:

    • --remote, to enable you to validate APIs published in Exchange

    • --remote-rulesets, to enable you to validate APIs against rulesets published in Exchange

See the governance command group in the Anypoint CLI 3.x documentation.

Fixed Issues

Issue

ID

The designcenter project publish command does not allow the tags flags anymore.

W-11359020

The api-mgr api deploy and api-mgr api redeploy commands now work as expected.

W-11610551

The datagraph load-balancer-config add and datagraph load-balancer-config describe commands now work as expected.

W-11637288

3.16.0

August 23, 2022

What’s New

  • New CloudHub 2.0 commands are added for managing applications.

  • APB is upgraded to version 1.0.7.

3.15.1

August 9, 2022

What’s New

  • Certain deprecated dependencies are upgraded.

3.15.0

July 26, 2022

What’s New

  • Replaced non-compliant term in adherence to our Inclusive Product Language Program.

Fixed Issues

Issue

ID

The designcenter project create command no longer displays an error message creating resource types and user-documentation RAML fragments.

W-11357917

3.14.0

July 11, 2022

What’s New

  • A message now displays to warn users regarding any occurrences of non-compliant terms in the Inclusive Product Language Program, alternately, suggesting the use of allowlist instead.

  • You can now select the project branch using the --branch option for the designcenter project publish, designcenter project upload, and designcenter project download commands.

  • The command anypoint-cli governance api validate now accepts an API project ZIP file or folder and downloads dependencies, including rulesets against which to validate. You can optionally use the --rulesets option to specify a comma-separated list of local rulesets.

  • The command governance ruleset validate now accepts the following as the ruleset definition parameter:

    • A ruleset definition YAML file

    • A ZIP file that contains an API project with an exchange.json file that specifies the ruleset as the main file

    • A folder that contains an API project with an exchange.json file that specifies the ruleset as the main file

3.13.0

June 14, 2022

What’s New

This release includes the following changes:

  • Replaced non-compliant term with "allowlist" in compliance with our Inclusive Product Language Program.

  • Replaced clean ANSI characters in standard output with plain text.

Fixed Issues

Issue

ID

The api-mgr contract list command now displays the correct error message when exceeding the 250 limit.

W-11216223

3.12.0

May 31, 2022

What’s New

This release includes the following changes:

  • Added datagraph commands for working with source APIs.

3.11.0

May 17, 2022

What’s New

This release includes the following changes:

  • Added more fields to the exchange asset copy command.

Fixed Issues

Issue

ID

The designcenter project publish command no longer returns a 500 - undefined error.

W-11101077

3.10.0

April 28, 2022

What’s New

This release includes the following changes:

  • Added governance command group.

3.9.7

April 5, 2022

What’s New

This release includes the following changes:

  • Added an option to send a file as --configFile with the api-mgr policy apply command.

3.9.6

March 22, 2022

What’s New

This release includes the following changes:

  • Added the assetUpdateStatus command to specify the --status property when creating an asset.

3.9.4

January 12, 2022

Fixed Issues

Issue

ID

Fixed an issue that broke up the JSON output when using commands with the -o formatting parameter.

SE-24109

3.9.3

January 11, 2022

Fixed Issues

Issue

ID

Source dependencies are now included when copying an asset.

SE-23974

Fixed an issue that broke up the standard output when using the colors library.

SE-24083

3.9.2

December 14, 2021

Fixed Issues

Issue

ID

The runtime-mgr standalone-application copy command now works as expected and provides an authentication method with client_id and client_secret.

SE-19129

3.9.1

November 2, 2021

Fixed Issues

Issue

ID

The designcenter project publish command no longer fails when the --apiVersion option is not specified.

DESIGNER-6949

Updated dependencies to avoid the error The unauthenticated git protocol on port 9418 is no longer supported. during install.

APC-226

Version 3.9.0 - September 21, 2021

  • Added the mutableDataUpload command to upload mutable data to an existing asset.

  • Added the page update command to update an Asset Portal page in Markdown format.

Version 3.8.2 - September 7, 2021

  • To improve the Anypoint CLI experience, we gather anonymized usage data. You can opt out by setting collectMetrics to false in the credentials file.

  • Fixed an issue related to basic type WSDL API instance creation.

Version 3.8.1 - August 24, 2021

  • Added the --endpointUri argument for the api-mgr api manage and api-mgr api edit commands.

  • Fixed issues with the load-balancer mappings commands.

Version 3.8.0 - July 13, 2021

  • Added exchange commands for managing asset resources.

  • Added arguments to exchange asset uploadv2 command.

  • Added organizationId option to exchange asset list command.

Version 3.7.1 - June 22, 2021

  • The runtime-mgr standalone-application deploy command now works as expected in both interactive and non-interactive modes. (SE-19237, SE-20345, SE-21102)

  • Removed Beta from exchange asset uploadv2 command.

Version 3.7.0 - May 4, 2021

  • Added support for Anypoint DataGraph configuration.

    For more information, see the DataGraph commands in the Anypoint CLI 3.x documentation.

Version 3.6.1 - March 22, 2021

  • Fixed an issue with the runtime mgr deploy command where it failed to deploy multiple times standalone applications that had the same name but pointed to different targets. (SE-19237)

  • Fixed an issue with exchange asset page list and exchange asset page download commands to allow downloading pages from public assets. (EXC-5362)

Version 3.6.0 - March 4, 2021

  • Fixed an issue with the api-mgr policy disable/enable command and authentication-based policies that caused the Missing parameter at password error. (SE-18665)

  • Fixed an issue with the exchange asset copy command that prevented copying an exchange asset from one org to another. (SE-18990)

  • Fixed an issue with the runtime-mgr cloudhub-application copy command that occurred when copying an app with safely hidden application properties.

    Added the --property option to specify properties.

    For information, see the runtime-mgr cloudhub-application copy command in the Anypoint CLI 3.x documentation.

Version 3.4.3 - August 6, 2020

  • Fixed an issue that caused extra information being logged in non-interactive mode.

Version 3.4.2 - August 5, 2020

  • Fixed an issue that occurred with secure properties when deploying CloudHub applications.

Version 3.4.1 - August 5, 2020

  • Fixed an issue that occurred when uploading an asset with an apiVersion value that included trailing zeroes.

Version 3.2.6 - September 4, 2019

  • Fixed issue that caused the exchange asset describe command to threw a "Cannot read property 'versions'" error.

Version 3.2.5 - August 12, 2019

  • Fixed issue when runtime list did not show default mule version.

Version 3.2.4 - July 28, 2019

  • Fixed update exchange.json stage when publishing to exchange.

Version 3.2.3 - July 11, 2019

  • Fixed mapping of Asset Type on API Manager.

Version 3.2.2 - July 1, 2019

  • Fixed issue when publishing to exchange with different groupId.

Version 3.2.1 -

  • Fixed issue when uploading asset with file path starting with ~.

Version 3.2.0 - April 26, 2019

  • Added a warning when an invalid HTTPS_PROXY or HTTP_PROXY environment value is found.

Version 3.1.1 - April 22, 2019

  • Fixed issue when using properties with colon or equal characters in the value field.

Version 3.1.0 - April 17, 2019

This release of Anypoint Platform CLI adds the following Exchange feature:

  • Added the ability to publish RAML assets. Example: exchange asset upload --classifier raml --apiVersion v1 --name HelloWorld --mainFile helloworld.raml helloword/1.0.0 /Users/nmouso/Downloads/helloworld.raml.zip

Version 3.0.5 - January 25, 2019

This release of Anypoint Platform CLI addresses the following issue:

  • Added support for pagination within Design Center.
    When running designcenter project list, you can now pass --pageIndex to set number of the page to retrieve from a paginated project, and --pageSize to set the number of results per page.

Version 3.0.4 - January 18, 2019

This release of Anypoint Platform CLI adds the following Exchange feature:

  • Added mainFile option to determine a main file for OAS and WSDL API types when publishing an API specification to Exchange.

Version 3.0.3 - December 27, 2018

This release of the Anypoint CLI fixes the following issue:

  • api-mgr api manage command when using --referencesUserDomain true on Hybrid does not checks the Reference User Domain checkmark when viewing the API in the API Manager UI.

Version 3.0.2 - December 12, 2018

This release of Anypoint CLI focuses on bug fixes.

Version 3.0.1 - November 20, 2018

This release of Anypoint CLI focuses on bug fixes.

Version 3.0.0 - October 5, 2018

Anypoint CLI 3.x is not compatible with Anypoint Platform versions pre-Crowd release.

To keep using CLI with pre-crowd release organization, use Anypoint Platform CLI 2.x documentation.

This release of the Anypoint CLI inclues CLI commands for API Manager 2.x (crowd release)

  • Added support for API Manager v2.

  • Removed previous api-mgr commands (API Manage v1).

  • Renamed api-mgr applications * → api-mgr contract *.

  • Renamed api-mgr tiers * → api-mgr tier *.

  • Fixed an issue whereby if an API contained null values, it was trowing an error.

  • Added support for graphQL APIs.

  • Removed support for Node < 8.12.0.

Version 2.3.2 - April 3, 2018

This release of the Anypoint CLI fixes the following issue:

  • Wrong JSON formatting of runtime-mgr standalone-application describe-json

Version 2.3.1 - March 16, 2018

This release of the Anypoint CLI fixes the following issue:

  • Fixed a bug due to the way 'runtime-mgr standalone-application copy' was referencing target applications

Version 2.3.0 - March 9, 2018

This release of the Anypoint CLI introduces:

  • Ability to pass a Bearer token to the CLI instead of login & password (--bearer option or ANYPOINT_BEARER environment variable)

Version 2.2.0 - January 29, 2018

This release of the Anypoint CLI introduces:

  • Added command exchange asset describe

  • Added commands exchange asset (deprecate|undeprecate)

  • Added command exchange asset page list to list the published pages of a given assets

  • Added command api-mgr proxy download to dowload a ZIP archive of a given gateway proxy

  • Added support for "http" classifier in exchange asset upload

Introduces the following change:

  • Made groupID default to the current session’s organizationID in all exchange asset * commands where <assetIdentifier> is required

And fixes the following issue:

  • Fixed designcenter project list always returning version "0"

Version 2.1.2 - December 7, 2017

This release of the Anypoint CLI fixes the following issues:

  • Fixed an issue with with exchange asset page (upload|delete) commands that were failing with "Request failed to validate against RAML definition".

  • Fixed several autocompletion issues throughout anypoint-cli.

  • Fixed an issue with with exchange asset (download|copy) commands that were failing with assets of type "rest-api".

  • Fixed the legend for exchange asset upload

  • Fixed an issue with with exchange asset delete to perform a hard delete.

  • Fixed an issue with 404 errors when connecting to onprem instances in interactive mode.

  • Fixed pagination for exchange asset list and designcenter project list

  • Fixed the syntax for exchange asset copy, the new syntax for target is <groupId>/<assetId>/<version>

Version 2.1.1 - Oct 19, 2017

This release fixes the following issue:

  • Fixed an issue with the conversion of Swagger files when using the api-mgr definition upload command

Version 2.1.0 - Sept 19, 2017

This release of the Anypoint CLI introduces:

  • Support for Design Center, including: listing (+ searching), creating, deleting, uploading, downloading, as well as publishing projects to Exchange

  • Support for Exchange 2.0, including: listing (+ searching), modifying, deleting, uploading and copying assets, as well as managing asset description pages

  • Added account environment describe [name] command. When "name" is not specified, returns the current session’s environment information

And introduces the following changes:

  • api-mgr applications list: added the --tier-requests option to only list applications that have their "Current SLA Tier" different than their "Requested SLA Tier"

  • api-mgr policy copy: ability to pass a "policyId" in order to copy a single policy

  • api-mgr endpoint configure: added a "Response Timeout" option

  • Disabled use and portal open commands in non-interactive mode

  • Passing --fields to any command will display the list of all available fields for that command

  • Ability to configure default options in ~/.anypoint/defaults for any of the default options, E.g. --output, --fields

  • Added a message log to confirm environment and business group change upon using executing use (environment|business-group) commands

  • Made "name" optional in account business-group describe. When "name" is not specified, defaults to the current session’s business group

  • Added --type <type> option to account environment create. --sandbox remains for backward-compatibility

  • Made pagination consistent across all commands (interactive mode)

This release fixes the following issues:

  • Fixed an error when a file passed as --propertiesFile to a runtime-mgr * command contained a blank line

  • Fixed an issue with api-mgr definition (copy|upload) when the target API definition already existed and had a different structure than the source API definition

Version 2.0.8 - August 1, 2017

This release of the Anypoint CLI fixes the following issues:

  • Fixed --username option fails when username is a number

  • Fixed api-mgr * copy commands return Error: Unauthorized for users that have limited roles

Version 2.0.7 - July 27, 2017

This release of the Anypoint CLI fixes the following issue:

  • Fixed an issue with api-mgr endpoint configure failing to validate options such as --type

Version 2.0.6 - July 12, 2017

This release of the Anypoint CLI fixes the following issue:

  • Fixed an issue running runtime-mgr standalone-application commands using application names against Anypoint On Premises version 1.5 and under

Version 2.0.5 - July 6, 2017

This release of the Anypoint CLI fixes the following issues:

  • Added the ability to pass an application name to the runtime-mgr standalone-application (describe|describe-json|modify|delete|stop|restart|start|artifact) commands

  • Added the ability to pass a target name to the runtime-mgr standalone-application (deploy|copy) commands

  • Fixed runtime-mgr standalone-application deploy failing when application already exists. Will now re-deploy the application if application exists.

Version 2.0.4 - June 15, 2017

This release of the Anypoint CLI fixes the following issues:

  • Added option --dynamic-ips to cloudhub load-balancer create to force new load balancers to use dynamic IPs instead of static ones

  • Added cloudhub load-balancer dynamic-ips (enable|disable) commands to turn that option on/off for existing load balancers

Version 2.0.3 - June 8, 2017

This release of the Anypoint CLI fixes the following issues:

  • Fixed cloudhub load-balancer describe fails to show LB information if the sslEndpoint doesn’t have publicKeySANs

  • Fixed anypoint-cli api-mgr definition copy does not copy RAML files in folders on Windows

  • Fixed api-mgr definition copy creates a new file "api.raml" in the target API which does not exist in the source API.

  • Fixed api-mgr portal copy does not preserve order of portal pages

Version 2.0.2 - May 17, 2017

This release of the Anypoint CLI fixes the following issues:

  • Fixed api-mgr definition download raises multiple errors when trying to download to an empty folder.

  • Fixed api-mgr definition upload creates nested folders incorrectly. E.g. users/employees turns into users/users/employees.

  • Fixed api-mgr definition copy individual files in the root folder arent’t copied properly.

  • Fixed api-mgr definition copy when the source contains nested directories (>=2 levels), content is not copied properly.

  • Fixed api-mgr definition copy & * upload after 2+ concecutive runs, copy fails with a message saying “This name already exists in your organization”.

Version 2.0.1 - May 16, 2017

This release of the Anypoint CLI fixes the following issue:

  • Fixed runtime-mgr cloudhub-application deploy not working properly when --property is passed

Version 2.0.0 - April 28, 2017

This release of the Anypoint CLI introduces:

  • Ability to copy information across organizations (and environments for runtime-mgr).

  • Ability to deploy applications to hybrid servers and PCF with runtime manager.

It also fixes the following issues:

  • Fixed an issue when a command had arguments surrounded with quotes and containing spaces.

  • Fixed an issue with api-mgr definition copy when the source definition contained folders.

  • Fixed an issue with api-mgr definition copy not copying notebooks.

And introduces the following changes:

  • The cloudhub applications commands have been renamed.

  • The syntax for the copy commands has changed.

See the Anypoint Platform CLI 2.x documentation for more details.

Version 1.1.4 - March 15, 2017

This release of the Anypoint CLI fixes the following issues:

  • runtime-mgr application download-logs not working properly on Windows/Linux.

  • --fields <field_list> option returns misleading warning.

Version 1.1.3 - February 25, 2017

This release of the Anypoint CLI fixes the following issues:

  • runtime-mgr application restart throws an error in non-interactive mode.

  • Some arguments should not be converted to integers.

See the Anypoint Platform CLI 2.x documentation for more details.

Version 1.1.2 - January 10, 2017

This release of Anypoint Platform CLI introduces support for API Manager commands and API lifecycle/promotion scenarios.

It also introduces new features such as:

  • Support for API Manager, including managing APIs, policies, definitions, portals, client applications, and more.

  • Copying API definitions, portals, and policies from one API to another for easy promotion

  • More control over the CLI output:

    • Ability to format the output in plain text, JSON or tables.

    • Ability to specify the fields you want the output to display.

  • Improved security

  • Support for Anypoint Platform Private Cloud Edition

See the Anypoint Platform CLI 2.x documentation for more details.

Was this article helpful? Thanks for your feedback!