[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [orion-dev] Rest API for project metadata
|
Hi Christian,
Orion is really only just beginning to establish it's concept of projects. There's so much scope for it. I can see the benefits too, of having REST APIs for the project data - the more easily accessible data, the better, as far as I'm concerned ( my opinion only! ). It'd be exciting to see how projects could scale across applications.
Probably the next steps for projects will be to complete the user interface some more, to make it a good home for the goals of your work when using Orion.
I've filed a bug to track the request/requirement for an API for the project meta-data:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=403228
We'd love it if you helped us define projects more, given your user story. Please think about joining in the development of it. You can contact me or John directly, or join in the weekly Orion call, or bi-weekly User Engagement Hangouts. Event info here: http://wiki.eclipse.org/Orion
Anton
@antonm
"Halstrick, Christian" ---03/13/2013 05:38:51 AM---Hi,
![]()
| ![]()
"Halstrick, Christian" <christian.halstrick@xxxxxxx> |
![]()
| ![]()
Orion developer discussions <orion-dev@xxxxxxxxxxx> |
![]()
| ![]()
03/13/2013 05:38 AM |
![]()
| ![]()
Re: [orion-dev] Rest API for project metadata |
Hi,
Some background about our use case:
In our company we develop web-based RAD tool for mobile applications (a bit similar to http://maqetta.org/). This tool has to persist source artifacts. Ideally it should also allow that multiple developers work on the sources and some backend programmers maybe don’t even use the web-based tools to modify the sources. One idea we had is to integrate Orion & our tool so that our tool could make use of the services Orion offers (e.g. git, workspace, project, preferences, …). E.g. when the user “saves” in our tool the data will be persisted in Orion workspaces and/or git commits. We looked at Orion because it offers REST APIs (giving the option to have a very loose coupling of tools with Orion) and the fact that the OSGI based Orion is relatively easy to run inside our own virgo-based cloud solution. The fact that it is an eclipse project where we know the licenses and have trust that we’ll find an open developer community is also an important point.
It’s not clear how this integration will look like in the end (e.g. a separate Orion server which is only contacted via rest APIs by the backend of our tool OR our tool as a full-fledged plugin in Orion). So we play around with Orion and try to implement some of the persistence tasks of our tool (e.g. persisting a new project with some metadata and files) by using the Orion’s REST APIs. Obviously creating a new project from some template is one of the first steps to do – that’s why I am currently asking about your project APIs.
Ciao
Chris
From: orion-dev-bounces@xxxxxxxxxxx [mailto:orion-dev-bounces@xxxxxxxxxxx] On Behalf Of John Arthorne
Sent: Dienstag, 12. März 2013 17:00
To: Orion developer discussions
Subject: Re: [orion-dev] Rest API for project metadata
Hi Christian,
The short answer is that there is currently no HTTP API for this metadata. It is currently a purely client side concept. Of course it is just json data so you can use the file service to obtain or change the file contents. I don't think the various aspects of the project metadata have been formalized or finalized yet. The "Project URL" is just a project homepage link or the address of the web site you are building. It is used to show a "thumbnail" view of the project.
We would be curious to know your use cases for using this metadata, to help us understand how it should evolve. Can you share any details on what you are looking to do with the metadata and whether you want to extend it.
John
From: "Halstrick, Christian" <christian.halstrick@xxxxxxx>
To: "orion-dev@xxxxxxxxxxx" <orion-dev@xxxxxxxxxxx>,
Date: 03/11/2013 06:31 AM
Subject: [orion-dev] Rest API for project metadata
Sent by: orion-dev-bounces@xxxxxxxxxxx
Hi,
I have questions regarding „projects“ in Orion. I inspected the file “…projectData/project.json” which seems to be written during project creation. Of course I can read this file to get info about all projects. But is there a better way?
- Is there a REST API to list all projects?
- Is there a REST API to get the metadata of a certain project
- Is there a description of the project metadata. E.g. what is the “Project URL” – just an informative URL linking e.g. to some project homepage. Or is this URL further processed in Orion?
Ciao
Chris
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
![GIF image](gifu1hTdVE_hw.gif)
![GIF image](gifYWwsQ0lKgT.gif)