Quantcast

[sonar-dev] Measures alerts in ruby page

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[sonar-dev] Measures alerts in ruby page

Patroklos Papapetrou
Hi guys
Is there any way to get in a widget all project measures with alerts or do I have to iterate through all measures and find out manually the alerts?

Regards
Patroklos
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] Measures alerts in ruby page

Simon Brandhof
Hi Patroklos,

You have to add the SQL condition on ALERT_STATUS IS NOT NULL. It can be also be filtered on ruby objects with something like : measures.select{|m| m.alert_status.present?}

Regards
Simon

On 9 August 2012 09:36, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi guys
Is there any way to get in a widget all project measures with alerts or do I have to iterate through all measures and find out manually the alerts?

Regards
Patroklos



--

Simon BRANDHOF | SonarSource
http://sonarsource.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] Measures alerts in ruby page

Patroklos Papapetrou
Thanks a lot Simon
I prefer the SQL Condition to avoid loading too many records and the filter them :)
Regards
Patroklos

2012/8/10 Simon Brandhof <[hidden email]>
Hi Patroklos,

You have to add the SQL condition on ALERT_STATUS IS NOT NULL. It can be also be filtered on ruby objects with something like : measures.select{|m| m.alert_status.present?}

Regards
Simon


On 9 August 2012 09:36, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi guys
Is there any way to get in a widget all project measures with alerts or do I have to iterate through all measures and find out manually the alerts?

Regards
Patroklos



--

Simon BRANDHOF | SonarSource
http://sonarsource.com


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: [sonar-dev] Measures alerts in ruby page

Tromp, AHMJ (Ad)

Hi Patroklos,

 

You replied to the wrong person J.

 

Best regards,

Ad Tromp       


Van: Papapetrou P.Patroklos [mailto:[hidden email]]
Verzonden: vrijdag 10 augustus 2012 14:11
Aan: [hidden email]
Onderwerp: Re: [sonar-dev] Measures alerts in ruby page

 

Thanks a lot Simon

I prefer the SQL Condition to avoid loading too many records and the filter them :)

Regards

Patroklos

2012/8/10 Simon Brandhof <[hidden email]>

Hi Patroklos,

You have to add the SQL condition on ALERT_STATUS IS NOT NULL. It can be also be filtered on ruby objects with something like : measures.select{|m| m.alert_status.present?}

Regards
Simon

 

On 9 August 2012 09:36, Papapetrou P.Patroklos <[hidden email]> wrote:

Hi guys

Is there any way to get in a widget all project measures with alerts or do I have to iterate through all measures and find out manually the alerts?

 

Regards

Patroklos



--

 

Simon BRANDHOF | SonarSource
http://sonarsource.com

 




De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te 
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit 
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. 
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige 
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij 
overgebrachte virussen.

APG Algemene Pensioen Groep NV is gevestigd te Heerlen en is ingeschreven in het 
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged. 
It may be read, copied and used only by the intended recipient. 
If you have received it in error, please contact the sender immediately by 
return e-mail; please delete in this case the e-mail and do not disclose its 
contents to any person. We don't accept liability for any errors, omissions, 
delays of receipt or viruses in the contents of this message which arise as a 
result of e-mail transmission.

APG Algemene Pensioen Groep NV is registered in the trade register of the Chamber 
of Commerce Limburg, The Netherlands, registration number: 14099617
Loading...