Common-accounting ABANDONED
Scope
This library abstracts the underlying messaging infrastructure in order to provide some facilities both for the services and for the accounting system (i.e. Usage Tracker). The common-accounting-lib allows the services to send the accounting records on the broker and allows the accounting system to receive these messages. In our enviroment, the broker is represented by ActiveMQ, which is already replicated with some failover endpoints, in order to increase fault tolerance and scalability. Each infrastructure instance (such as dev, testing and production) has a running instance, that is related to the scope of the infrastructure. This behavior needs to be mirrored even on the accounting library.
Design and implementation notes
The "common-accounting" library contains the resource accounting data-model (common-accounting-model), a producer to publish accounting data on the messaging broker and a consumer to retrieve them.
Usage
To do