Open Kilda Java Documentation
kilda.traffexam.rest Namespace Reference

Classes

class  MTServer
 
class  ThreadPoolWSGIServer
 

Functions

def address_list ()
 
def address_create ()
 
def address_read (idnr)
 
def address_delete (idnr)
 
def address_response (payload)
 
def endpoint_list ()
 
def endpoint_create ()
 
def endpoint_read (idnr)
 
def endpoint_delete (idnr)
 
def endpoint_do_report (idnr)
 
def endpoint_response (payload)
 
def format_response (payload, single, multiple)
 
def init (bind, context)
 
def unpack_idnr (idnr)
 
def get_context ()
 
def extract_payload_fields (payload, fields)
 
def make_server (host, port, app, thread_count=None, handler_class=WSGIRequestHandler)
 

Variables

 app = bottle.Bottle(autojson=False)
 
string config_key = 'traffexam.{}'.format
 
 methpd
 

Function Documentation

◆ address_create()

def kilda.traffexam.rest.address_create ( )

Definition at line 41 of file rest.py.

◆ address_delete()

def kilda.traffexam.rest.address_delete (   idnr)

Definition at line 86 of file rest.py.

◆ address_list()

def kilda.traffexam.rest.address_list ( )

Definition at line 35 of file rest.py.

◆ address_read()

def kilda.traffexam.rest.address_read (   idnr)

Definition at line 75 of file rest.py.

◆ address_response()

def kilda.traffexam.rest.address_response (   payload)

Definition at line 96 of file rest.py.

◆ endpoint_create()

def kilda.traffexam.rest.endpoint_create ( )

Definition at line 107 of file rest.py.

◆ endpoint_delete()

def kilda.traffexam.rest.endpoint_delete (   idnr)

Definition at line 161 of file rest.py.

◆ endpoint_do_report()

def kilda.traffexam.rest.endpoint_do_report (   idnr)

Definition at line 172 of file rest.py.

◆ endpoint_list()

def kilda.traffexam.rest.endpoint_list ( )

Definition at line 101 of file rest.py.

◆ endpoint_read()

def kilda.traffexam.rest.endpoint_read (   idnr)

Definition at line 150 of file rest.py.

◆ endpoint_response()

def kilda.traffexam.rest.endpoint_response (   payload)

Definition at line 191 of file rest.py.

◆ extract_payload_fields()

def kilda.traffexam.rest.extract_payload_fields (   payload,
  fields 
)

Definition at line 219 of file rest.py.

◆ format_response()

def kilda.traffexam.rest.format_response (   payload,
  single,
  multiple 
)

Definition at line 195 of file rest.py.

◆ get_context()

def kilda.traffexam.rest.get_context ( )

Definition at line 215 of file rest.py.

◆ init()

def kilda.traffexam.rest.init (   bind,
  context 
)

Definition at line 202 of file rest.py.

◆ make_server()

def kilda.traffexam.rest.make_server (   host,
  port,
  app,
  thread_count = None,
  handler_class = WSGIRequestHandler 
)
Create a new WSGI server listening on `host` and `port` for `app`

Definition at line 275 of file rest.py.

◆ unpack_idnr()

def kilda.traffexam.rest.unpack_idnr (   idnr)

Definition at line 207 of file rest.py.

Variable Documentation

◆ app

kilda.traffexam.rest.app = bottle.Bottle(autojson=False)

Definition at line 28 of file rest.py.

◆ config_key

string kilda.traffexam.rest.config_key = 'traffexam.{}'.format

Definition at line 31 of file rest.py.

◆ methpd

kilda.traffexam.rest.methpd

Definition at line 34 of file rest.py.