问题
The dilemma we face with API Management is being able to deploy the custom Developer Portal (customized through the APIM publisher portal UI) changes to each different environment (QA and PROD) without requiring manual configuration for each of those environments. Is this possible? The only way I can think of making this possible is through a REST API in the Publisher Portal for managing developer portal configurations. Is there a REST API for this? And if not, are there near term plans for this?
In the screenshot below, it would be ideal if the bottom UI configuration processes could be automated somehow:
回答1:
There is no API present at the moment to control these options. You best bet is git integration, but that might not be quite convenient.
回答2:
Yes, you can show the Iframe on the developer portal and that Iframe can be deployed on the azure and that page you can write your logic.
I did it one of the portals but there is only one problem the design problem and also the authentication problem you have to authenticate service every time you open the IFrame.
回答3:
Git configuration is the only option but it doesn’t cover artifacts which created via CMS UI, the static content like such as welcome page, etc.
FYI, And the Git base solution requires that the instance becomes read-only (or locked to a single-user) during operation.
Please vote this wish in APIM
来源:https://stackoverflow.com/questions/44109232/is-it-possible-to-automate-customization-of-the-developer-portal-in-azure-api