Integrated VREAccessesHarvester
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@169205 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4b4009d99b
commit
248bb98b88
|
@ -184,11 +184,9 @@ public class AccountingDataHarvesterPlugin extends Plugin<DataHarvestPluginDecla
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if(scopeBean.is(Type.VRE)) {
|
// Collecting Google Analytics Data for VREs Accesses
|
||||||
// Collecting Google Analytics Data for VREs Accesses
|
List<HarvestedData> harvested = vreAccessesHarvester.getData();
|
||||||
List<HarvestedData> harvested = vreAccessesHarvester.getData();
|
data.addAll(harvested);
|
||||||
data.addAll(harvested);
|
|
||||||
}
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
logger.error("Error harvesting Social Interactions for {}", context, e);
|
logger.error("Error harvesting Social Interactions for {}", context, e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,11 +147,9 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if(scopeBean.is(Type.VRE)) {
|
// Collecting Google Analytics Data for VREs Accesses
|
||||||
// Collecting Google Analytics Data for VREs Accesses
|
List<HarvestedData> harvested = vreAccessesHarvester.getData();
|
||||||
List<HarvestedData> harvested = vreAccessesHarvester.getData();
|
data.addAll(harvested);
|
||||||
data.addAll(harvested);
|
|
||||||
}
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
logger.error("Error harvesting Social Interactions for {}", context, e);
|
logger.error("Error harvesting Social Interactions for {}", context, e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue