10
10
xmlns:i18n="http://namespaces.zope.org/i18n"
11
11
i18n_domain="launchpad">
13
<include file="permissions.zcml" />
15
<i18n:registerTranslations directory="locales" />
17
<webservice:register module="lp.patchwebservice" />
19
<authorizations module="lp.security" />
14
package="lp.services.webapp"
15
file="meta-overrides.zcml" />
16
<include package="lp.services.webapp" file="meta.zcml" />
17
<include package="grokcore.component" file="meta.zcml" />
18
<include package="lazr.enum" />
19
<include package="lazr.restful" file="meta.zcml" />
20
<include package="lazr.uri" />
21
22
<include package="lp.services" />
23
23
<include package="lp.answers" />
24
24
<include package="lp.app" />
25
25
<include package="lp.blueprints" />
34
34
<include package="lp.registry" />
35
35
<include package="lp.xmlrpc" />
37
<include file="permissions.zcml" />
39
<i18n:registerTranslations directory="locales" />
40
<webservice:register module="lp.patchwebservice" />
41
<authorizations module="lp.security" />
43
<!-- The default Zope 3 configuration of the SimpleComponentTraverser is
44
that it applies to any object that provides Interface.
45
This excludes objects that we're using just as instances of classes
46
without providing any interfaces.
50
type="zope.publisher.interfaces.browser.IBrowserRequest"
51
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
52
factory="zope.app.publication.traversers.SimpleComponentTraverser"
53
permission="zope.Public"
55
<!-- We don't include zope.app.publication (see zopeapp.zcml in the
56
top level), so we lose the default registration that makes our
57
private XMLRPC server work. Copy that from Zope into here.
60
for="zope.interface.Interface"
61
type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
62
provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
63
factory="zope.app.publication.traversers.SimpleComponentTraverser"
64
permission="zope.Public"
37
67
<!-- Register a handler to fix things up just before the application
38
68
starts (and after zcml has been processed). -->
39
69
<subscriber handler=".services.webapp.initialization.handle_process_start" />