Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Bechtold 9066b6982b Add keystonemiddleware to oslo-config-generator conf
This is needed to get the [keystone_authtoken] section into
monasca-api.conf when generating the sample config file with "tox
-egenconfig".

Change-Id: I6d3670c8fec11cd9a3e72412e30daa800d4942af
2019-01-28 16:11:51 +01:00
Thomas Bechtold 96e13dad75 Replace api-config.conf with monasca-api.conf
api-config.conf is the deprecated path for the configuration file. The
new path is /etc/monasca/monasca-api.conf .

Story: 2004708
Task: 28987

Change-Id: If06d9114529c3ef4520247dfc7c32d3769f07084
2019-01-19 12:15:22 +01:00
Dobroslaw Zybort 9ffaadf2ba Improve docs about configuring oslo.policy
Change-Id: I73292ae87ee38283e441b635e81bffb0861cd7cf
2018-10-09 13:58:53 +02:00
Amir Mofakhar 3ca4b057dd Using oslo.policy for monasca-api
Added policies and used policy enforcement engine
from monasca-common.

- Replaced security with oslo.policy
- Updated unit tests and implemented some new tests
- Added a new entry point for generating sample policy file by tox

story: 2001233
task: 6355

Change-Id: I4aa444fe6ec883160c03c201145c77994b6615f9
Signed-off-by: Amir Mofakhar <amofakhar@op5.com>
2018-06-05 12:25:07 +00:00
Tomasz Trębski 5d27af4079 Config-generator for monasca-api
Change migrates the monasca-api to use oslo-config-generator in
order to always build newest configuration file. That removes
the need of maintaning the file along with changes to oslo configuration.
The example of the file is also included in the documentation.

Also:
* ported case for launching api under WSGI and allowing the argument
  parsing of oslo to take place

Story: 2000970
Task: 4865

Story: 2000964
Task: 4106

Change-Id: I57547b0e2122e40f58db5f949773900b76214526
2017-08-28 06:58:57 +00:00