forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KZOO-11: Audit Summary Enhancements (2600hz#6161)
1. Change`../audit_summary` path spec to conform to convention `../audit/summary` 1. Updated API docs for new path spec. 1. Added `kazoo_yodb` modules for year only databases to store service audits 1. Updated `kz_services.erl` to log quantity changes to reseller YODB ``` "data": [ { "account": { "2019-12-05": { "addition": 1, "last_timestamp": 63742805754, "quantity": 2, "removal": 0, "sum_quantity": false }, "2019-12-09": { "addition": 1, "last_timestamp": 63743140658, "quantity": 2, "removal": 1, "sum_quantity": false } }, "mailbox": { "2019-12-09": { "addition": 3, "last_timestamp": 63743140695, "quantity": 3, "removal": 0, "sum_quantity": false } }, "softphone": { "2019-12-09": { "addition": 1, "last_timestamp": 63743140580, "quantity": 3, "removal": 0, "sum_quantity": false } }, "user": { "2019-12-09": { "addition": 1, "last_timestamp": 63743140695, "quantity": 2, "removal": 0, "sum_quantity": false } } } ], ``` ``` "data": [ { "2019-12-09": { "addition": 1, "last_timestamp": 63743140658, "quantity": 2, "removal": 1, "sum_quantity": false } }, { "2019-12-05": { "addition": 1, "last_timestamp": 63742805754, "quantity": 2, "removal": 0, "sum_quantity": false } } ], ```
- Loading branch information
1 parent
e29ef15
commit d73820e
Showing
40 changed files
with
2,086 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
applications/crossbar/priv/couchdb/schemas/system_config.yodb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"_id": "system_config.yodb", | ||
"description": "Schema for yodb system_config", | ||
"properties": { | ||
"active_yodbs": { | ||
"default": 6, | ||
"description": "yodb active_yodbs", | ||
"type": "integer" | ||
}, | ||
"routines": { | ||
"default": [], | ||
"description": "yodb routines", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.