Axway-API-Management-Plus / apim-cli

Axway API-Management CLI - Manage your platform from the command line or with your CI/CD pipeline
Apache License 2.0
43 stars 17 forks source link

The output of command 'apim api get' is not containing the complete list of client applications (array) of the api #495

Open martinDevo opened 2 weeks ago

martinDevo commented 2 weeks ago

APIM-CLI version

1.14.5

API-Management version

7.7.20240530

Bug description

The output of command 'apim api get' is not containing the complete list of client applications (array) of the api. Instead, it contains just one application

Steps to reproduce

  1. Create an API in API Manager and add two clients (apps) with API access, as below in an example image

  2. Run command ‘apim api get ... -n "Blueprint Service API" -ignoreCache -o yaml -t .\temp’ towards this API Manager (in an EMT topology)

When I do this – with either apim-cli 1.14.4 or 1.14.5 on a Windows11 system with openjdk 17 - then I do not get the two client applications in the file output. Instead I always get at most one application (see screenshot, last line). image

Relevant log output

No response

cbrowet-axway commented 2 weeks ago

I can confirm.

This seems to be a regression as it was working as expected in 1.14.2