Is your Gateway also configured to use MySQL?  The Manager and Gateway layers can have different storage mechanisms.  For example, one can use SQL and the other can use Elasticsearch.  If the gateway is not configured to use some sort of external persistence storage, then every time the docker image is restarted you will lose all of your published APIs.  It is possible that is what's happening here.

On Fri, Mar 1, 2019 at 8:32 AM Shubham Navale <navaleshubham2410@gmail.com> wrote:
So, I am using apiman 1.5.1 which is using MYSQL 8 as a database, along with external keycloak with client status public. The whole thing is running in docker. So, I have configured the gateway in apiman. And registered some apis. Now when I restart my docker of apiman, the gateway resets itself to its old setting. So, I reconfigured the gateway with my settings. But now when I am trying to retire my registered apis, it's throwing me some error. 

Error:- https://gist.github.com/ElavanResu/985ff4349ae81888581d320eb17e1f88
_______________________________________________
Apiman-user mailing list
Apiman-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user