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:
Luca Frosini 2017-09-13 15:14:16 +00:00
parent 9b6e841b37
commit 5abbf6c4c3
1 changed files with 1 additions and 1 deletions

View File

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