aerogearcatalog / unifiedpush-apb

Apache License 2.0
6 stars 21 forks source link

Make use of bindings limit #68

Closed aliok closed 6 years ago

aliok commented 6 years ago

In MAR view on OpenShift web console, we didn't see the "Create Binding" button when there was a binding created already. But, the console's code is able to use a parameter from the APB, bindingsLimit.

It will keep showing that button until there are number of bindings defined with that parameter.

See the screenshot:

screenshot from 2018-06-07 00-18-24

If you want to verify this change,

pb82 commented 6 years ago

@aliok Is this limit per mobile client or total? Because while we allow only two variants per client (one android, one iOS) there could still be multiple clients.

aliok commented 6 years ago

It is per client @pb82. Precisely, per client per service :) That means, for UPS service, there can be max 2 bindings per client. For Keycloak, the number could be different.