Purpose
To publish APIs to multiple tenants which are defined via a config inside webapp-publisher-config.xml file.
Approach
- Updated the WebappPublisherConfig.java file to read additional config for the tenant which the APIs should be published for.
- Modified the logic inside the APIPublisherServiceImpl class to read the above-defined configs and publish them to relevant tenants.
- Update the webapp-publisher-config.xml.j2 to fetch config from deployment.toml and patch it inside webapp-publisher-config.xml file.