Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "Servers" drop down on a remote domain API-ML is incorrect on the Catalog page for that remote API-ML #3906

Open
youngaaronm opened this issue Nov 21, 2024 · 1 comment
Labels
bug Verified defect in functionality Priority: High size/M

Comments

@youngaaronm
Copy link

Describe the bug
The "Servers" drop down contains an incorrect value for a remote domain API-ML on the Catalog page for that remote API-ML gateway on the central API-ML catalog.

Steps to Reproduce

  1. Configure at least two API-MLs. Configure the second API-ML to have an additional Registration to the first API-ML.
  2. Logon to the Catalog on API-ML 1.
  3. You should see an entry for the gateway for API-ML 1, plus an entry for the remote API-ML2.
  4. If you select the remote gateway API-ML 2, look at the "Servers" drop down server url on the page.
  5. You will see that the Servers box contains the value for API-ML 1, not API-ML 2 as expected.

Expected behavior
The "Servers" drop down box should contain an entry that points to the API-ML gateway for the entry selected.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, add server logs collected at the time of your problem.

Details

  • Version and build number: Version: 3.0.44-SNAPSHOT
  • Test environment: internal system

API Catalog Web UI (in case of API Catalog issue):

  • OS: macOS
  • Browser Chrome

Additional context
Andrej is also able to recreate.

Willingness to help
If you are willing to help with debugging and reproducing the problem or
with fixing the problem, please state your willingness to assist in the created issue.

https://github.com/zowe/api-layer/wiki/Issue-management

@youngaaronm youngaaronm added bug Verified defect in functionality new New issue that has not been worked on yet labels Nov 21, 2024
@achmelo
Copy link
Member

achmelo commented Nov 22, 2024

Catalog UI updates swagger URL with "window" location. This works for most of the cases but does not count with additional GW.

function transformSwaggerToCurrentHost(swagger) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified defect in functionality Priority: High size/M
Projects
Status: Unplanned Bugs
Development

No branches or pull requests

3 participants