Difference between revisions of "Accounting Aggregator"

From Gcube Wiki
Jump to: navigation, search
(Accounting Aggregator Maven Coordinates)
(Accounting Aggregator Execution)
Line 10: Line 10:
 
== Accounting Aggregator Execution ==
 
== 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)
+
This component is a [[Smart Executor | SmartExecutor]] plugin and is launched as '''Global Scheduled Task''' (see [[Smart Executor | 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:
 
It aggregates (loseless) accounted Usage Record. The scheduling plan is to run on different smart-executor equipped with this plugin with the following parameters:
Line 18: Line 18:
 
* Monthly (every 1st of the month at 2.00 AM UTC the Records accounted the month before the previous)
 
* 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)
 
* Yearly (every 1st of the month at 2.00 AM UTC the Records accounted 2 months before)
 
  
 
== Accounting Aggregator Maven Coordinates ==
 
== Accounting Aggregator Maven Coordinates ==

Revision as of 11:32, 8 February 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 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>