11647.1.5
by Curtis Hovey
Updated copyright. |
1 |
<!-- Copyright 2009-2010 Canonical Ltd. This software is licensed under the |
8687.15.30
by Karl Fogel
Add the license header block to all .zcml files. |
2 |
GNU Affero General Public License version 3 (see the file LICENSE). |
3 |
-->
|
|
4 |
||
5435.1.6
by Leonard Richardson
Implement a 'hello world' web service. |
5 |
<configure |
6 |
xmlns="http://namespaces.zope.org/zope" |
|
7 |
xmlns:browser="http://namespaces.zope.org/browser" |
|
10304.5.1
by Leonard Richardson
Fixed a few integration problems. |
8 |
xmlns:grok="http://namespaces.zope.org/grok" |
5835.7.16
by Francis J. Lacoste
Export IMessage using declarations. |
9 |
xmlns:webservice="http://namespaces.canonical.com/webservice" |
5435.1.6
by Leonard Richardson
Implement a 'hello world' web service. |
10 |
xmlns:i18n="http://namespaces.zope.org/i18n" |
11 |
i18n_domain="launchpad"> |
|
12 |
||
14606.5.2
by William Grant
Merge canonical's ZCML into lp.app and lp |
13 |
<includeOverrides |
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" /> |
|
14600.1.7
by Curtis Hovey
Moved security to lp. |
21 |
|
14583.1.9
by Curtis Hovey
Removed c.l interfaces and zcml. |
22 |
<include package="lp.services" /> |
14593.1.2
by Curtis Hovey
Rearranges zcml includes -- this is quite delicate because of cyclic import issues. |
23 |
<include package="lp.answers" /> |
24 |
<include package="lp.app" /> |
|
25 |
<include package="lp.blueprints" /> |
|
14600.1.7
by Curtis Hovey
Moved security to lp. |
26 |
<include package="lp.bugs" /> |
14593.1.2
by Curtis Hovey
Rearranges zcml includes -- this is quite delicate because of cyclic import issues. |
27 |
<include package="lp.buildmaster" /> |
28 |
<include package="lp.code" /> |
|
29 |
<include package="lp.coop.answersbugs" /> |
|
30 |
<include package="lp.hardwaredb" /> |
|
31 |
<include package="lp.soyuz" /> |
|
32 |
<include package="lp.translations" /> |
|
33 |
<include package="lp.testopenid" /> |
|
34 |
<include package="lp.registry" /> |
|
35 |
<include package="lp.xmlrpc" /> |
|
36 |
||
14606.5.2
by William Grant
Merge canonical's ZCML into lp.app and lp |
37 |
<include file="permissions.zcml" /> |
38 |
||
39 |
<i18n:registerTranslations directory="locales" /> |
|
40 |
<webservice:register module="lp.patchwebservice" /> |
|
41 |
<authorizations module="lp.security" /> |
|
42 |
||
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. |
|
47 |
-->
|
|
48 |
<view |
|
49 |
for="*" |
|
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" |
|
54 |
/>
|
|
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. |
|
58 |
-->
|
|
59 |
<view |
|
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" |
|
65 |
/>
|
|
66 |
||
14600.2.4
by Curtis Hovey
Fix includes to webapp zcml. |
67 |
<!-- Register a handler to fix things up just before the application |
68 |
starts (and after zcml has been processed). --> |
|
69 |
<subscriber handler=".services.webapp.initialization.handle_process_start" /> |
|
5435.1.6
by Leonard Richardson
Implement a 'hello world' web service. |
70 |
</configure> |