Title: Refactor `listTemplates` and `listIsos` workflows · Issue #11209 · apache/cloudstack · GitHub
Open Graph Title: Refactor `listTemplates` and `listIsos` workflows · Issue #11209 · apache/cloudstack
X Title: Refactor `listTemplates` and `listIsos` workflows · Issue #11209 · apache/cloudstack
Description: The workflows of the listIsos and listTemplates APIs, particularly the com.cloud.api.query.QueryManagerImpl#searchForTemplatesInternal method, could greatly benefit from refactoring. This method accepts over 20 parameters, spans approxim...
Open Graph Description: The workflows of the listIsos and listTemplates APIs, particularly the com.cloud.api.query.QueryManagerImpl#searchForTemplatesInternal method, could greatly benefit from refactoring. This method ac...
X Description: The workflows of the listIsos and listTemplates APIs, particularly the com.cloud.api.query.QueryManagerImpl#searchForTemplatesInternal method, could greatly benefit from refactoring. This method ac...
Opengraph URL: https://github.com/apache/cloudstack/issues/11209
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor `listTemplates` and `listIsos` workflows","articleBody":"The workflows of the `listIsos` and `listTemplates` APIs, particularly the `com.cloud.api.query.QueryManagerImpl#searchForTemplatesInternal` method, could greatly benefit from refactoring.\n\nThis method accepts over 20 parameters, spans approximately 200 lines, performs DAO operations directly from the business/service layer, and lacks modularization, logging, and unit tests. These issues make troubleshooting and maintenance challenging.\n\nhttps://github.com/apache/cloudstack/blob/f52e05863e608f53f9e97e93fe47577b8dfe189b/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java#L4802-L5007\n","author":{"url":"https://github.com/bernardodemarco","@type":"Person","name":"bernardodemarco"},"datePublished":"2025-07-15T21:56:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/11209/cloudstack/issues/11209"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d9633b1f-bc0a-ea9e-eadc-5e05dbfa57b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8932:331610:1597389:1DD687A:6A4DEFE3 |
| html-safe-nonce | 7fe40164c8cdfcadb8eb6c7986361b610666b10fb80bfe6900e5345892c55af2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTMyOjMzMTYxMDoxNTk3Mzg5OjFERDY4N0E6NkE0REVGRTMiLCJ2aXNpdG9yX2lkIjoiNDk0OTg2OTg4NTM3NzA4MTMxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9a96f5a691443860889c28e3d93548a6bc028af82e911447683e46fc30e73aa4 |
| hovercard-subject-tag | issue:3233806305 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/11209/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb89c06c74955414fe743d553cc73c482854b2aebdd907aab0fc6502e60c7ed1/apache/cloudstack/issues/11209 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb89c06c74955414fe743d553cc73c482854b2aebdd907aab0fc6502e60c7ed1/apache/cloudstack/issues/11209 |
| og:image:alt | The workflows of the listIsos and listTemplates APIs, particularly the com.cloud.api.query.QueryManagerImpl#searchForTemplatesInternal method, could greatly benefit from refactoring. This method ac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bernardodemarco |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width