Fix for Bug #12454 BigG Analytics importer for accounting-dashboard wrong interpretation of ACE VRE accesses

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@171687 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2018-09-26 14:58:07 +00:00
parent 7bcad47ab7
commit 1ba2850a7c
3 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<ReleaseNotes>
<Changeset component="org.gcube.accounting.accounting-dashboard-harvester-se-plugin.1.0.1" date="${buildDate}">
<Change>Fix for Bug #12454 BigG Analytics importer for accounting-dashboard wrong interpretation of ACE VRE accesses</Change>
</Changeset>
<Changeset component="org.gcube.accounting.accounting-dashboard-harvester-se-plugin.1.0.0" date="${buildDate}">
<Change>First Release</Change>
</Changeset>

View File

@ -11,7 +11,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.accounting</groupId>
<artifactId>accounting-dashboard-harvester-se-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<name>Accounting Dashboard Harvester SmartExecutor Plugin</name>
<description>Accounting Dashboard Harvester SmartExecutor Plugin</description>

View File

@ -98,7 +98,7 @@ public class VREAccessesHarvester extends BasicHarvester {
String case2 = lowerCasedContext + "?";
for(VREAccessesReportRow row : vreAccesses) {
String pagePath = row.getPagePath();
if(!pagePath.contains("_redirect=/group")) {
if (!pagePath.contains("_redirect=/group") && !pagePath.contains("workspace")) {
if(pagePath.endsWith(lowerCasedContext)) {
logger.trace("Matched endsWith({}) : {}", lowerCasedContext, pagePath);
measure += row.getVisitNumber();