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:
Luca Frosini 2015-06-25 09:17:03 +00:00
parent 476608814b
commit b9ef37db2b
8 changed files with 10 additions and 10 deletions

View File

@ -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();

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,7 +1,7 @@
/**
*
*/
package org.gcube.accounting.datamodel.implementations.aggregated;
package org.gcube.accounting.datamodel.aggregation;
import org.gcube.accounting.datamodel.BasicUsageRecord;
/*

View File

@ -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;

View File

@ -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;
/**

View File

@ -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;
/**