...
Java 8
Druid DB & Postgres DB should be up and running
Features
Fiscal event aggregator gets the fiscal event data from Druid DB based on fiscal periods and configured department hierarchy level. Currently, It pulls the fiscal event data by hard coded fiscal period and supported department hierarchy level in Druid DB. -Event-Aggregator computes the aggregate of data over a selected time period. Aggregator will apply the time range filter according to the following approach :
Fiscal periods will be picked up as per the current system time. Current year will be the current fiscal period starting from 1st of April of current year to 31st March of (current year+1). And it will also aggregate the data of one previous fiscal year starting from 1st of April of (current year -1) to 31st March of current year.
As per the fiscal time periods, Below steps are there to aggregate the final fiscal event data :
Group the sum of amount based on project id, COA(chart of account) id, and event type.
Difference of sum of amount of "DEMAND" and "RECEIPT" event type with respect to distinct project id.
Difference of sum of amount of "BILL" and "PAYMENT" event type with respect to distinct project id.
...
Key | Value | Description |
---|---|---|
|
| This is hardcoded value And won’t change w.r.t environment. And It depends upon the druid broker’s protocol that is getting used to connect. |
|
| This is hardcoded value And won’t change w.r.t environment. It depends upon the druid broker protocol that we are using and corresponding port of that druid broker protocol. |
|
| this is kept under |
|
| This is the data Source present in Druid DB. It will same as it defined in Druid DB. |
Interaction diagram
...
Configuration
Update all the configuration in the dev.yaml, qa.yml, prod.yaml file.
...