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:
parent
c31b08b5b4
commit
7c45f425dc
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue