[sonar-dev] Access to controllers or api from widget
I am currently writing a new plugin. I have created a new widget that displays issues with some filters. In Sonar 4.5 I was using "Api.issues.find" method. However, since Sonar 5.0, this API is no more available.
I know there exists a web service for searching issues ("/api/issues/search") but if I want to use it, I have to do AJAX queries to call this web service.
I have several questions :
Is it possible to provide a custom ruby controller/api that will be usable by the widget inside the plugin ?
Is it possible to create a new Java controller inside the plugin (custom RequestHandler) ?
Is it possible to call a Java controller/api directly from ruby template ?