Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.

Add ability to execute XML-RPC calls other than "Bug.xxx" #45

Merged
merged 2 commits into from
May 23, 2014

Conversation

xtagon
Copy link
Contributor

@xtagon xtagon commented May 23, 2014

Now you can execute arbitrary API methods instead of only ones on the Bug namespace.

ActiveBugzilla::Base.service.execute(command, params)

I also added a convenience method on the main module, so that if Base.service is set, we can do stuff like:

ActiveBugzilla.execute(command, params)

or, equivalently...

ActiveBugzilla.call(command, params)

See issue #44

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) when pulling 50e9de8 on xtagon:feature/fully-qualified-execute into 0394f5a on ManageIQ:master.

@@ -175,15 +175,14 @@ def clone(bug_id, overrides = {})
end

# Bypass python-bugzilla and use the xmlrpc API directly.
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove this comment, while we're at it? It really doesn't apply anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Fryguy Done.

@cfme-bot
Copy link
Member

Checked commits xtagon@50e9de8 .. xtagon@e5ab55a with rubocop 0.21.0
2 files checked, 0 offenses detected
Everything looks good. ⭐

chessbyte added a commit that referenced this pull request May 23, 2014
Add ability to execute XML-RPC calls other than "Bug.xxx"
@chessbyte chessbyte merged commit e01f6ef into ManageIQ:master May 23, 2014
@xtagon xtagon deleted the feature/fully-qualified-execute branch May 23, 2014 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants