New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new exception code/message, testing backup exceptions #692

Closed
wants to merge 1 commit into
base: trunk
from

Conversation

Projects
None yet
1 participant
@jadunham1
Contributor

jadunham1 commented Feb 6, 2016

The backup client bad responses have different XML responses than the others.
<ns0:Status xmlns:ns0="http://oec.api.opsource.net/schemas/general">
ns0:operationEnable Backup for Server/ns0:operation
ns0:resultERROR/ns0:result
ns0:resultDetailCloud backup for this server is already enabled or being enabled (state: NORMAL)./ns0:resultDetail
ns0:resultCodeREASON_550/ns0:resultCode
/ns0:Status

I added in handling for this and making it easier to create new bad xml elements in case there are more later on.
Added tests to test the bad handling in the backup client

@jadunham1 jadunham1 closed this Feb 6, 2016

@jadunham1 jadunham1 deleted the jadunham1:feature/dd_handle_exception branch Feb 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment