Question
VirtusaPolaris
IN
Last activity: 28 Oct 2018 1:08 EDT
How can we invoke automated Guardrail score from CI ?
HI,
I am looking for solution to invoke the application Guradrails report from jenkins and break the build if reports cross the threshold.
Do we have any utility / Rest API available to get this report in jenkins.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Anamata
NL
Yes, there is. It's called 'pzGetApplicationQualityDetails'. It's an API call and is part of the PegaUnit framework.
Part of the output is:
<Guardrails>
<Compliancescore>85.00</Compliancescore>
<PercentCompliantrules>80.00</PercentCompliantrules>
</Guardrails>
URL example:
https://<yourdomainname>/prweb/PRRestService/PegaUnit/Pega-Landing-Application/pzGetApplicationQualityDetails?AccessGroup=<accessgroup_with_appropriate_rights>
VirtusaPolaris
IN
Thanks, Michel Kraaij!
Is there any way to get the detailed report like sonar report for Java and dot Net.
Like how many severe errors, warning etc...
TIA.
-
S MANOJ KUMAR REDDY
Anamata
NL
The output above is a partial output. For more application specific info on e.g. Sonar, check out their support site.
VirtusaPolaris
IN
Thanks, Michel Kraaij!
Is there any way to get the detailed report like sonar report for Java and dot Net.
Like how many severe errors, warning etc...
TIA.
Mphasis
IN
Hi Michel,
With which version of prpc is this service available - am trying to call the url for prpc 7.2.2 and the response code is HTTP/1.1 404 Not Found
Url used -
http://<out_domain_name:port>/prweb/PRRestService/PegaUnit/Pega-Landing-Application/pzGetApplicationQualityDetails?<our access group with permissions>
Thanks,
Rohan
Anamata
NL
Hey Rohan,
It's available from PRPC 7.3(.1) and up.
You can verify which PegaUnit API's are available to you by checking the Service Package rule names 'PegaUnit'.
Regards,
Michel Kraaij - van den Berg
Valori ~ Innovation starts with testing
Mphasis
IN