Report company-affiliation-changes

Implemented report company-affiliation-changes.
The report shows affiliation changes of users given in default_data.json.
The report shows affiliation changes between certain start-date and end-date.
The result are given in table.

Change-Id: I6ed448448672b5dda9c58d8fe20f1cf04cb0d669
Implements: blueprint company-affiliation-changes
This commit is contained in:
pkholkin
2014-11-26 14:44:05 +04:00
parent 5a4096af11
commit 26302fa9fa
7 changed files with 238 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ def get_default(param_name):
if 'release' not in DEFAULTS:
release = cfg.CONF.default_release
if not release:
runtime_storage_inst = vault.get_vault()['runtime_storage']
runtime_storage_inst = vault.get_runtime_storage()
releases = runtime_storage_inst.get_by_key('releases')
if releases:
release = releases[-1]['release_name']