-
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
Anypoint Platform Command-Line Interface Release Notes
3.20.0
3.18.2
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
andgovernance update profile
to add the following option:-
--criteria
, where you can specify filters for tags, categories, and scope, such as API typesasync-api
andrest-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 |
W-11359020 |
The |
W-11610551 |
The |
W-11637288 |
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 thedesigncenter project publish
,designcenter project upload
, anddesigncenter 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:
3.13.0
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 thecredentials
file. -
Fixed an issue related to basic type WSDL API instance creation.
Version 3.8.1 - August 24, 2021
-
Added the
--endpointUri
argument for theapi-mgr api manage
andapi-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 toexchange 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
andexchange 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 theMissing 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.0 - April 26, 2019
-
Added a warning when an invalid
HTTPS_PROXY
orHTTP_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 runningdesigncenter 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.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 orANYPOINT_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’sorganizationID
in allexchange 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
anddesigncenter 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
andportal 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 toaccount 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 aruntime-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 returnError: 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
tocloudhub 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.