any ideas on this angular problem?
by Bill Burke
I couldn't get the simple select box [1] example working as-is within
the admin gui. I had to do this:
$scope.selection = {
colors : [
{name:'black', shade:'dark'},
{name:'white', shade:'light'},
{name:'red', shade:'dark'},
{name:'blue', shade:'dark'},
{name:'yellow', shade:'light'}
],
color : null
};
$scope.changeApplication = function() {
console.log('ApplicationListCtrl.changeApplication() - ' +
$scope.selection.color.name);
};
and this:
<select ng-change="changeApplication()" ng-model="color"
ng-options="c.name for c in colors">
If I implemented it the same way as the example, "color" would always
remain 'red'. Any ideas? Maybe I'm losing my mind...
[1] http://code.angularjs.org/1.0.7/docs/api/ng.directive:select
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
10 years, 9 months
need to cache REST calls
by Bill Burke
IMO, the admin UI makes too many REST calls that will make the UI both
slow and increase load on the backend. We should fix this after the 1st
iteration of the admin UI. When the GlblCtrl initializes it should make
one big REST require to down everything that makes sense in the first go
and cache it in a global scope. (i.e. everything but users and
role/scope mappings). UI components should render and link their models
to variables in the global scope. I've already had to do this to make
the realm-switching select box I added work in an integrated fashion.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
10 years, 9 months
social roles
by Bill Burke
Each realm will probably need a set of roles that pertain to social
permissions i.e. : email-request, contacts, etc. We need to compile a
list of them...
We'll then assign scope mappings to registered applications and oauth
clients if social is enabled for the realm.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
10 years, 9 months
Meeting
by Gabriel Cardoso
Hi guys,
you should have received an invitation in Zimbra for a Meeting on Monday. This week I've been working on wireframes for the Admin UI and I want to present them to you, so we can discuss things before going to the visual design.
Bolek has already confirmed. Stian and Bill, does that time work for you?
Gabriel
10 years, 9 months
openshift cartridge vs. saas
by Bill Burke
Having a dedicated openshift cartridge for keycloak would be very cool.
The question is, maybe we should do this instead of a Intranet SaaS?
We could have a demo realm and demo apps, with a read-only admin UI.
Given the rumored clustering problems with openshift maybe this would be
a better approach?
What would be cool about this, is that the user could assign a domain
name to their admin server. Maybe the Keycloak SaaS could turn into
solely a registration page that triggers an openshift provisioning script.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
10 years, 9 months