9 Commits

Author SHA1 Message Date
Mike Fedosin
f669aba20c Add ssl options to keycloak auth module
Change-Id: I8ac595de304b627ef2f701fcf78644be854438ec
2017-08-10 18:22:49 +03:00
Mike Fedosin
d6295716f9 Add 'list-types' and 'schema' operation in native shell
Change-Id: I0dbc6647e592032eb442e5c622ff53816b9b254d
2017-03-27 17:51:57 +03:00
Mike Fedosin
36f0e7318d Add keycloak auth support
Change-Id: I88c79656fbc6cd9c055569979083ef385ba84563
2017-03-16 14:41:29 +03:00
Sergey Skripnick
5e85f0fc3c HTTP Client refactoring
Library `requests` can handle files, pipes, dictionaries and iterators
as `data` argument.

Use 'json' argument to send json requests.

Rewrite some unittests using mock.

Change-Id: I95b71eb2716dc57708ed105659ffece376bd8344
2017-01-17 16:35:26 +03:00
Mike Fedosin
b3394f4b52 Allow to set content-type for uploading blobs
Change-Id: I97446773544c05cb700385ab60ca7bd5f0a611b5
2016-09-28 20:36:57 +03:00
Darja Malyavkina
b28abd04d2 Add new common/http
Change-Id: I35ac71af1f648537231b01cca9be455bddd3cc80
2016-09-27 13:48:42 +03:00
Darja Malyavkina
4814f9bc50 Fix "Invalid content type"
Invalid content type: application/octet-stream.
Expected: application/json

Change-Id: I50f8142cde85310ea913220a815b667967f9f82b
2016-09-23 15:21:08 +03:00
Darja Malyavkina
9badd14b77 Fix several errors:
* Invalid content type: application/json.
  Expected: application/json-patch+json.

* 'Controller' object has no attribute 'reactivete'/'deactivete'.

Change-Id: I07b13dbe357307911006237cddb2a7e6a35f0255
2016-09-19 13:44:17 +03:00
Darja Malyavkina
6005eb8b3b Glare client code
Taken from https://github.com/dshakhray/python-glareclient

Change-Id: If0e7e5cd0e39281f725df21308a18ed6caa8a009
2016-09-12 14:24:03 +03:00