Skip to content

Commit

Permalink
Adjust ReqMgrServer to new framework requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Nov 23, 2014
1 parent 2c92e23 commit ad92f71
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/python/WMCore/ReqMgr/Web/ReqMgrService.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class ReqMgrService(TemplatedPage):
"""
Request Manager web service class
"""
def __init__(self, config=None):
def __init__(self, app, config, mount):
print "\n### Configuration:"
print config
self.base = config.base
Expand Down Expand Up @@ -234,14 +234,6 @@ def __init__(self, config=None):
})
self._cache = {}

# TODO:
# for time being use development environment
# this part will be removed in production when we enable
# proper authentication
cherrypy.server.environment = 'development'
cherrypy.server.socket_host = '127.0.0.1'
authz_fake()

# initialize rest API
statedir = '/tmp'
app = RESTMain(config, statedir) # REST application
Expand Down

0 comments on commit ad92f71

Please sign in to comment.