# # Copyright (c) 2018 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from pdc.apps.module.views import ModuleViewSet from pdc.apps.utils.SortedRouter import router router.register(r'modules', ModuleViewSet, base_name='modules')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'content-delivery-repos', views.RepoViewSet, base_name='contentdeliveryrepos') router.register(r'content-delivery-repo-families', views.RepoFamilyViewSet, base_name='contentdeliveryrepofamily') router.register(r'rpc/content-delivery-repos/clone', views.RepoCloneViewSet, base_name='cdreposclone') router.register(r'rpc/repos/clone', views.RepoCloneViewSet, base_name='repoclone') router.register(r'content-delivery-content-categories', views.ContentCategoryViewSet, base_name='contentdeliverycontentcategory') router.register(r'content-delivery-content-formats', views.ContentFormatViewSet, base_name='contentdeliverycontentformat') router.register(r'content-delivery-services', views.ServiceViewSet, base_name='contentdeliveryservice')
# # Copyright (c) 2018 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from pdc.apps.unreleasedvariant.views import UnreleasedVariantViewSet from pdc.apps.utils.SortedRouter import router router.register(r'unreleasedvariants', UnreleasedVariantViewSet, base_name='unreleasedvariants')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'rpms', views.RPMViewSet, base_name='rpms') router.register(r'images', views.ImageViewSet) router.register(r'build-images', views.BuildImageViewSet)
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'products', views.ProductViewSet) router.register(r'product-versions', views.ProductVersionViewSet) router.register(r'releases', views.ReleaseViewSet) router.register(r'base-products', views.BaseProductViewSet) router.register(r'release-types', views.ReleaseTypeViewSet, base_name='releasetype') router.register(r'release-groups', views.ReleaseGroupsViewSet, base_name='releasegroups') router.register('releases/(?P<release_id>[^/]+)/rpm-mapping', views.ReleaseRPMMappingView, base_name='releaserpmmapping') router.register(r'rpc/release/import-from-composeinfo', views.ReleaseImportView, base_name='releaseimportcomposeinfo') router.register(r'rpc/release/clone', views.ReleaseCloneViewSet, base_name='releaseclone') router.register(r'rpc/release/clone-components', views.ReleaseComponentCloneViewSet, base_name='releasecomponentclone' ) router.register(r'release-variants',
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'auth/token', views.TokenViewSet, base_name='token') router.register(r'auth/groups', views.GroupViewSet) router.register(r'auth/permissions', views.PermissionViewSet) router.register(r'auth/current-user', views.CurrentUserViewSet, base_name='currentuser') router.register(r'auth/resource-permissions', views.ResourcePermissionViewSet, base_name='resourcepermissions') router.register(r'auth/group-resource-permissions', views.GroupResourcePermissionViewSet, base_name='groupresourcepermissions') router.register(r'auth/resource-api-urls', views.ResourceApiUrlViewSet, base_name='resourceapiurls')
# # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'changesets', views.ChangesetViewSet)
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'composes', views.ComposeViewSet) router.register(r'composes/(?P<compose_id>[^/]+)/rpm-mapping', views.ComposeRPMMappingView, base_name='composerpmmapping') router.register(r'compose-rpms', views.ComposeRPMView) router.register(r'compose-images', views.ComposeImageView) router.register('overrides/rpm', views.ReleaseOverridesRPMViewSet, base_name='overridesrpm') router.register(r'rpc/overrides-rpm/clone', views.OverridesRPMCloneViewSet, base_name='overridesrpmclone') router.register(r'rpc/where-to-file-bugs', views.FilterBugzillaProductsAndComponents, base_name='bugzilla') router.register('rpc/find-compose-by-release-rpm/(?P<release_id>[^/]+)/(?P<rpm_name>[^/]+)', views.FindComposeByReleaseRPMViewSet, base_name='findcomposebyrr') router.register('rpc/find-older-compose-by-compose-rpm/(?P<compose_id>[^/]+)/(?P<rpm_name>[^/]+)', views.FindOlderComposeByComposeRPMViewSet, base_name='findoldercomposebycr')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'labels', views.LabelViewSet, base_name='label') router.register(r'arches', views.ArchViewSet) router.register(r'sigkeys', views.SigKeyViewSet)
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'contacts/people', views.PersonViewSet, base_name='person') router.register(r'contacts/mailing-lists', views.MaillistViewSet, base_name='maillist') router.register(r'contact-roles', views.ContactRoleViewSet) router.register(r'global-component-contacts', views.GlobalComponentContactViewSet, base_name='globalcomponentcontacts') router.register(r'release-component-contacts', views.ReleaseComponentContactViewSet, base_name='releasecomponentcontacts')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'osbs', views.OSBSViewSet, base_name='osbs')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'auth/token', views.TokenViewSet, base_name='token') router.register(r'auth/groups', views.GroupViewSet) router.register(r'auth/permissions', views.PermissionViewSet) router.register(r'auth/current-user', views.CurrentUserViewSet, base_name='currentuser')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r"composes", views.ComposeViewSet) router.register( r"composes/(?P<compose_id>[^/]+)/rpm-mapping", views.ComposeRPMMappingView, base_name="composerpmmapping" ) router.register(r"compose-rpms", views.ComposeRPMView) router.register(r"compose-images", views.ComposeImageView) router.register("overrides/rpm", views.ReleaseOverridesRPMViewSet, base_name="overridesrpm") router.register(r"rpc/where-to-file-bugs", views.FilterBugzillaProductsAndComponents, base_name="bugzilla") router.register( "rpc/find-compose-by-release-rpm/(?P<release_id>[^/]+)/(?P<rpm_name>[^/]+)", views.FindComposeByReleaseRPMViewSet, base_name="findcomposebyrr", ) router.register( "rpc/find-older-compose-by-compose-rpm/(?P<compose_id>[^/]+)/(?P<rpm_name>[^/]+)", views.FindOlderComposeByComposeRPMViewSet, base_name="findoldercomposebycr", ) router.register(
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'rpms', views.RPMViewSet, base_name='rpms') router.register(r'images', views.ImageViewSet) router.register(r'build-images', views.BuildImageViewSet) router.register(r'build-image-rtt-tests', views.BuildImageRTTTestsViewSet, base_name='buildimagertttests')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'global-components', views.GlobalComponentViewSet, base_name='globalcomponent') router.register(r'global-components/(?P<instance_pk>[^/.]+)/labels', views.GlobalComponentLabelViewSet, base_name='globalcomponentlabel') router.register(r'release-components', views.ReleaseComponentViewSet, base_name='releasecomponent') router.register(r'bugzilla-components', views.BugzillaComponentViewSet, base_name='bugzillacomponent') router.register(r'component-groups', views.GroupViewSet, base_name='componentgroup') router.register(r'component-group-types', views.GroupTypeViewSet, base_name='componentgrouptype') router.register(r'component-relationship-types', views.ReleaseComponentRelationshipTypeViewSet, base_name='componentrelationshiptype') router.register(r'release-component-relationships', views.ReleaseComponentRelationshipViewSet, base_name='rcrelationship') router.register(r'release-component-types', views.ReleaseComponentTypeViewSet, base_name='releasecomponenttype')
from . import views from pdc.apps.utils.SortedRouter import router router.register(r'unreleasedvariants', views.UnreleasedVariantViewSet)
# # Copyright (c) 2017 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from pdc.apps.componentbranch import views from pdc.apps.utils.SortedRouter import router router.register(r'component-branches', views.ComponentBranchViewSet) router.register(r'component-sla-types', views.SLAViewSet) router.register(r'component-branch-slas', views.SLAToComponentBranchViewSet)
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'content-delivery-repos', views.RepoViewSet) router.register(r'content-delivery-repo-families', views.RepoFamilyViewSet, base_name='contentdeliveryrepofamily') router.register(r'rpc/content-delivery-repos/clone', views.RepoCloneViewSet, base_name='cdreposclone') router.register(r'repos', views.RepoViewSet) router.register(r'repo-families', views.RepoFamilyViewSet, base_name='repofamily') router.register(r'rpc/repos/clone', views.RepoCloneViewSet, base_name='repoclone') router.register(r'content-delivery-content-categories', views.ContentCategoryViewSet, base_name='contentdeliverycontentcategory') router.register(r'content-delivery-content-formats', views.ContentFormatViewSet, base_name='contentdeliverycontentformat') router.register(r'content-delivery-services', views.ServiceViewSet, base_name='contentdeliveryservice') # TODO: these three end-points will be removed
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'auth/token', views.TokenViewSet, base_name='token') router.register(r'auth/groups', views.GroupViewSet) router.register(r'auth/permissions', views.PermissionViewSet) router.register(r'auth/current-user', views.CurrentUserViewSet, base_name='currentuser') router.register(r'auth/resource-permissions', views.ResourcePermissionViewSet, base_name='resourcepermissions') router.register(r'auth/group-resource-permissions', views.GroupResourcePermissionViewSet, base_name='groupresourcepermissions')
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'global-components', views.GlobalComponentViewSet, base_name='globalcomponent') router.register(r'global-components/(?P<instance_pk>[^/.]+)/labels', views.GlobalComponentLabelViewSet, base_name='globalcomponentlabel') router.register(r'release-components', views.ReleaseComponentViewSet, base_name='releasecomponent') router.register(r'bugzilla-components', views.BugzillaComponentViewSet, base_name='bugzillacomponent') router.register(r'component-groups', views.GroupViewSet, base_name='componentgroup') router.register(r'component-group-types', views.GroupTypeViewSet, base_name='componentgrouptype') router.register(r'component-relationship-types', views.ReleaseComponentRelationshipTypeViewSet, base_name='componentrelationshiptype')
# -*- coding: utf-8 -*- # # Copyright (c) 2015-2017 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'partner-types', views.PartnerTypeViewSet) router.register(r'partners', views.PartnerViewSet) router.register(r'partners-mapping', views.PartnerMappingViewSet)
# -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from . import views from pdc.apps.utils.SortedRouter import router router.register(r'release-schedules', views.ReleaseScheduleViewSet, base_name='releaseschedule')