Skip to content

Commit

Permalink
refactor: remove unused endpoints
Browse files Browse the repository at this point in the history
- Remove `/tree/tests` and `/tree/<commit_hash>/tests` that were no
longer being used, including the views for these endpoints in the
backend and the calling of these endpoints in the frontend, including
the route for it.

Closes #556
  • Loading branch information
murilx committed Nov 22, 2024
1 parent b0f2d6a commit ff9c2c5
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 447 deletions.
8 changes: 0 additions & 8 deletions backend/kernelCI_app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ def viewCache(view):
viewCache(views.TreeViewFast),
name="tree-fast"
),
path("tree/tests/",
viewCache(views.groupedTests),
name="treeGroupedTests"
),
path("tree/<str:commit_hash>",
viewCache(views.TreeDetails),
name="treeDetails"
Expand All @@ -44,10 +40,6 @@ def viewCache(view):
viewCache(views.TreeCommitsHistory),
name="treeCommits"
),
path("tree/<str:commit_hash>/tests/",
viewCache(views.TreeTestsView),
name="treeTests"
),
path("build/<str:build_id>",
viewCache(views.BuildDetails),
name="buildDetails"
Expand Down
98 changes: 0 additions & 98 deletions backend/kernelCI_app/views/groupedTestsView.py

This file was deleted.

146 changes: 0 additions & 146 deletions backend/kernelCI_app/views/treeTestsView.py

This file was deleted.

80 changes: 0 additions & 80 deletions backend/requests/boots-get.sh

This file was deleted.

1 change: 0 additions & 1 deletion backend/requests/grouped-tests.sh

This file was deleted.

33 changes: 0 additions & 33 deletions backend/requests/revision-tests-get.sh

This file was deleted.

Loading

0 comments on commit ff9c2c5

Please sign in to comment.