Accounting Aggregator

From Gcube Wiki
Revision as of 15:51, 29 January 2016 by Luca.frosini (Talk | contribs) (Accounting Aggregator Maven Coordinates)

Jump to: navigation, search

This component is responsible of aggregating the collected Accounting data. PLEASE NOTE THAT THIS COMPONENT IS NOT READY YET. IT IS STILL UNDER DEVELOPEMENT.

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 (loseless) accounted Usage Record. The scheduling plan is to run on different smart-executor equipped with this plugin with the following parameters:

  • Daily (every day at 02:00 AM UTC the Records accounted the day before the previous day)
  • Weekly (every Wednesday at 2.00 AM UTC the Records accounted the previous week (monday->sunday) )
  • Monthly (every 1st of the month at 2.00 AM UTC the Records accounted the month before the previous)
  • Yearly (every 1st of the month at 2.00 AM UTC the Records accounted 2 months before)


Accounting Aggregator Maven Coordinates

  • Accounting Aggregator (Smart Executor Plugin)

<groupId>org.gcube.accounting</groupId>

<artifactId>accounting-aggregator</artifactId>

  • Persistence Connectors:
    • CouchDB

<groupId>org.gcube.accounting</groupId>

<artifactId>accounting-aggregator-persistence-couchdb</artifactId>