Hi, Simon
My colleague Auke in Rotterdam office want to
create a portlet that displays sonar
statistics on the intranet. He will use the API describe at :
http://docs.codehaus.org/display/SONAR/Web+Service+API.
Currently I am at home and cannot access my MacBook using for development.
So There are something I want to confirm with you:
1. Is our security mechanisim worked/should work for the API as the same way as the GUI? (In the first patch that I sent, I only focus on the GUI part but do not have a api call test)
2. What is the version related to the
http://docs.codehaus.org/display/SONAR/Web+Service+API. Is it 1.11? And do you have a plan to change some of it at 1.12?
3. Could you tell us how about the release date 1.12?
On Tue, Oct 13, 2009 at 3:48 AM, Simon Brandhof
<[hidden email]> wrote:
I think it is a good idea for the design.(with adding the "resource_id" in both tables).
I will try to implement in the comming week then send you a patch.
Great ! Take all the time you need.
Orinally I thought that this part would be added in the Security plugin -- that is the reason I conern with the GUI plug-in way.
But as you said in preivous email about the security plugin, it would be more about the user/group sychronization with LDAP/Jira...etc.
Therefore my qustion is how do the plugin change the User/Group information in the database?
Should we expose the User/Groupd and it's relations table through REST API in sonar core?
I think that security plugins directly access external systems, without using sonar database. There's no need to synchronize it with external referentials. The database is just used by the default mechanism.
Using
Apache KI will probably be a good solution to connect security plugins. I'll have a look at this lib then get back to you. It's not so important for the moment.
Regards,
Simon
--
Kind Regards,
ZigZag Chen
Developer
Finalist IT Group - never stop developing!
Tel/Fax: +86 10 62988420
http://www.finalist.cn