Skip to content

Digitalocean ex_rename_node() extension method - #252

Closed
fluffybeing wants to merge 1 commit into
apache:trunkfrom
fluffybeing:digitalocean
Closed

Digitalocean ex_rename_node() extension method#252
fluffybeing wants to merge 1 commit into
apache:trunkfrom
fluffybeing:digitalocean

Conversation

@fluffybeing

Copy link
Copy Markdown

@Kami as you have told me; I have added the extension method for renaming digitalocean node and also test suit for it.

@Kami

Kami commented Feb 18, 2014

Copy link
Copy Markdown
Member

This looks like a good start.

There are some lint and test failure issues though - https://travis-ci.org/apache/libcloud/builds/19144330

For tests to pass you need to fix the method call, add a response fixture and modify the MockHttpClass to return your response fixture on rename node HTTP request.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add _node suffix to the method name to make it clear that the method operates on a node.

@fluffybeing

Copy link
Copy Markdown
Author

@Kami Thanks I will make the changes :)

@fluffybeing

Copy link
Copy Markdown
Author

@Kami done 👍

@Kami

Kami commented Feb 19, 2014

Copy link
Copy Markdown
Member

@rahulrrixe Looking good.

Please just squash all the commits (https://libcloud.readthedocs.org/en/latest/development.html#squash-the-commits-and-generate-the-patch) and I will merge changes into trunk.

added test suite for the ex_rename() extention method

changed ex_rename() to ex_rename_node() extention method

Added the MockHttptestcase from ex_rename_node() extension method

changed ex_rename() to ex_rename_node() extention method

corrected the MockHttptestcase for ex_rename_node() method

Added a fixture for ex_rename_node() method
@Kami

Kami commented Feb 19, 2014

Copy link
Copy Markdown
Member

Merged into trunk, thanks.

This pull request can be closed now.

@fluffybeing

Copy link
Copy Markdown
Author

@Kami Thanks 👍 looking forward for next task.

@asfgit asfgit closed this in d10676a Feb 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants