Anypoint API Manager (API Manager) is a component of Anypoint Platform that enables you to manage, govern, and secure APIs usually running on mule runtime engine. However, there might be a use case where non-mule APIs needs to be managed using API manager for example, say in a organization, mule is a chosen public interfacing platform however, there is non-mule API that needs to be exposed to external partner. In such a scenario, a non-mule API can be securely made available to external partner via API manager only with a click of few buttons.
If non-mule API to be managed is HTTPs and keystore and trust store needs to be configured, first configure TLS context in Mule secret manager.
From API manager UI, click manage API -> Create new API.
Give API name, select Asset Types as HTTP API and click continue.
On the next page, select the option Endpoint with Proxy and in implementation URL tab, give the URL of non-mule API. In Add TLS context, select the TLS context configured in Mule Secret Manager and click save.
Select run time version, give Mule proxy API a name and click deploy.
This way in matters of few clicks, you can create proxy mule application and deploy in runtime manager that can interface with non-mule application. If you want to mage any changes in mule proxy app for example adding additional logging or error handling, you can download the proxy, make changes and deploy again in runtime manager.