refs #200: Create accouting-lib library
https://support.d4science.org/issues/200 Implementing Aggregation Strategy git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115522 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
476608814b
commit
b9ef37db2b
|
@ -399,7 +399,7 @@ public abstract class BasicUsageRecord implements UsageRecord, Serializable {
|
|||
|
||||
Class<? extends UsageRecord> utilityClass = org.gcube.accounting.datamodel.implementations.JobUsageRecord.class;
|
||||
if(aggregated){
|
||||
utilityClass = org.gcube.accounting.datamodel.implementations.aggregated.JobUsageRecord.class;
|
||||
utilityClass = org.gcube.accounting.datamodel.aggregation.JobUsageRecord.class;
|
||||
}
|
||||
|
||||
String classCanonicalName = utilityClass.getCanonicalName();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||
package org.gcube.accounting.datamodel.aggregation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||
package org.gcube.accounting.datamodel.aggregation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||
package org.gcube.accounting.datamodel.aggregation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Calendar;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||
package org.gcube.accounting.datamodel.aggregation;
|
||||
|
||||
import org.gcube.accounting.datamodel.BasicUsageRecord;
|
||||
/*
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||
package org.gcube.accounting.datamodel.aggregation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
|
@ -1,10 +1,10 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregationstrategy;
|
||||
package org.gcube.accounting.datamodel.aggregation.aggregationstrategy;
|
||||
|
||||
import org.gcube.accounting.datamodel.AggregationStrategy;
|
||||
import org.gcube.accounting.datamodel.implementations.aggregated.ServiceUsageRecord;
|
||||
import org.gcube.accounting.datamodel.aggregation.ServiceUsageRecord;
|
||||
import org.gcube.accounting.exception.NotAggregatableRecordsExceptions;
|
||||
|
||||
/**
|
|
@ -1,10 +1,10 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.accounting.datamodel.implementations.aggregationstrategy;
|
||||
package org.gcube.accounting.datamodel.aggregation.aggregationstrategy;
|
||||
|
||||
import org.gcube.accounting.datamodel.AggregationStrategy;
|
||||
import org.gcube.accounting.datamodel.implementations.aggregated.StorageUsageRecord;
|
||||
import org.gcube.accounting.datamodel.aggregation.StorageUsageRecord;
|
||||
import org.gcube.accounting.exception.NotAggregatableRecordsExceptions;
|
||||
|
||||
/**
|
Loading…
Reference in New Issue