10
10
xmlns:i18n="http://namespaces.zope.org/i18n"
11
11
i18n_domain="launchpad">
13
<include package="lazr.restful" file="configure.zcml" />
15
factory="canonical.launchpad.rest.configuration.LaunchpadWebServiceConfiguration"
16
provides="lazr.restful.interfaces.IWebServiceConfiguration">
20
factory="lp.services.memcache.restful.MemcachedStormRepresentationCache"
21
provides="lazr.restful.interfaces.IRepresentationCache">
25
class="canonical.launchpad.systemhomes.WebServiceApplication"
26
provides="lp.services.webservice.interfaces.IWebServiceApplication">
28
interface="lp.services.webservice.interfaces.IWebServiceApplication" />
29
<allow interface='lazr.restful.interfaces.IServiceRootResource' />
30
<allow interface='canonical.launchpad.webapp.interfaces.ICanonicalUrlData' />
33
<!-- Registration for the class that manages an entry's byte
36
for="lazr.restful.interfaces.IEntry
37
zope.schema.interfaces.IField"
38
provides="lazr.restful.interfaces.IByteStorage"
39
factory="canonical.launchpad.rest.bytestorage.LibraryBackedByteStorage"
42
<class class="canonical.launchpad.rest.bytestorage.LibraryBackedByteStorage">
43
<allow interface='lazr.restful.interfaces.IByteStorage' />
46
<!-- WebService uses the default LaunchpadRootNavigation -->
48
for="lp.services.webservice.interfaces.IWebServiceApplication"
49
type="canonical.launchpad.layers.WebServiceLayer"
50
factory="lp.app.browser.launchpad.LaunchpadRootNavigation"
51
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
55
for="lp.bugs.interfaces.bugmessage.IBugComment
56
lazr.restful.interfaces.IWebServiceClientRequest"
57
provides="lazr.restful.interfaces.IEntry"
58
factory="lp.bugs.adapters.bug.bugcomment_to_entry"
61
<grok:grok package="lazr.restful.directives" />
62
<grok:grok package="canonical.launchpad.rest" />
64
<webservice:register module="canonical.launchpad.interfaces.webservice" />
67
for="zope.schema.interfaces.IChoice
68
zope.publisher.interfaces.http.IHTTPRequest
69
canonical.launchpad.webapp.vocabulary.SQLObjectVocabularyBase"
70
provides="lazr.restful.interfaces.IFieldMarshaller"
71
factory="canonical.launchpad.webapp.marshallers.choiceMarshallerError"
74
for="lazr.restful.interfaces.IReferenceChoice
75
zope.publisher.interfaces.http.IHTTPRequest
76
canonical.launchpad.webapp.vocabulary.SQLObjectVocabularyBase"
77
provides="lazr.restful.interfaces.IFieldMarshaller"
78
factory="lazr.restful.marshallers.ObjectLookupFieldMarshaller"
81
<!-- The API documentation -->
83
for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
85
class="lp.app.browser.launchpad.LaunchpadAPIDocFolder"
87
permission="zope.Public"
13
<webservice:register module="lp.patchwebservice" />
15
<include package="lp.services" />