| In the MDC project, we update the app's status to list all the services on app binding. The way it works it that 1. On app start, we list and watch all the secrets in the namespace, see: https://github.com/aerogear/mobile-developer-console/blob/master/cmd/api-server/main.go#L115-L118 2. Every time when there is a change in the secrets, we will go through them, find the ones we need and update the app's status. see: https://github.com/aerogear/mobile-developer-console/blob/master/pkg/stub/secretsChangeHandler.go#L10 I think the same pattern can be used for this project as well. All you need is to change the login to create the app in the db instead when there is a new binding. |