Difference between revisions of "Accounting Aggregator"

From Gcube Wiki
Jump to: navigation, search
Line 1: Line 1:
 
This component is responsible of aggregating the collected '''Accounting''' data.
 
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 Aggregagtor in the Accounting Architecture ==
+
== Accounting Aggregator in the Accounting Architecture ==
  
 
The following image evidences the accounting-aggregator components as part of [[Accounting | Accounting Architecture]]:
 
The following image evidences the accounting-aggregator components as part of [[Accounting | Accounting Architecture]]:
  
 
[[File:Accounting-architecture-accounting-aggregator.png]]
 
[[File:Accounting-architecture-accounting-aggregator.png]]
 +
 +
== Accounting Aggregator Execution ==
 +
 +
This component is a [[Smart Executor | Smart Executor]] plugin and is launched as '''Global Scheduled Task''' (see [[Smart Executor | 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 ==
 +
 +
* 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>''

Revision as of 16:51, 29 January 2016

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

  • 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>