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:
parent
e199610172
commit
b80b34da8d
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue