Forum Discussion
MarkM_63051
Nimbostratus
Jan 16, 2012General Rollback Question
Hello,
I have a general question about the proper way to rollback incomplete API calls. I have written code that performs the following series of API calls:
* Create virtual server
* Create empty pool
* Create rule for the pool
* Add the rule to the virtual server
* Create a monitor association for the pool
* Create a persistence profile for the new pool
* Add the persisten profile to the virtual server
I would like to know what is the standard way to undo the actions that completed should one in the list further down the list fail?
Regards,
Mark
11 Replies
- MarkM_63051
Nimbostratus
To keep going I have simply split the sequence into 2 separate transactions.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
