Added patch to support old model which uses usageRecordType instead recortType field.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153071 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9b6e841b37
commit
5abbf6c4c3
|
@ -119,7 +119,7 @@ public class Aggregator {
|
|||
try {
|
||||
String record = row.document().content().toString();
|
||||
|
||||
record.replace("usageRecordType", "recordType");
|
||||
record = record.replace("usageRecordType", "recordType");
|
||||
|
||||
// Backup the Record on local file
|
||||
Utility.printLine(originalRecordsbackupFile, record);
|
||||
|
|
Loading…
Reference in New Issue