git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@167632 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0bf82648db
commit
085ab9e9c2
|
@ -32,7 +32,7 @@ public class MethodInvocationHarvester extends BasicHarvester {
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory.getLogger(MethodInvocationHarvester.class);
|
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 {
|
public MethodInvocationHarvester(Date start, Date end) throws ParseException {
|
||||||
super(start, end);
|
super(start, end);
|
||||||
|
@ -74,7 +74,6 @@ public class MethodInvocationHarvester extends BasicHarvester {
|
||||||
HarvestedData harvestedData = new HarvestedData(HarvestedData.METHOD_INVOCATIONS, context,
|
HarvestedData harvestedData = new HarvestedData(HarvestedData.METHOD_INVOCATIONS, context,
|
||||||
numberOfInvocation);
|
numberOfInvocation);
|
||||||
data.add(harvestedData);
|
data.add(harvestedData);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
||||||
public void testMethodInvocation() {
|
public void testMethodInvocation() {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
org.gcube.dataharvest.utils.Utils.setContext(TAGME);
|
org.gcube.dataharvest.utils.Utils.setContext(StockAssessment);
|
||||||
|
|
||||||
MeasureType measureType = MeasureType.MONTHLY;
|
MeasureType measureType = MeasureType.MONTHLY;
|
||||||
|
|
||||||
|
|
|
@ -46,8 +46,8 @@ public class ContextTest {
|
||||||
public static final String TAGME_VARNAME = "TAGME_ERIC";
|
public static final String TAGME_VARNAME = "TAGME_ERIC";
|
||||||
public static final String TAGME;
|
public static final String TAGME;
|
||||||
|
|
||||||
public static final String RPrototypingLab_VARNAME = "RPrototypingLab";
|
public static final String StockAssessment_VARNAME = "StockAssessment";
|
||||||
public static final String RPrototypingLab;
|
public static final String StockAssessment;
|
||||||
|
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -76,7 +76,7 @@ public class ContextTest {
|
||||||
|
|
||||||
TAGME = properties.getProperty(TAGME_VARNAME);
|
TAGME = properties.getProperty(TAGME_VARNAME);
|
||||||
|
|
||||||
RPrototypingLab = properties.getProperty(RPrototypingLab_VARNAME);
|
StockAssessment = properties.getProperty(StockAssessment_VARNAME);
|
||||||
|
|
||||||
DEFAULT_TEST_SCOPE = GCUBE;
|
DEFAULT_TEST_SCOPE = GCUBE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue