
This is initial commit adding pecan/wsme framework. Example operations are: * GET /v1/project_groups * GET /v1/project_groups/<group_name> * GET /v1/projects * GET /v1/projects/<project_name> * GET /v1/teams * GET /v1/teams/<team_name> * POST /v1/teams * POST /v1/teams/add_user * GET /v1/users * GET /v1/users/<username> * POST /v1/users * PUT /v1/users/<username> * GET /v1/stories * GET /v1/stories/<story_id> * POST /v1/stories * PUT /v1/stories * POST /v1/stories/add_task * POST /v1/stories/add_comment * GET /v1/tasks * GET /v1/tasks/<task_id> * PUT /v1/tasks More detailed documentation will be added later to a wiki page. Tests will be added in a separate CR. Auth stuff will be added in a separate CR after it is dicussed. Change-Id: Ibace8cf7dd5bb933b0d2484b1d57b79bb8441a28
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
[DEFAULT]
|
|
# Default log level is INFO
|
|
# verbose and debug has the same result.
|
|
# One of them will set DEBUG log level output
|
|
# debug = False
|
|
# verbose = False
|
|
|
|
# Where to store lock files
|
|
lock_path = $state_path/lock
|
|
|
|
# log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
|
|
# log_date_format = %Y-%m-%d %H:%M:%S
|
|
|
|
# use_syslog -> syslog
|
|
# log_file and log_dir -> log_dir/log_file
|
|
# (not log_file) and log_dir -> log_dir/{binary_name}.log
|
|
# use_stderr -> stderr
|
|
# (not user_stderr) and (not log_file) -> stdout
|
|
# publish_errors -> notification system
|
|
|
|
# use_syslog = False
|
|
# syslog_log_facility = LOG_USER
|
|
|
|
# use_stderr = True
|
|
# log_file =
|
|
# log_dir =
|
|
|
|
# publish_errors = False
|
|
|
|
# Address to bind the API server
|
|
# bind_host = 0.0.0.0
|
|
|
|
# Port the bind the API server to
|
|
# bind_port = 9696
|
|
|
|
[database]
|
|
# This line MUST be changed to actually run storyboard
|
|
# Example:
|
|
# connection = mysql://root:pass@127.0.0.1:3306/storyboard
|
|
# Replace 127.0.0.1 above with the IP address of the database used by the
|
|
# main storyboard server. (Leave it as is if the database runs on this host.)
|
|
# connection=sqlite://
|
|
|
|
# The SQLAlchemy connection string used to connect to the slave database
|
|
# slave_connection =
|
|
|
|
# Database reconnection retry times - in event connectivity is lost
|
|
# set to -1 implies an infinite retry count
|
|
# max_retries = 10
|
|
|
|
# Database reconnection interval in seconds - if the initial connection to the
|
|
# database fails
|
|
# retry_interval = 10
|
|
|
|
# Minimum number of SQL connections to keep open in a pool
|
|
# min_pool_size = 1
|
|
|
|
# Maximum number of SQL connections to keep open in a pool
|
|
# max_pool_size = 10
|
|
|
|
# Timeout in seconds before idle sql connections are reaped
|
|
# idle_timeout = 3600
|
|
|
|
# If set, use this value for max_overflow with sqlalchemy
|
|
# max_overflow = 20
|
|
|
|
# Verbosity of SQL debugging information. 0=None, 100=Everything
|
|
# connection_debug = 0
|
|
|
|
# Add python stack traces to SQL as comment strings
|
|
# connection_trace = False
|
|
|
|
# If set, use this value for pool_timeout with sqlalchemy
|
|
# pool_timeout = 10
|
|
|
|
[api]
|
|
#host="0.0.0.0"
|
|
#
|
|
#port=8080
|
|
|