[keycloak-dev] realm import/upload implemented

Stian Thorgersen stian at redhat.com
Thu Dec 19 03:42:32 EST 2013



----- Original Message -----
> From: "Marek Posolda" <mposolda at redhat.com>
> To: "Gabriel Cardoso" <gcardoso at redhat.com>
> Cc: keycloak-dev at lists.jboss.org
> Sent: Thursday, 19 December, 2013 5:50:57 AM
> Subject: Re: [keycloak-dev] realm import/upload implemented
> 
> I wonder if we also want to support export existing realms to JSON file in
> admin console? Might be useful especially for migration between environments
> (from stage to production etc)

+1

> 
> Marek
> 
> On 17.12.2013 17:52, Gabriel Cardoso wrote:
> 
> 
> 
> Please ignore all the other field sets, I just put the "Import Realm"
> fieldset in a page I already had ;)
> 
> Ok, so I will implement the component and put it commented in the code, so
> the feature will keep available until you don't implement the logics for my
> component.
> 
> I'll open a JIRA for that.
> 
> Gabriel
> 
> On Dec 17, 2013, at 2:07 PM, Bill Burke wrote:
> 
> 
> 
> 
> I like your "Import Realm" fieldset. I don't like the other fieldsets
> though. It is *WAY* too much information on the page. I want either to
> import or enter a name of a new realm.
> 
> On 12/16/2013 3:34 PM, Gabriel Cardoso wrote:
> 
> 
> Hi guys,
> 
> 
> 
> 
> 
> I proposed a new design for this component and implemented it in my
> 
> 
> client-side version:
> 
> 
> http://ejsclient-cardosogabriel.rhcloud.com/application-settings.html
> 
> 
> 
> 
> 
> The user will initially see the button (above). After he chooses the
> 
> 
> file, the name of the file is displayed, with an option to change the
> 
> 
> file chosen (below). If he clicks on change, he sees the button again
> 
> 
> (above).
> 
> 
> 
> 
> 
> Since we are not presenting the native input file (it is invisible above
> 
> 
> the button), the name of the file is not displayed after choosing a
> 
> 
> file. So we would have to get this name and "print" it on the screen.
> 
> 
> 
> 
> 
> What do you guys think? Let's go for this solution?
> 
> 
> 
> 
> 
> Gabriel
> 
> 
> 
> 
> 
> On Dec 10, 2013, at 1:42 AM, Gabriel Cardoso wrote:
> 
> 
> 
> 
> 
> 
> 
> Definitely! I'll work on a design for it :)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Dec 7, 2013, at 8:26 AM, Stian Thorgersen wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Nice :)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> It does indeed need some design touches, Gabriel?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ----- Original Message -----
> 
> 
> 
> 
> 
> 
> 
> 
> From: "Bill Burke" < bburke at redhat.com < mailto:bburke at redhat.com >>
> 
> 
> 
> 
> 
> 
> 
> 
> To: keycloak-dev at lists.jboss.org < mailto:keycloak-dev at lists.jboss.org >
> 
> 
> 
> 
> 
> 
> 
> 
> Sent: Friday, 6 December, 2013 11:00:09 PM
> 
> 
> 
> 
> 
> 
> 
> 
> Subject: [keycloak-dev] realm import/upload implemented
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Stian made a great point earlier. "How are you planning to run the
> 
> 
> 
> 
> 
> 
> 
> 
> demo?" Booting up the keycloak server with a System property is, well,
> 
> 
> 
> 
> 
> 
> 
> 
> kinda hacky/lame and not useful beyond demo purposes.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> So...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I implemented realm import, file upload on the "CREATE REALM" page. So,
> 
> 
> 
> 
> 
> 
> 
> 
> on the create realm page, there are 2 fieldsets. One allows you to
> 
> 
> 
> 
> 
> 
> 
> 
> upload a json file, the other allows you to create a realm with a
> 
> 
> 
> 
> 
> 
> 
> 
> specific name. Importing/upload currently brings you to the realm list
> 
> 
> 
> 
> 
> 
> 
> 
> page. I'll fix that to redirect if possible.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This new page may need some design.
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 
> 
> 
> 
> 
> 
> 
> 
> Bill Burke
> 
> 
> 
> 
> 
> 
> 
> 
> JBoss, a division of Red Hat
> 
> 
> 
> 
> 
> 
> 
> 
> http://bill.burkecentral.com < http://bill.burkecentral.com/ >
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> 
> 
> 
> 
> 
> 
> 
> keycloak-dev mailing list
> 
> 
> 
> 
> 
> 
> 
> 
> keycloak-dev at lists.jboss.org < mailto:keycloak-dev at lists.jboss.org >
> 
> 
> 
> 
> 
> 
> 
> 
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> 
> 
> 
> 
> 
> keycloak-dev mailing list
> 
> 
> 
> 
> 
> 
> keycloak-dev at lists.jboss.org < mailto:keycloak-dev at lists.jboss.org >
> 
> 
> 
> 
> 
> 
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 
> 
> 
> 
> Gabriel Cardoso
> 
> 
> 
> 
> GateIn Portal | User Experience Designer
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> 
> 
> 
> keycloak-dev mailing list
> 
> 
> 
> 
> keycloak-dev at lists.jboss.org < mailto:keycloak-dev at lists.jboss.org >
> 
> 
> 
> 
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 
> 
> Gabriel Cardoso
> 
> 
> GateIn Portal | User Experience Designer
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> 
> keycloak-dev mailing list
> 
> 
> keycloak-dev at lists.jboss.org
> 
> 
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> 
> 
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> --
> Gabriel Cardoso
> GateIn Portal | User Experience Designer
> 
> 
> 
> 
> _______________________________________________
> keycloak-dev mailing list keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev


More information about the keycloak-dev mailing list