cloudkitty/cloudkitty/api/v1/controllers
Rafael Weingärtner 28f8bd4a73 Fix quote API
The quote API method has been broken for a while now. This patch fixes
the API and makes it work again. To use it, one can issue the following
command.

    curl -s -X POST "http://cloudkitty_server_and_port/v1/rating/quote" -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: ${ACCESS_TOKEN_KEYSTONE}" -d '{"resources": [{"service": "<cloudkitty_service_name>", "volume": "<quantity_to_quote>", "desc": {"metadata": {"<field_name_used_to_define_price>": "<value_to_activate_a_price>"}}}]}'

Change-Id: Ia6ef6543a5100445b203196d39b404bc74b75ba0
Story: 2009022
Task: 42744
(cherry picked from commit 21a873041c)
2021-12-13 17:36:58 +00:00
..
__init__.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
collector.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
info.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
rating.py Fix quote API 2021-12-13 17:36:58 +00:00
report.py Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
storage.py Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00