Open a-tan opened 5 years ago
Hello, I manage a development team and have an interest in this proposed functionality. I would like to put some of my team to develop this functionality. We have our APIs exposed in the São Paulo / Brazil region and for reasons of dependence on Cognito (not available in São Paulo) Developer Portal is deployed in the North Virginia region. I understand being more productive if someone who knows the architecture of the Portal deeply can give us guidance. In this way I understand that it can be more easily incorporated into the official project. Would it be possible?
Hey! Sorry for the delay on responding to this. This functionality (a dev portal in one region that could interact with API gateway APIs in many regions) would require a number of changes:
BackendLambdaExecutionRole
) would need to be expanded for all the regions the APIs are published in. Since this would likely require iterating (e.g., for each region in a stack parameter, make a permission), you'd need to add either a macro or a custom resource to the stack that can modify that IAM role.DevPortalLambdaFunction
) would need to take in as a property and environment variable the list of regions that are used and make calls against API Gateway in all of those regions (for things like usage plans, apis, api key, etc.) instead of just the region it exists in.CatalogUpdaterLambdaFunction
) to allow it to take the list of regions and make calls to those regions' API Gateway.I may have missed some details, but I believe that's the bulk of the work.
Thank you very much. I really need this and I'm going to put some people on my team to make this happen. Very cool to be able to help with this project. All the best, Antonio
I wanted to follow up on this feature and any updates that can be shared.
Hi. Just wanted to follow up on the status of this project
Hello. Interested on the status too
Admin can publish APIs hosted in API Gateway from different regions on to one Dev Portal. These "out of region" APIs have the same support and capabilities as a normal "in the region" API. For example, customers of the Dev Portal can get an API key, associate it with a usage plan, and monitor usage.