Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358817

Summary: Dependencies on Orion Server-side plugins
Product: [ECD] Orion Reporter: Pradyut Sarma <pradyutksarma>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3    
Version: 0.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Pradyut Sarma CLA 2011-09-25 07:48:24 EDT
Hi,

Orion contains a number of server side plugins which provide certain APIs related to workspace, file, authentication etc. An example of such a plugin is org.eclipse.orion.server.authentication.form.core which contain certain authentication related services.
The query here is, Is it ok to depend on these plugins and consume these APIs. An example of an API that we want to use is the "FormAuthHelper#getAuthenticatedUser(HTTPRequest)" which returns the logged in user from the session. There are other such APIs that we would want to depend on. I could not find any documentation related to the consumption of such APIs. Hence, I have raised this issue to clarify this?

Thanks and Regards,
Pradyut.
Comment 1 John Arthorne CLA 2011-09-27 09:32:40 EDT
None of the server Java code should be considered API. See some discussion of this here:

http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Architecture#Example_server

The only server API we are aiming to create is the HTTP API. Even the fact that the server is written in Java could possibly change to another language.

So, you can build dependencies on the server Java code with the usual caveat: any of the code is subject to change from build to build and release to release.
Comment 2 John Arthorne CLA 2015-05-05 14:50:42 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html