Difference between revisions of "Accounting Aggregator"
From Gcube Wiki
Luca.frosini (Talk | contribs) (→Accounting Aggregator Maven Coordinates) |
(→Accounting Aggregator Execution) |
||
Line 14: | Line 14: | ||
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: | ||
− | * Daily (every | + | * Daily (every Sunday of Week K at 02:00 AM UTC it aggregates all the Records accounted the Week K-1) => accounting records per hour are available for at least the latest week but not more than two weeks |
− | * Weekly (every Wednesday at 2.00 AM UTC the Records accounted the | + | * Weekly (every first Wednesday at 2.00 AM UTC of Month M it aggregates all the Records accounted the Month M-3 (monday->sunday) ) => accounting records per day are available for at least the two latest months but not more than three months |
− | * Monthly (every 1st of the | + | * Monthly (every 1st of the Month H at 2.00 AM UTC it aggregates all the Records accounted till the Month H-6) => accounting records per week are available for at least the latest 6 months but not more than seven months |
− | * Yearly (every | + | * Yearly (every 2nd of the month at 2.00 AM UTC it aggregates all the Records accounted till the Month H-24 )=> accounting records per month are available for at least the latest 2 years |
Revision as of 13:19, 1 June 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 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 Sunday of Week K at 02:00 AM UTC it aggregates all the Records accounted the Week K-1) => accounting records per hour are available for at least the latest week but not more than two weeks
- Weekly (every first Wednesday at 2.00 AM UTC of Month M it aggregates all the Records accounted the Month M-3 (monday->sunday) ) => accounting records per day are available for at least the two latest months but not more than three months
- Monthly (every 1st of the Month H at 2.00 AM UTC it aggregates all the Records accounted till the Month H-6) => accounting records per week are available for at least the latest 6 months but not more than seven months
- Yearly (every 2nd of the month at 2.00 AM UTC it aggregates all the Records accounted till the Month H-24 )=> accounting records per month are available for at least the latest 2 years