Accounting Aggregator

From Gcube Wiki
Revision as of 11:32, 8 February 2016 by Luca.frosini (Talk | contribs) (Accounting Aggregator Execution)

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 SmartExecutor plugin and is launched as Global Scheduled Task (see SmartExecutor 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-se-plugin</artifactId>

  • Persistence Connectors:
    • CouchDB

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

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