I configured API Manager 2.0.0 and the Analytics Pack API to use MySQL databases.
For each server, there is WSO2AM_STATS_DB. I gave these different names on my MySQL server. I also pointed my data sources in master-datasources.xml (for APIM) and stats-datasources.xml (for Analytics) to the corresponding databases.
I could not find the appropriate dbscripts for these databases in their respective packages.
When launched, the Google Analytics database is populated, but the APIM database is not and throws an exception. The Analytics database not only receives the schema, but also information about calling my API. However, I cannot get statistics on my toolbar.
Earlier, I (involuntarily) configured the h2-repository statistics database to be the same for both servers (due to the folder structure) and was able to get all the statistics on my panel in the publisher.
Other configurations I tried: On the MySQL server, I pointed it to the same database (one of them is the Google Analytics schema), but without results in my dashboard (after some time out).
Jaden source
share