overseer/command.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit f3d9e410daa966668de6609e3404146f47b54a1e
Author: adam stokes <astokes(a)fedoraproject.org>
Date: Mon Apr 26 14:53:43 2010 -0400
working on rest interface to jobs
diff --git a/overseer/command.py b/overseer/command.py
index 84d2e9d..c2ea539 100644
--- a/overseer/command.py
+++ b/overseer/command.py
@@ -18,6 +18,9 @@ import datetime
import urlgrabber.grabber as grabber
from caslib.db import CasStorage
+class Admin:
+ pass
+
class Delegate:
def __init__(self):
cfg = ConfigParser.ConfigParser()
@@ -47,4 +50,8 @@ class Delegate:
""" Return job status """
pass
-cherrypy.quickstart(Delegate())
+def main():
+ root = Delegate()
+ root.admin = Admin()
+ cherrypy.server.socket_port = 8112
+ cherrypy.quickstart(root)