commit 9a9752e50a38e741a849b36cb4e7c882d599774f
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Aug 14 13:53:22 2014 +0100
Remove objectify decorator from dbapi's {get, register}_conductor()
This patch removes the objectify decorator from the get_conductor and
register_conductor dbapi's methods.
For get_condutor() method there's an objects interface to it so this patch
make the code/tests use the object interface vs direct calls to dbapi.
The problem with the objectify decorator is that dbapi methods
doesn't get the context, so when forming the RPC object using the
decorator we can't store the context within the object (which is what
we want to do to have consistent object interfaces).
Reviewed: https:/ /review. openstack. org/114242 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=9a9752e50a3 8e741a849b36cb4 e7c882d599774f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a9752e50a38e74 1a849b36cb4e7c8 82d599774f
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Aug 14 13:53:22 2014 +0100
Remove objectify decorator from dbapi's {get, register} _conductor( )
This patch removes the objectify decorator from the get_conductor and conductor dbapi's methods.
register_
For get_condutor() method there's an objects interface to it so this patch
make the code/tests use the object interface vs direct calls to dbapi.
The problem with the objectify decorator is that dbapi methods
doesn't get the context, so when forming the RPC object using the
decorator we can't store the context within the object (which is what
we want to do to have consistent object interfaces).
Partial-Bug: 1314732 277f3bbff2c02c0 7dd1a4c1d66
Change-Id: I1a955a59435b35