class Admin:index)) end def info(req) appName=req.path[0] @infoVar=@app.cluster.getAppByName(appName).info end def shutdown @app.cluster.shutdown redirect_to(url(:action=>:index)) end def stop(req) @apps=@app.cluster.getLocalApplications id=req.path[0] app=@apps.select{|capp|capp.object_id.to_s==id}[0] @app.cluster.stopApp(app) redirect_to(url(:action=>:index)) end def clone(id) @apps=@app.cluster.getLocalApplications app=@apps.select{|capp|capp.object_id.to_s==id}[0] @app.cluster.cloneApp(app) redirect_to(url(:action=>:index)) end def _log logger=@app.getApp(:logger) if logger @loglist=logger.read(10000) end @loglist||=[] end def _settings_httpapp_instance end def _settings_string end # dummy def xy render_html "xy" end def blub render_html "xasdy" end def helloasd "MUH asd"+ @app.cluster.getLocalApplications.map{|s|s.to_s}.join("
").to_h+ @app.getService(:permaspace).load("../README.txt").to_h+ "" redirect_to(url(:action=>:index)) end end