equal
deleted
inserted
replaced
21 --> |
21 --> |
22 <?xml version="1.0" encoding="utf-8"?> |
22 <?xml version="1.0" encoding="utf-8"?> |
23 <build-status> |
23 <build-status> |
24 <#assign table_info = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader', |
24 <#assign table_info = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader', |
25 "${dbPath}") > |
25 "${dbPath}") > |
26 <#list table_info['jpa']['select p from Priority p'] as priority> |
26 <#assign convertedLogFile = "${logpath}"?replace("\\","/")> |
27 <#assign priority_count = table_info['jpasingle']['select Count(m.id) from MetadataEntry m JOIN m.logFile as l JOIN m.priority as p where LOWER(l.path) like \'%${logpath?lower_case}%\' and UPPER(p.priority) like \'%${priority.priority}%\''][0]> |
27 <#list table_info['jpa']['select p from Severity p'] as severity> |
28 <#if (priority_count >= 0)> |
28 <#assign severity_count = table_info['jpasingle']['select Count(m.id) from MetadataEntry m JOIN m.logFile l where LOWER(l.path)=\'${convertedLogFile?lower_case}\' and m.severityId=${severity.id}'][0]> |
29 <${priority.priority?lower_case} count= "${priority_count}" /> |
29 <#if (severity_count >= 0)> |
|
30 <${severity.severity?lower_case} count="${severity_count}" /> |
30 </#if> |
31 </#if> |
31 </#list> |
32 </#list> |
32 </build-status> |
33 </build-status> |