[
https://issues.apache.org/jira/browse/RAVE-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076174#comment-14076174
]
Matt Franklin commented on RAVE-1113:
-------------------------------------
Can you be sure to detail the information needed from the bootstrap endpoint so
that others in the community can pitch in and help build it?
> Create bootstrap API endpoint specification
> -------------------------------------------
>
> Key: RAVE-1113
> URL: https://issues.apache.org/jira/browse/RAVE-1113
> Project: Rave
> Issue Type: Sub-task
> Components: rave-portal
> Reporter: Jmeas Pls
>
> The Angular app will be entirely managed by, well, Angular. As with most
> client-heavy apps we will need a bootstrapping endpoint that gives all of the
> information necessary for Angular to build out the UI.
> Presently [our API|http://wiki.apache.org/rave/RESTAPI] is structured solely
> around the part of the app that manages gadgets. This isn't too surprising as
> that part of the app is where the bulk of the work on the Angular branch
> involves. But this bootstrapping route is just as important!
> In general, if the user isn't logged in then it might be as small as an
> object saying that they aren't authorized. If they are logged in, then it
> should be the user's info.
> This initial data will be sent back from the server with the initial request,
> as it's used during the app's startup.
> This task will be completed when:
> - The API specification for the Bootstrap route is complete
> - The client responds to an object on the window that represents the
> bootstrap object, redirecting you to login or the home page based on that
> object.
--
This message was sent by Atlassian JIRA
(v6.2#6252)