Files
cloudkitty/cloudkitty
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
..
2021-12-13 17:36:58 +00:00
2020-08-13 09:44:17 +00:00
2020-08-18 22:27:09 -03:00
2020-08-18 22:27:09 -03:00
2020-09-07 13:06:03 +00:00
2020-08-18 22:27:09 -03:00
2019-11-25 16:55:02 +01:00
2019-11-25 16:55:02 +01:00
2019-11-25 16:55:02 +01:00
2021-12-13 17:36:58 +00:00
2019-11-25 16:55:02 +01:00
2016-08-24 15:20:13 +00:00