refs #200: Create accouting-lib library

https://support.d4science.org/issues/200
Fixing data model for backward compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115387 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-06-15 13:43:15 +00:00
parent e199610172
commit b80b34da8d
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
package org.gcube.accounting.messaging;
import org.gcube.accounting.datamodel.BasicUsageRecord;
import org.gcube.accounting.datamodel.RawUsageRecord;
import org.gcube.accounting.persistence.Persistence;
/**
@ -19,8 +19,9 @@ public class ResourceAccounting {
}
@Deprecated
public void sendAccountingMessage(BasicUsageRecord message){
public void sendAccountingMessage(RawUsageRecord message){
persistence.account(message);
}
}