Fixed bug

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153092 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-09-14 10:37:02 +00:00
parent c31b08b5b4
commit 7c45f425dc
2 changed files with 3 additions and 2 deletions

View File

@ -118,9 +118,8 @@ public class Aggregator {
for (ViewRow row : viewResult) {
try {
JsonObject content = row.document().content();
String record = content.toString();
record = record.replace("usageRecordType", "recordType");
// Backup the Record on local file

View File

@ -7,7 +7,9 @@ package org.gcube.accounting.aggregator.aggregation;
public enum DesignID {
accounting_storage("StorageUsageRecordAggregated","all"),
StorageUsageRecord("StorageUsageRecord","all"),
accounting_service("ServiceUsageRecordAggregated","all"),
ServiceUsageRecord("ServiceUsageRecordAggregated","all"),
accounting_portlet("PortletUsageRecordAggregated","all"),
accounting_job("JobUsageRecordAggregated","all"),
accounting_task("TaskUsageRecordAggregated","all");