Base part of a server REST API
The patch introduces a first version of REST API. Rally can be run as-a-Service by the shell script rally-api. By default a service binds to a socket 0.0.0.0:8877. The pair of binding parameters have got own section called an 'api'. One of the supported Content-Type is an 'application/json'. TODO: * A Deployment and a Task controllers/types. * Proper exception handling. blueprint rally-service-api-v1 Change-Id: Ib0a1f141a083a35c8d43aed2bb1db3307e022b70
This commit is contained in:
parent
350f1f3e7c
commit
2369f4ca16
@ -122,6 +122,19 @@
|
||||
# Path to CA server cetrificate for SSL (string value)
|
||||
#https_cacert=
|
||||
|
||||
[api]
|
||||
|
||||
#
|
||||
# Options defined in rally.api
|
||||
#
|
||||
|
||||
# The port for the Rally API server (integer value)
|
||||
#port=8877
|
||||
|
||||
# The listen IP for the Rally API server (string value)
|
||||
#host=0.0.0.0
|
||||
|
||||
|
||||
[database]
|
||||
|
||||
#
|
||||
|
@ -7,7 +7,7 @@ netaddr>=0.7.6
|
||||
oslo.config>=1.2.0
|
||||
paramiko>=1.9.0
|
||||
pbr>=0.6,<1.0
|
||||
Mako>=0.4.0
|
||||
pecan>=0.4.5
|
||||
PrettyTable>=0.7,<0.8
|
||||
PyYAML>=3.1.0
|
||||
python-glanceclient>=0.9.0
|
||||
@ -20,3 +20,4 @@ python-ceilometerclient>=1.0.6
|
||||
requests>=1.1
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
six>=1.5.2
|
||||
WSME>=0.6
|
||||
|
@ -24,11 +24,11 @@ packages =
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
rally = rally.cmd.main:main
|
||||
rally-api = rally.cmd.api:main
|
||||
rally-manage = rally.cmd.manage:main
|
||||
openstack-rally = rally.cmd.main:deprecated
|
||||
openstack-rally-manage = rally.cmd.manage:deprecated
|
||||
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
pbr.hooks.setup_hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user