diff --git a/CHANGES/224.bugfix b/CHANGES/224.bugfix new file mode 100644 index 0000000000..fa92062a68 --- /dev/null +++ b/CHANGES/224.bugfix @@ -0,0 +1 @@ +Disable streamed sync endpoints diff --git a/galaxy_ng/app/api/v3/urls.py b/galaxy_ng/app/api/v3/urls.py index 38f0739094..b357cda728 100644 --- a/galaxy_ng/app/api/v3/urls.py +++ b/galaxy_ng/app/api/v3/urls.py @@ -29,17 +29,20 @@ ] urlpatterns = [ - path("", viewsets.RepoMetadataViewSet.as_view({"get": "retrieve"}), name="repo-metadata"), - path( - "collections/all/", - viewsets.UnpaginatedCollectionViewSet.as_view({"get": "list"}), - name="all-collections-list", - ), - path( - "collection_versions/all/", - viewsets.UnpaginatedCollectionVersionViewSet.as_view({"get": "list"}), - name="all-collection-versions-list", - ), + # The following endpoints are related to issue https://issues.redhat.com/browse/AAH-224 + # For now endpoints are temporary deactivated + # + # path("", viewsets.RepoMetadataViewSet.as_view({"get": "retrieve"}), name="repo-metadata"), + # path( + # "collections/all/", + # viewsets.UnpaginatedCollectionViewSet.as_view({"get": "list"}), + # name="all-collections-list", + # ), + # path( + # "collection_versions/all/", + # viewsets.UnpaginatedCollectionVersionViewSet.as_view({"get": "list"}), + # name="all-collection-versions-list", + # ), path( "collections/", viewsets.CollectionViewSet.as_view({"get": "list"}), name="collections-list" ), diff --git a/galaxy_ng/tests/unit/api/test_api_v3_collections.py b/galaxy_ng/tests/unit/api/test_api_v3_collections.py index 0281c6fbec..36d0f1d9d7 100644 --- a/galaxy_ng/tests/unit/api/test_api_v3_collections.py +++ b/galaxy_ng/tests/unit/api/test_api_v3_collections.py @@ -116,19 +116,22 @@ def setUp(self): "galaxy:api:v3:default-content:collection-artifact-upload" ) - self.all_collections_url = reverse( - "galaxy:api:content:v3:all-collections-list", - kwargs={ - "path": self.repo.name, - }, - ) - - self.all_versions_url = reverse( - "galaxy:api:content:v3:all-collection-versions-list", - kwargs={ - "path": self.repo.name, - }, - ) + # The following tests use endpoints related to + # issue https://issues.redhat.com/browse/AAH-224 + # For now endpoints are temporary deactivated + # self.all_collections_url = reverse( + # "galaxy:api:content:v3:all-collections-list", + # kwargs={ + # "path": self.repo.name, + # }, + # ) + # + # self.all_versions_url = reverse( + # "galaxy:api:content:v3:all-collection-versions-list", + # kwargs={ + # "path": self.repo.name, + # }, + # ) self.metadata_url = reverse( "galaxy:api:content:v3:repo-metadata",