IHasSpecifications, 'api_valid_specifications', ISpecification) ### # # Our web service configuration requires that every entry, field, and # named operation explicitly name the version in which it first # appears. This code grandfathers in entries and named operations that # were defined before this rule came into effect. When you change an # interface in the future, you should add explicit version statements to # its definition and get rid of the patch calls here. # ### # IArchive patch_entry_explicit_version(IArchive, 'beta') patch_operations_explicit_version( IArchive, 'beta', "_checkUpload", "deleteComponentUploader", "deletePackageUploader", "deletePackagesetUploader", "deleteQueueAdmin", "getAllPublishedBinaries", "getArchiveDependency", "getBuildCounters", "getBuildSummariesForSourceIds", "getComponentsForQueueAdmin", "getPackagesetsForSource", "getPackagesetsForSourceUploader", "getPackagesetsForUploader", "getPermissionsForPerson", "getPublishedSources", "getQueueAdminsForComponent", "getUploadersForComponent", "getUploadersForPackage", "getUploadersForPackageset", "isSourceUploadAllowed", "newComponentUploader", "newPackageUploader", "newPackagesetUploader", "newQueueAdmin", "newSubscription", "syncSource", "syncSources") # IArchiveDependency patch_entry_explicit_version(IArchiveDependency, 'beta')
# Copyright 2011 Canonical Ltd. This software is licensed under the # GNU Affero General Public License version 3 (see the file LICENSE). """All the interfaces that are exposed through the webservice. There is a declaration in ZCML somewhere that looks like: <webservice:register module="lp.patchwebservice" /> which tells `lazr.restful` that it should look for webservice exports here. """ __metaclass__ = type __all__ = [ 'IEmailAddress', ] from lp.services.identity.interfaces.emailaddress import IEmailAddress from lp.services.webservice.apihelpers import patch_entry_explicit_version # IEmailAddress patch_entry_explicit_version(IEmailAddress, 'beta')
patch_collection_property(IHasSpecifications, 'api_valid_specifications', ISpecification) ### # # Our web service configuration requires that every entry, field, and # named operation explicitly name the version in which it first # appears. This code grandfathers in entries and named operations that # were defined before this rule came into effect. When you change an # interface in the future, you should add explicit version statements to # its definition and get rid of the patch calls here. # ### # IArchive patch_entry_explicit_version(IArchive, 'beta') patch_operations_explicit_version( IArchive, 'beta', "_checkUpload", "deleteComponentUploader", "deletePackageUploader", "deletePackagesetUploader", "deleteQueueAdmin", "getAllPublishedBinaries", "getArchiveDependency", "getBuildCounters", "getBuildSummariesForSourceIds", "getComponentsForQueueAdmin", "getPackagesetsForSource", "getPackagesetsForSourceUploader", "getPackagesetsForUploader", "getPermissionsForPerson", "getPublishedSources", "getQueueAdminsForComponent", "getUploadersForComponent", "getUploadersForPackage", "getUploadersForPackageset", "isSourceUploadAllowed", "newComponentUploader", "newPackageUploader", "newPackagesetUploader", "newQueueAdmin", "newSubscription", "syncSource", "syncSources") # IArchiveDependency patch_entry_explicit_version(IArchiveDependency, 'beta')