SONAR-4083 add java web service API for metrics