Skip to content

Commit

Permalink
Updates to version method, setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrefvem committed Jan 28, 2018
1 parent d9ada75 commit 8308963
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions jolokia/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ def list(self, path=None, *args, **kwargs):

@require_args(['mbean'], 'search method has 1 required keyword argument: mbean')
def search(self, data=None, *args, **kwargs):
"""Search all available MBean servers for the desired MBean"""
"""Searches all available MBean servers for the desired MBean"""
kwargs.update({'type': 'search'})

return self.session.simple_post(self.base_url, data=kwargs)

def version(self, *args, **kwargs):
pass
"""Returns agent version"""
return self.session.simple_post(self.base_url, data={'type': 'version'})

@require_args(['mbean', 'attribute'], 'get_attribute method has 2 required keyword arguments: mbean and attribute')
def get_attribute(self, mbean=None, attribute=None, path=None, *args, **kwargs):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

setup(
name='jolokia',
version='0.0.1',
version='0.1.0a1',
description='A Python Jolokia client',
long_description=long_description,
url='https://github.com/wbrefvem/python-jolokia',
author='Will Refvem',
author_email='wrefvem@redhat.com',
author_email='wbrefvem@gmail.com',
license='Apache 2.0',

classifiers=[
'Development Status :: 1 - Planning',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
Expand Down

0 comments on commit 8308963

Please sign in to comment.