refs #200: Create accouting-lib library

https://support.d4science.org/issues/200
Reorganizing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115750 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-07-01 10:34:48 +00:00
parent 0fc7e853c0
commit 1fb0b7b3aa
5 changed files with 5 additions and 4 deletions

View File

@ -78,7 +78,7 @@ public abstract class AggregationScheduler {
Class<? extends AggregationStrategy> clz;
String aggregationStrategyName;
try {
Package aggregationStrategyPackage = org.gcube.accounting.aggregation.aggregationstrategy.ServiceUsageRecordAggregationStrategy.class.getPackage();
Package aggregationStrategyPackage = org.gcube.accounting.aggregation.strategy.ServiceUsageRecordAggregationStrategy.class.getPackage();
aggregationStrategyName = String.format("%s.%s%s", aggregationStrategyPackage.getName(), usageRecordName, AggregationStrategy.class.getSimpleName());
clz = (Class<? extends AggregationStrategy>) Class.forName(aggregationStrategyName);
} catch (Exception e) {

View File

@ -1,7 +1,7 @@
/**
*
*/
package org.gcube.accounting.aggregation.aggregationstrategy;
package org.gcube.accounting.aggregation.strategy;
import org.gcube.accounting.aggregation.ServiceUsageRecord;
import org.gcube.accounting.datamodel.AggregationStrategy;

View File

@ -1,7 +1,7 @@
/**
*
*/
package org.gcube.accounting.aggregation.aggregationstrategy;
package org.gcube.accounting.aggregation.strategy;
import org.gcube.accounting.aggregation.StorageUsageRecord;
import org.gcube.accounting.datamodel.AggregationStrategy;

View File

@ -3,6 +3,7 @@
*/
package org.gcube.accounting.aggregation.aggregationstrategy;
import org.gcube.accounting.aggregation.strategy.ServiceUsageRecordAggregationStrategy;
import org.gcube.accounting.datamodel.TestUsageRecord;
import org.gcube.accounting.datamodel.usagerecord.ServiceUsageRecord;
import org.gcube.accounting.exception.InvalidValueException;

View File

@ -3,7 +3,7 @@
*/
package org.gcube.accounting.aggregation.aggregationstrategy;
import org.gcube.accounting.aggregation.aggregationstrategy.StorageUsageRecordAggregationStrategy;
import org.gcube.accounting.aggregation.strategy.StorageUsageRecordAggregationStrategy;
import org.gcube.accounting.datamodel.TestUsageRecord;
import org.gcube.accounting.datamodel.usagerecord.StorageUsageRecord;
import org.gcube.accounting.exception.InvalidValueException;