WEB/Praktikum3/bt/app/eval.py

64 lines
1.8 KiB
Python
Raw Normal View History

2017-01-16 23:32:28 +01:00
# coding: utf-8
import json
import cherrypy
#from .database import SourceDatabase_cl, EvaluatedDatabase_cl
# Method-Dispatching!
# Übersicht Anforderungen / Methoden
# (beachte: / relativ zu /navigation, siehe Konfiguration Server!)
"""
Anforderung GET PUT POST DELETE
-----------------------------------------------------------------------------------------
/prolist/ Auswertung nach
Projekt/Komponente/
Status
"""
#----------------------------------------------------------
class ProList_cl(object):
#----------------------------------------------------------
exposed = True # gilt für alle Methoden
#-------------------------------------------------------
def __init__(self):
#-------------------------------------------------------
pass
#-------------------------------------------------------
def GET(self):
#-------------------------------------------------------
return json.dumps(retVal_o)
"""
Anforderung GET PUT POST DELETE
-----------------------------------------------------------------------------------------
/katlist/ Auswertung nach
Kategorie/Status
"""
#----------------------------------------------------------
class KatList_cl(object):
#----------------------------------------------------------
exposed = True # gilt für alle Methoden
#-------------------------------------------------------
def __init__(self):
#-------------------------------------------------------
pass
#-------------------------------------------------------
def GET(self):
#-------------------------------------------------------
return json.dumps(retVal_o)
# EOF