error observed :
With LTS version 7, I used webapi to retreive file information. With api/components/search I retreived the file key and I used it for other queries.
Since new LTS version this api does not return file information. It returns only application and project information.
steps to reproduce
http://sonar_url/api/components/search?qualifiers=TRK&q=file_name.sql it returns nothing even with a valid file name.
http://sonar_url/api/components/search?qualifiers=TRK This query returns only projects
potential workaround
No workaournd
WebApi documentation says this endpoint should return file informaiton: