Activity log is re-implemented for dynamic load

* Record filter to return records referred by blueprints
* Common code for activity stream processing is extracted into template

Change-Id: I1d36ba2be3c76fafcf25a09ffbb40cfc083271da
This commit is contained in:
Ilya Shakhat
2013-10-30 19:55:24 +04:00
parent c65cdc7b22
commit a53ed51a6f
12 changed files with 214 additions and 59 deletions

View File

@@ -49,7 +49,7 @@ def log(repo):
record[field] = utils.iso8601_to_timestamp(date)
record['module'] = module
record['id'] = module + ':' + record['name']
record['id'] = utils.get_blueprint_id(module, record['name'])
LOG.debug('New blueprint: %s', record)
yield record