[OPNFLWPLUG-655] writeToTransaction+submitTransaction in Services (remove dependency on DeviceContext) Created: 23/Mar/16  Updated: 27/Sep/21  Resolved: 23/Jun/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jozef Slezák Assignee: Jozef Slezák
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5590

 Description   

Extract interface TxFacade from DeviceContext methods submitTransaction, writeToTransaction, addDeleteToTxChain getReadTransaction() to TxFacade.
Change declaration of DeviceContext to extend TxFacade.

Add field TxFacade txFacade for these classes and stop using getDeviceContext():
a/ org.opendaylight.openflowplugin.impl.services.SalTableServiceImpl
b/ org.opendaylight.openflowplugin.impl.services.MultipartRequestOnTheFlyCallback



 Comments   
Comment by Tomas Slusny [ 30/Mar/16 ]

Gerrit: https://git.opendaylight.org/gerrit/#/c/36878/

Comment by Jozef Bacigal [ 31/Mar/16 ]

Jozef are you sure the field name should be "txFacade" ?

Generated at Wed Feb 07 20:33:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.