Repository navigation
Releases
Releases · Axway-API-Management-Plus/apim-cli
APIM-CLI 1.15.1
[1.15.1] 2026-11-25
Added
- New option
-credentialTypeforapp getto export only applications having at least one credential of the given type
(#601). Supported types areoauth,apikeysandextclients; several
types can be given comma separated, e.g.apim app get -s api-env -credentialType oauth -o json -t /tmp/exported_apps. The option can be combined
with-credentialand-redirectUrl, in which case the matching credential must be of the given type. APIImportAppreturns the details of an error (#594). Applications, which use
the class to import APIs (e.g. in a service used by a CI/CD pipeline), get the error code, the name of the error, the message and the details of the
underlying causes instead of only the return code:APIImportApp.importAPIwithDetails(params)returns a one-line JSON, e.g.
{"errorCode":25,"error":"CANT_SEND_HTTP_REQUEST","mappedErrorCode":25,"message":"Can't login to API-Manager","details":["Connect to https://localhost:8075 failed: Connection refused"]}.
mappedErrorCodeis the return code of the CLI, which differs fromerrorCodeif-returnCodeMappingis used.- The CLI prints the same one-line JSON to stderr, if
api importfails and the environment variableprint_error_details=trueis set. Nothing changes if the
variable is not set.
Fixed
- Applications with the same name (in the same or in different organizations) were not all exported by
app get: the second application was
skipped, or with-deleteTargetreplaced the export of the first one, as the export folder was derived from the application name only
(#600). Each application is now exported into its own folder; a repeated
name gets a numeric suffix (My-App,My-App_1,My-App_2). This applies to the JSON and YAML export. - Updating the quota of an API corrupted restrictions that use the same method, e.g. a
throttleand athrottlembrestriction for*
(#592). Restrictions were matched by method only, which turned
one restriction into the other. They are now identified by method, type, period and per. Restrictions of the same type and method with a different
period (e.g. 100 messages per second and 10000 messages per day) are kept apart. Changing the limit updates the restriction, changing
the type, period or per replaces it. - Application quota restrictions of different APIs, which are given by
apiPath, were all applied to the first API. The API lookup reused
the cached response of a previous lookup by another API path, as the cache key of the API filter ignored the API path
(#567). The same applies to any other lookup of APIs byapiPath,
state,deprecated,retiredorcreatedOnwithin one execution. - Updating an API failed with "No operation found with name: ''" if an inbound or outbound profile exists for a specific operation and the API
is updated more than once during an import, for example when the backendBasepath is changed together with other properties
(#581). - OpenAPI 3.1 specifications with
resolve_openapi_ref=truefailed silently on import (#582):- The resolved specification was ignored, as the original specification was used after resolving the references.
- The resolved OpenAPI 3.1 model was serialized with a plain Jackson mapper instead of the one of swagger-core, which fails for
boolean schemas likeadditionalProperties: false. Mixed up swagger library versions (NoSuchMethodErrorforbooleanSchemaValue)
were fixed by aligning swagger-models and swagger-core. - Errors while resolving the references now fail the import with a message. References are only resolved for OpenAPI 3.x specifications.
- Errors thrown by a command, which are no longer lost silently, are now logged by the CLI.
Changed
- Improved the performance of commands loading remote hosts, like
api get,api importand the settings export. The users (createdBy) and organizations
of remote hosts are only loaded for the requested remote hosts, instead of one by one (/users/{id}) for all remote hosts on every
lookup (#462). - Upgraded dependencies:
- swagger-parser 2.1.19 to 2.1.48
- swagger-models 2.2.0 to 2.2.55 (swagger-core 2.2.55 is now managed as well). The 3.x line of swagger-models requires
Jackson 3 and is not supported by swagger-parser yet, so it is not used. - Ehcache 3.10.8 to 3.12.0, now using its
jakartabuild together withjaxb-runtime4.0.9 (jakarta.xml.bind) instead of
the javax basedjaxb-runtime2.3.9 to readcacheConfig.xml. A customizedconf/cacheConfig.xmlkeeps working.
Removed
- OData support was removed. Passing an OData
$metadata/ EDMX document (OData V2, V3 and V4) as the API
definition ofapi importis no longer supported and fails with a message pointing to the replacement.
The conversion was built on Apache Olingo, which is no longer maintained. It moved to
the separate projectapim-cli-odata, which converts OData V2/V4 metadata into an OpenAPI 3 specification:Convert the metadata first, then import the resulting OpenAPI file with the CLI as usual. Everything else aboutapim-odata convert -m <metadata file or URL> -b <backend of the OData service> -o openapi.json
importing such an API stays the same. The OData-Routing policy is still required for these APIs. API-Specification
filters can still be applied, as they now work on the converted OpenAPI file. - Removed the OData example configurations from
examples/basicand the Apache Olingo dependencies.
APIM-CLI 1.14.16
[1.14.16] 2026-11-12
Fixed
-
API import of a WSDL based API with -overrideSpecBasePath ignores backendBasepath and uses the endpoint from the WSDL
-
Updating an existing application with an
extclientscredential failed with a 404 when itsclientIdwas the same as
theclientIdof an existing OAuth credential, because the OAuth credential was matched instead. Credentials are now
matched by type as well as by ID (#597).
Changed
- With
-quotaMode replacean API without an application or system quota now removes the quota configured for the
API in API-Manager. With the other quota modes a missing quota still keeps the existing one. - Upgraded dependencies:
- Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (
httpclient55.6.4) - jackson-* to 2.22.4 to fix security issues
- log4j to 2.26.1 and slf4j-api from 1.7.36 to 2.0.20.
log4j-slf4j-implis replaced bylog4j-slf4j2-impl
- Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (
- Quota restrictions are now added, updated and removed individually using the API-Manager endpoints below
/quotas/{id}/constraintsinstead of replacing the complete quota document. This leaves the restrictions of
other APIs untouched and avoids lost updates. API-Managers older than 7.7.20261130 keep using the previous
document level update, and the CLI falls back to it automatically if the endpoints are not served.
Added
- API import supports
-quotaUpdateMode(auto,legacy,constraints) to control how quotas are written to
API-Manager. Defaults toauto.
Deprecated
- OData support is deprecated and will be removed in the next release. Passing an OData
$metadata/ EDMX
document as the API definition, which the CLI detects and converts to OpenAPI before importing, is affected for
all three versions: OData V2, V3 and V4.
The conversion is built on Apache Olingo, which is no longer maintained, so it
cannot be kept up to date or secured within this project.
The conversion will move to a separate project that turns OData metadata into an OpenAPI definition. Convert the
metadata there first, then import the resulting OpenAPI document with the CLI as usual. Everything else about
importing such an API, including the generated API-Methods, stays the same.
APIM-CLI 1.14.16-SNAPSHOT
Fixed
API import of a WSDL based API with -overrideSpecBasePath ignores backendBasepath and uses the endpoint from the WSDL
Changed
- With
-quotaMode replacean API without an application or system quota now removes the quota configured for the
API in API-Manager. With the other quota modes a missing quota still keeps the existing one. - Upgraded dependencies:
- Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (
httpclient55.6.4) - jackson-* to 2.22.4 to fix security issues
- log4j to 2.26.1 and slf4j-api from 1.7.36 to 2.0.20.
log4j-slf4j-implis replaced bylog4j-slf4j2-impl
- Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (
- Quota restrictions are now added, updated and removed individually using the API-Manager endpoints below
/quotas/{id}/constraintsinstead of replacing the complete quota document. This leaves the restrictions of
other APIs untouched and avoids lost updates. API-Managers older than 7.7.20261130 keep using the previous
document level update, and the CLI falls back to it automatically if the endpoints are not served.
Added
- API import supports
-quotaUpdateMode(auto,legacy,constraints) to control how quotas are written to
API-Manager. Defaults toauto.
Deprecated
- OData support is deprecated and will be removed in the next release. Passing an OData
$metadata/ EDMX
document as the API definition, which the CLI detects and converts to OpenAPI before importing, is affected for
all three versions: OData V2, V3 and V4.
The conversion is built on Apache Olingo, which is no longer maintained, so it
cannot be kept up to date or secured within this project.
The conversion will move to a separate project that turns OData metadata into an OpenAPI definition. Convert the
metadata there first, then import the resulting OpenAPI document with the CLI as usual. Everything else about
importing such an API, including the generated API-Methods, stays the same.
APIM-CLI 1.14.15
APIM-CLI 1.14.14
[1.14.14] 2026-07-13
Fixed
- code 102 and message "Quota constraint not found" (#588)
- API Methods summary fields are being lost after api import (#587)
- template generate -includeMethods does not work in 1.14.12 (#586)
- Creating external application developer user with apim-cli (#577)
- APIM CLI -state Parameter Not Working (#576)
Added
- Show outbound security in export (#569)
APIM-CLI 1.14.13
APIM-CLI 1.14.12
APIM-CLI 1.14.11
[1.14.11] 2025-02-26
Fixed
- Error 409 from API Gateway API when creating API-Access for application(See issue #538)
- APIM-cli import breaks feAPIs with basic auth w/out password(See issue #470)
Full Changelog: 1.14.10...1.14.11
APIM-CLI 1.14.10
[1.14.10] 2025-02-04
Fixed
- Regression when updating API proxy(See issue #535)
- Custom Properties not exported correctly (empty or with wrong value)(See issue #473)
What's Changed
- fix issue #535 for 7.7 nov 2021 compatibility by @gcornacchia in #536
Full Changelog: 1.14.9...1.14.10
APIM-CLI 1.14.9
[1.14.9] 2025-01-27
Fixed
- File extension is missing in apiSpecification.resource when exporting API(See issue #528)
Added
- Support csv format for organization export (See issue #534)
- Generate api-config.json with permethod override and methods tags (See issue #522)
- import .dat APIs (See issue #532)
What's Changed
- Methodlevelscope by @rathnapandi in #523
- methodlevelscope by @rathnapandi in #524
- Ignoring 409 errors in second attempt of creating api access by @gcornacchia in #531
Full Changelog: 1.14.8...1.14.9