wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

Inconsistent behavior in the developer portal after disabling the gateway URL visibility at Publisher #12300

Closed HiranyaKavishani closed 2 years ago

HiranyaKavishani commented 2 years ago

Description:

After disabling publisher's gateway URL visibility, it says No endpoints yet, but the try button is enabled.

Therefore, once click it, for Rest APIs, the keys are generated with a subscription and is navigated to tryout console. Servers dropdown shows invalid url as follows.

Screen Shot 2022-02-03 at 11 19 22 AM

for GraphQL APIs, it is redirected to a blank page.

Screen Shot 2022-02-03 at 11 40 23 AM

Steps to reproduce:

1.Create REST & GraphQL API 2.Deploy a revision and making disable the gateway URL visibility for both APIs. 3.Go to Devportal and click TryOut buttons in both APIs.

Affected Product Version:

APIM 4.1.0

Environment details (with versions):


Optional Fields

Related Issues:

Suggested Labels:

Suggested Assignees:

CrowleyRajapakse commented 2 years ago

The blank page in GraphQL is due to following improvement done recently : https://github.com/wso2/product-apim/issues/11750, will provide a fix to resolve that GraphQL API Try Out page not loading issue, so that it will be as consistent as the REST API behaviour with disabling gateway URL visibility option.