diff options
author | Pedro Henrique <phpm13@gmail.com> | 2022-07-18 16:53:23 -0300 |
---|---|---|
committer | Pedro Henrique <phpm13@gmail.com> | 2022-09-01 10:07:29 -0300 |
commit | 225f1cd7765ddb7b725c538944947ada8c52e73f (patch) | |
tree | 01cf3bdb29a4c99bf3b98802d789e5435b0605bf /requirements.txt | |
parent | ce52d50c845fbf098a2a22ca6649dcb00a90d7e3 (diff) | |
download | ceilometer-225f1cd7765ddb7b725c538944947ada8c52e73f.tar.gz |
Add response handlers to support different response types
Problem description
===================
The dynamic pollsters only support APIs that produce
JSON responses. Therefore the dynamic pollsters do not
support APIs where the response is an XML or not Restful
compliant APIs with HTTP 200 within a plain text message
on errors.
Proposal
========
To allow the dynamic pollsters to support other APIs
response formats, we propose to add a response handling
that supports multiple response types. It must be
configurable in the dynamic pollsters YAML. The default
continues to be JSON.
Change-Id: I4886cefe06eccac2dc24adbc2fad2166bcbfdd2c
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index 38c64c34..386510f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. +xmltodict>=0.13.0 # MIT License cachetools>=2.1.0 # MIT License cotyledon>=1.3.0 #Apache-2.0 futurist>=1.8.0 # Apache-2.0 |