AGPUSH-980 : Export installation + UI

This PR contains a first version of the export service + UI 
Please note that the import UI is not yet there and will be provided in a separate PR 
screencast : https://www.youtube.com/watch?v=HFXesTHh4PM&feature=youtu.be

For Master only

@edewit @matzew @abstractj  Could you review please ? 
/installations/{variantId}

but, thinking.... why not the other way around ?
`/{variantId}/installations` ?

On Thu, Nov 20, 2014 at 10:39 AM, Sebastien Blanc <notifications@github.com>
wrote:

> In
> jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/ExportEndpoint.java:
>
> > +import javax.ws.rs.GET;
> > +import javax.ws.rs.Path;
> > +import javax.ws.rs.PathParam;
> > +import javax.ws.rs.Produces;
> > +import javax.ws.rs.core.MediaType;
> > +import javax.ws.rs.core.Response;
> > +
> > +@Path("/export")
> > +public class ExportEndpoint extends AbstractBaseEndpoint {
> > +
> > +    /**
> > +     * Endpoint for exporting as JSON file device installations for a given variant.
> > +     * Only Keycloak authneitcated can access it
> > +     */
> > +    @GET
> > +    @Path("/installation/{variantId}")
>
> @matzew <https://github.com/matzew> you mean the {variantId} part ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/aerogear/aerogear-unifiedpush-server/pull/435/files#r20635271>
> .
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf