4330.2.3
by Jonathan Lange
Copyright statements. |
1 |
# Copyright 2004-2007 Canonical Ltd. All rights reserved.
|
1625
by Canonical.com Patch Queue Manager
Add saltless API to authserver |
2 |
#
|
3858.1.11
by jml at canonical
Make the authserver.tac file uses the daemons/authserver.py config file. |
3 |
# This configuration creates an XML-RPC service listening on port 8999.
|
4 |
# See canonical.launchpad.daemons.authserver for more information.
|
|
5 |
||
6101.1.3
by Jonathan Lange
Take Curtis's advice more seriously. Set to authserver config before anything |
6 |
from canonical.config import config |
7 |
# Make sure we get the authserver's database configuration. This has to happen
|
|
8 |
# before anything else.
|
|
9 |
config.setProcess('authserver') |
|
10 |
||
3858.1.11
by jml at canonical
Make the authserver.tac file uses the daemons/authserver.py config file. |
11 |
from twisted.application import service |
5855.5.1
by Curtis Hovey
Migrate db configuration to lazr.config. |
12 |
|
3858.1.11
by jml at canonical
Make the authserver.tac file uses the daemons/authserver.py config file. |
13 |
from canonical.launchpad.daemons.authserver import AuthserverService |
2902.2.32
by Andrew Bennetts
Move authserver config into launchpad.conf; remove test-only variants of authserver.tac and sftp.tac; remove a hard-coded path from a test. |
14 |
from canonical.launchpad.daemons.tachandler import ReadyService |
4330.2.5
by Jonathan Lange
Use the webapp database adapter, not the one provided by initZopeless |
15 |
from canonical.launchpad.scripts import execute_zcml_for_scripts |
16 |
||
5977.5.2
by Jonathan Lange
Get the authserver to connect as the authserver user. |
17 |
|
4386.1.20
by Jonathan Lange
Use web security for creating and getting information of branches from the |
18 |
execute_zcml_for_scripts(use_web_security=True) |
4330.2.1
by Jonathan Lange
Use the Product SQLObject class to do the query for fetchProductID. |
19 |
|
3402.1.1
by Andrew Bennetts
Update authserver.tac to match the one used in production: add /RPC2, unset debugging flag, and specify the database host. |
20 |
application = service.Application("authserver") |
3858.1.11
by jml at canonical
Make the authserver.tac file uses the daemons/authserver.py config file. |
21 |
svc = AuthserverService() |
2902.2.32
by Andrew Bennetts
Move authserver config into launchpad.conf; remove test-only variants of authserver.tac and sftp.tac; remove a hard-coded path from a test. |
22 |
svc.setServiceParent(application) |
23 |
||
24 |
ReadyService().setServiceParent(application) |