Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11476

Stop supporting homepage and other space pages for modules and directories

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6
    • Component/s: Web, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      While dropping modules, we need to get rid of module and directory homepages and other project-level pages (issues, measures, activity).

      All WS that accept module and/or directory keys/ids (internal WS are marked bold):

      • GET api/ce/activity [param: componentQuery, q]
      • GET api/ce/activity_status [param: componentKey]
      • GET api/ce/component [param: component]
      • GET api/components/app [param:component]
      • GET api/components/show [param:component]
      • GET api/components/tree [param: component]
      • POST api/favorites/add [param:component]
      • POST api/favorites/remove [param:component]
      • GET api/issues/search [param: componentKeys, moduleUuids]
      • GET api/measures/component [param: component]
      • GET api/measures/component_tree [param: component]
      • GET api/measures/search_history [param: component]
      • GET api/navigation/component [param: component]
      • GET api/settings/list_definitions [param: component]
      • POST api/settings/reset [param: component]
      • POST api/settings/set [param: component]
      • GET api/settings/values [param: component]
      • GET batch/issues [param: key]
      • GET batch/project [param: key]
      • GET api/project_analyses/search (only works for projects)
      • GET api/project_links/search (only works for projects)
      • GET api/project_branches/list (only works for projects)
      • GET api/project_pull_requests/list (only works for projects)
      • GET api/ce/analysis_status [param:component] (only works for projects, perhaps the param should be named `project` rather than component like in other enpoints where only project is applicable)

      Subset used by the dashboard and dashboard tabs (issues, measures, activity):

      • GET api/navigation/component [param: component]
      • GET api/components/show [param:component]
      • GET api/ce/component [param: component]
      • GET api/measures/component [param: component]
      • GET api/measures/search_history [param: component]
      • GET api/issues/search [param: componentKeys, moduleUuids]
      • GET api/measures/component_tree [param: component]

      These WS must stop accepting modules and directories as parameter and return 400 in this case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michal.duda Michal Duda
                Reporter:
                stas.vilchik Stas Vilchik (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: