Difference between revisions of "Accounting Aggregator"

From Gcube Wiki
Jump to: navigation, search
(How to manage calledMethod lead to ServiceUsageRecord can not be aggregated)
Line 23: Line 23:
  
  
== How to manage calledMethod lead to ServiceUsageRecord can not be aggregated  ==
+
== How to manage calledMethod lead to ServiceUsageRecord cannot be aggregated  ==
  
 
RESTFull (and RESt-like) services contain the ID of the managed resource inside the path of the URL. Smartgears auto calculate '''calledMethod''' by using the relative path of the URL.
 
RESTFull (and RESt-like) services contain the ID of the managed resource inside the path of the URL. Smartgears auto calculate '''calledMethod''' by using the relative path of the URL.
This lead to have ServiceUsageRecord can not be aggregated.
+
This lead to have ServiceUsageRecord cannot be aggregated.

Revision as of 11:12, 2 January 2018

This component is responsible of aggregating the collected Accounting data.

Accounting Aggregator in the Accounting Architecture

The following image evidences the accounting-aggregator components as part of Accounting Architecture:

Accounting-architecture-accounting-aggregator.png

Accounting Aggregator Execution

This component is a Smart Executor plugin and is launched as Global Scheduled Task (see Smart Executor for further information)

It aggregates (lossless) accounted Usage Record. The scheduling plan is to run on different smart-executor equipped with this plugin with the following parameters:

  • Hourly => accounting records per hour are available for the past week;
  • Daily => accounting records per day are available for the past 3 months;
  • Monthly => accounting records per month are available for the past 3 years;
  • Yearly => accounting records per year are available for the past 10 years;


How to manage calledMethod lead to ServiceUsageRecord cannot be aggregated

RESTFull (and RESt-like) services contain the ID of the managed resource inside the path of the URL. Smartgears auto calculate calledMethod by using the relative path of the URL. This lead to have ServiceUsageRecord cannot be aggregated.