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

Publishing an API without deploying it to any gateway (Advertised APIs) #10333

Closed
9 tasks done
tmkasun opened this issue Mar 18, 2021 · 2 comments
Closed
9 tasks done

Comments

@tmkasun
Copy link
Contributor

tmkasun commented Mar 18, 2021

Description

As of today all the APIs we developed are deployed to API gateway and handle QoS enforcement in the API gateway side. But sometimes we will need to create and manage APIs without really deploying them into the gateway and runtime part. This is the problem we need to solve with this feature.

Partially this feature has already been implemented to be used in the following scenarios,

Solution

@tmkasun
Copy link
Contributor Author

tmkasun commented Apr 1, 2021

Had an offline chat with @sanjeewa-malalgoda @prasa7 @tgtshanika @malinthaprasan @bhathiya
We discussed to :

  • Give the option to add a custom URL as the API endpoint when there are no deployment for the API (Advertised only API)
    • In the above Advertise API UI, Auto-populate the initial API URL from swagger (OAS Servers[0] or Swagger scheme+host+basepath). And user can provide any URL they want here
    • This URL will be saved in the Swagger and while return to the Developer portal when requested (API -> get Swagger)
  • In the Developer portal
    • If there are no deployments (gateways) for the API, API endpoint/URL will be derived from the API definition
    • In case both deployments and can't derive URL from the API definition, The tryout button/option will be removed from the Swagger-UI, Because otherwise if we completely remove the Swagger-UI, Users will not be able to explore the resources properly
  • Need to consider the newly added Importing APIs from AWS Gateway scenario

@nuwand can you please give your opinion on this?

@tmkasun
Copy link
Contributor Author

tmkasun commented Apr 1, 2021

related issues #10700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

6 participants