Implements common logic about updating state in
DataSourceDriver class, and call it in decorator
@check_raw_data_changed_and_update_state in order
to help the subclass datasource drivers to update
self.state automatically when they use the decorator.
Reviewed: https:/ /review. openstack. org/206777 /git.openstack. org/cgit/ openstack/ congress/ commit/ ?id=b50388d38b5 8cf315e41ed2488 6e11ef9a0bfcae
Committed: https:/
Submitter: Jenkins
Branch: master
commit b50388d38b58cf3 15e41ed24886e11 ef9a0bfcae
Author: Rui Chen <email address hidden>
Date: Tue Jul 28 15:58:09 2015 +0800
Add update_state in DataSourceDriver
Implements common logic about updating state in river class, and call it in decorator raw_data_ changed_ and_update_ state in order
DataSourceD
@check_
to help the subclass datasource drivers to update
self.state automatically when they use the decorator.
Change-Id: Ib296ad0f32a2cb 924e27d036eb0e6 44e00bfdc16
Partial-Bug: #1473924