The APIs are retrieved using the Solr based indexing in APIM. Therefore, the main reason for this behavior is that a fresh pack doesn't have existing Solr data and it takes some time to complete the indexing. Until that indexing process is completed, it will not show API in the Store instantly.
To address this, you can follow one of the below approaches:
1). Backup existing Solr data (APIM_HOME/solr/data) from the existing deployment and added it to newly created pack.
2). Externalize Solr data directory. Solr data stored location can be configured via core.properties file located in the APIM_HOME/repository/conf/solr/registry-indexing directory. So you can update core.properties to store Solr data outside the product directory.
No comments:
Post a Comment