Luca Frosini 2018-05-18 17:12:46 +00:00
parent 0bf82648db
commit 085ab9e9c2
3 changed files with 5 additions and 6 deletions

View File

@ -32,7 +32,7 @@ public class MethodInvocationHarvester extends BasicHarvester {
private static Logger logger = LoggerFactory.getLogger(MethodInvocationHarvester.class);
public static final String DATAMINER_SERVICE_NAME = "dataminer";
public static final String DATAMINER_SERVICE_NAME = "DataMiner";
public MethodInvocationHarvester(Date start, Date end) throws ParseException {
super(start, end);
@ -74,7 +74,6 @@ public class MethodInvocationHarvester extends BasicHarvester {
HarvestedData harvestedData = new HarvestedData(HarvestedData.METHOD_INVOCATIONS, context,
numberOfInvocation);
data.add(harvestedData);
}
} else {

View File

@ -57,7 +57,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
public void testMethodInvocation() {
try {
org.gcube.dataharvest.utils.Utils.setContext(TAGME);
org.gcube.dataharvest.utils.Utils.setContext(StockAssessment);
MeasureType measureType = MeasureType.MONTHLY;

View File

@ -46,8 +46,8 @@ public class ContextTest {
public static final String TAGME_VARNAME = "TAGME_ERIC";
public static final String TAGME;
public static final String RPrototypingLab_VARNAME = "RPrototypingLab";
public static final String RPrototypingLab;
public static final String StockAssessment_VARNAME = "StockAssessment";
public static final String StockAssessment;
static {
@ -76,7 +76,7 @@ public class ContextTest {
TAGME = properties.getProperty(TAGME_VARNAME);
RPrototypingLab = properties.getProperty(RPrototypingLab_VARNAME);
StockAssessment = properties.getProperty(StockAssessment_VARNAME);
DEFAULT_TEST_SCOPE = GCUBE;
}