NAME

WebService::SonarQube - API for talking to SonarQube

VERSION

This documentation refers to WebService::SonarQube version 0.10

SYNOPSIS

use WebService::SonarQube;

# create a new object
my $sonar = WebService::SonarQube->new(
    url => 'http://example.com/sonar',
);

# call a sonar api
my $server_details = $sonar->server_index();

DESCRIPTION

Simple interface to accessing SonarQube's web API.

SUBROUTINES/METHODS

BUILD

Internal method which constructs some internal properties

commands ()

Returns the list of API commands that the server supports

mech ()

Returns the internal WWW::Mechanize object

API COMMANDS

POST api/action_plans/close
POST api/action_plans/create
POST api/action_plans/delete
POST api/action_plans/open
 GET api/action_plans/search
POST api/action_plans/update
 GET api/authentication/validate
 GET api/coverage/show
 GET api/duplications/show
 GET api/events/index
 GET api/favorites/index
 GET api/issue_filters/favorites
 GET api/issue_filters/show
POST api/issues/add_comment
POST api/issues/assign
 GET api/issues/authors
POST api/issues/bulk_change
 GET api/issues/changelog
POST api/issues/create
POST api/issues/delete_comment
POST api/issues/do_action
POST api/issues/do_transition
POST api/issues/edit_comment
POST api/issues/plan
 GET api/issues/search
POST api/issues/set_severity
 GET api/languages/list
 GET api/manual_measures/index
 GET api/metrics/index
POST api/permissions/add
POST api/permissions/remove
POST api/profiles/backup
POST api/profiles/destroy
 GET api/profiles/index
 GET api/profiles/list
POST api/profiles/restore
POST api/profiles/set_as_default
POST api/projects/create
POST api/projects/destroy
 GET api/projects/index
 GET api/properties/index
POST api/qualitygates/copy
POST api/qualitygates/create
POST api/qualitygates/create_condition
POST api/qualitygates/delete_condition
POST api/qualitygates/deselect
POST api/qualitygates/destroy
 GET api/qualitygates/list
POST api/qualitygates/rename
 GET api/qualitygates/search
POST api/qualitygates/select
POST api/qualitygates/set_as_default
 GET api/qualitygates/show
POST api/qualitygates/unset_default
POST api/qualitygates/update_condition
POST api/qualityprofiles/activate_rule
POST api/qualityprofiles/activate_rules
POST api/qualityprofiles/deactivate_rule
POST api/qualityprofiles/deactivate_rules
POST api/qualityprofiles/restore_built_in
 GET api/resources/index
POST api/rules/create
POST api/rules/delete
 GET api/rules/repositories
 GET api/rules/search
 GET api/rules/show
 GET api/rules/tags
POST api/rules/update
 GET api/server/index
POST api/server/setup
 GET api/sources/raw
 GET api/sources/scm
 GET api/sources/show
 GET api/system/info
POST api/system/restart
 GET api/tests/covered_files
 GET api/tests/show
 GET api/tests/test_cases
 GET api/timemachine/index
 GET api/updatecenter/installed_plugins
 GET api/user_properties/index
POST api/users/create
POST api/users/deactivate
 GET api/users/search
POST api/users/update
POST api/views/add_local_view
POST api/views/add_project
POST api/views/add_remote_view
POST api/views/add_sub_view
POST api/views/create
 GET api/views/define
POST api/views/delete
 GET api/views/list
 GET api/views/local_views
POST api/views/manual_measure
POST api/views/mode
POST api/views/move
 GET api/views/move_options
 GET api/views/projects
POST api/views/regexp
 GET api/views/remote_views
POST api/views/remove_project
 GET api/views/show
POST api/views/update
 GET api/webservices/list
 GET api/webservices/response_example

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2015 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.