Bump pydantic version which fixes skyline-apiserver
when running under python3.11.
Closes-Bug: #2047145
Change-Id: Idb1897f64ffaf0cd0fbee4f7f198935386a5f599
When retrieving endpoints from keystone catalog, it's better to use
service_type rather than service_name because the name can be arbitrary
(some operator use custom names) while the service_type should always be
consistent.
Change-Id: I966f2d9f40b8306ba645363a4967139f44d6adde
Signed-off-by: Arnaud Morin <arnaud.morin@gmail.com>
1. add default_project_id into profile to return
2. if user has default_project_id, then we will login into
this project as default.
Change-Id: I147f7866163ae4d102e83f7c28bbf0077f463974
Now the expired time for skyline and keystone is not the same
value. Sometime, when the token of keystone is valid but the
jwt token of skyline-apiserver is invalid.
The skyline-console will send the request to backend service
and then get 401 from skyline.
So we add time_expired into cookie, then skyline-console can
check whether time expired or not.
Change-Id: Id1d3a83eb433c18e88828115e8bd744151fb14f7
request.url.port can return None in the case of default ports (80,443)
Change-Id: I07b5fdf11199afefd2996ff36c6e997e52037308
Signed-off-by: Danny Webb <danny.webb@thehutgroup.com>
1. adjust the common schemas
2. adjust the contrib schemas
3. just use schemas directly because all include in __init__.py
4. update swagger.json file
Change-Id: I4b8c366cbb439fbcb7c118329588eab1b31b9370