python-observabilityclient 1.3.0__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/.pre-commit-config.yaml +1 -1
- python_observabilityclient-1.4.0/.stestr.conf +3 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/.zuul.yaml +5 -2
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/AUTHORS +2 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/ChangeLog +16 -0
- {python_observabilityclient-1.3.0/python_observabilityclient.egg-info → python_observabilityclient-1.4.0}/PKG-INFO +3 -3
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/prometheus_client.py +7 -3
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/test_prometheus_client.py +28 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/test_utils.py +7 -4
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/utils/metric_utils.py +2 -6
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/pyproject.toml +4 -7
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0/python_observabilityclient.egg-info}/PKG-INFO +3 -3
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/SOURCES.txt +3 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/entry_points.txt +0 -3
- python_observabilityclient-1.4.0/python_observabilityclient.egg-info/pbr.json +1 -0
- python_observabilityclient-1.4.0/releasenotes/notes/keep-session-transport-options-6ad0880b46c8b1e1.yaml +8 -0
- python_observabilityclient-1.4.0/releasenotes/source/2026.1.rst +6 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/index.rst +1 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/tox.ini +5 -13
- python_observabilityclient-1.3.0/python_observabilityclient.egg-info/pbr.json +0 -1
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/.coveragerc +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/CONTRIBUTING.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/LICENSE +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/README.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/requirements.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/api.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/conf.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/contributing.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/index.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/installation.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/shell.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/__init__.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/client.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/i18n.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/plugin.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/rbac.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/functional/__init__.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/functional/base.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/functional/test_cli.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/functional/test_python_api.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/__init__.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/test_cli.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/test_python_api.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/tests/unit/test_rbac.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/utils/__init__.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/__init__.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/base.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/cli.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/client.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/python_api.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/dependency_links.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/not-zip-safe +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/requires.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/python_observabilityclient.egg-info/top_level.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/add-root-path-192ac0e6ea99b84f.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/allow-for-providing-metric-names-list-for-rbac-e46a4fd0df3fad73.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/allow-for-specifying-rbac-label-name-f99084757cde5f19.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/change-aetos-service-type-37a53a86f4975803.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/disable-config-overrides-for-keystone-discovered-endpoints-0b36ad382f029fa0.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/fix-ipv6-escaping-faef776565954baa.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/refactor-rbac-967ed5edcc1ef2a4.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/remove-py38-acd461c4350f0dca.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/remove-py39-a3f911847e0075b6.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/notes/send-token-only-when-communicating-with-aetos-21299ccc710f6473.yaml +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/2025.1.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/2025.2.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/_static/.placeholder +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/conf.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/unreleased.rst +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/requirements.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/setup.cfg +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/setup.py +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/test-requirements.txt +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/tools/fix_ca_bundle.sh +0 -0
- {python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/tools/install_deps.sh +0 -0
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
Devstack-based functional tests for observabilityclient.
|
|
8
8
|
required-projects:
|
|
9
9
|
- openstack/python-observabilityclient
|
|
10
|
+
- openstack/aetos
|
|
10
11
|
- openstack/ceilometer
|
|
11
|
-
- openstack-k8s-operators/sg-core
|
|
12
12
|
- openstack/devstack-plugin-prometheus
|
|
13
|
+
- openstack-k8s-operators/sg-core
|
|
13
14
|
timeout: 4200
|
|
14
15
|
vars:
|
|
15
16
|
devstack_localrc:
|
|
@@ -17,9 +18,10 @@
|
|
|
17
18
|
CEILOMETER_BACKEND: sg-core
|
|
18
19
|
PROMETHEUS_CUSTOM_SCRAPE_TARGETS: "localhost:3000,localhost:9090"
|
|
19
20
|
devstack_plugins:
|
|
20
|
-
|
|
21
|
+
aetos: https://opendev.org/openstack/aetos
|
|
21
22
|
ceilometer: https://opendev.org/openstack/ceilometer
|
|
22
23
|
devstack-plugin-prometheus: https://opendev.org/openstack/devstack-plugin-prometheus
|
|
24
|
+
sg-core: https://github.com/openstack-k8s-operators/sg-core
|
|
23
25
|
devstack_services:
|
|
24
26
|
node_exporter: false
|
|
25
27
|
zuul_copy_output:
|
|
@@ -30,6 +32,7 @@
|
|
|
30
32
|
queue: telemetry
|
|
31
33
|
templates:
|
|
32
34
|
- openstack-python3-jobs
|
|
35
|
+
- openstack-python3-next-jobs
|
|
33
36
|
- publish-openstack-docs-pti
|
|
34
37
|
- check-requirements
|
|
35
38
|
- release-notes-jobs-python3
|
|
@@ -12,5 +12,7 @@ Marihan Girgis mgirgisf@redhat.com
|
|
|
12
12
|
Martin Magr <mmagr@redhat.com>
|
|
13
13
|
Martin Mágr <mmagr@redhat.com>
|
|
14
14
|
OpenStack Release Bot <infra-root@openstack.org>
|
|
15
|
+
Pavlo Shchelokovskyy <shchelokovskyy@gmail.com>
|
|
15
16
|
Takashi Kajinami <kajinamit@oss.nttdata.com>
|
|
17
|
+
Thomas Goirand <zigo@debian.org>
|
|
16
18
|
Victoria Martinez de la Cruz <victoria@redhat.com>
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
1.4.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Keep session transport options
|
|
8
|
+
* Remove Python 3.10 support
|
|
9
|
+
* Add openstack-python3-next-jobs
|
|
10
|
+
* Use pbr
|
|
11
|
+
* tox: Use new constraints option
|
|
12
|
+
* Enable Aetos
|
|
13
|
+
* Do not provide /usr/bin/aodh
|
|
14
|
+
* Update master for stable/2026.1
|
|
15
|
+
* Update gitignore to ignore md files for AI agents
|
|
16
|
+
* Apply upper constraints in release note build
|
|
17
|
+
* Add .stestr.conf to manage default OS\_TEST\_PATH
|
|
18
|
+
* tox: Drop redundant injection of VIRTUAL\_ENV variable
|
|
19
|
+
|
|
4
20
|
1.3.0
|
|
5
21
|
-----
|
|
6
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-observabilityclient
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: OpenStack Observability Client
|
|
5
5
|
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -13,12 +13,12 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
22
|
Description-Content-Type: text/markdown; charset=UTF-8
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: osc-lib>=1.0.1
|
|
@@ -53,15 +53,16 @@ class PrometheusMetric:
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
class PrometheusAPIClient:
|
|
56
|
-
def __init__(self, host, session=None, root_path=""):
|
|
56
|
+
def __init__(self, host, session=None, root_path="", scheme=None):
|
|
57
|
+
self._scheme = scheme
|
|
57
58
|
self._host = host
|
|
58
59
|
if not self._host.endswith('/'):
|
|
59
60
|
self._host += '/'
|
|
60
61
|
if session is None:
|
|
61
62
|
self._session = requests.Session()
|
|
63
|
+
self._session.verify = False
|
|
62
64
|
else:
|
|
63
65
|
self._session = session
|
|
64
|
-
self._session.verify = False
|
|
65
66
|
self._root_path = root_path
|
|
66
67
|
if root_path != "" and not self._root_path.endswith('/'):
|
|
67
68
|
self._root_path += '/'
|
|
@@ -76,7 +77,10 @@ class PrometheusAPIClient:
|
|
|
76
77
|
self._session.auth = (auth_user, auth_password)
|
|
77
78
|
|
|
78
79
|
def _get_url(self, endpoint):
|
|
79
|
-
|
|
80
|
+
if self._scheme is None:
|
|
81
|
+
scheme = 'https' if self._session.verify else 'http'
|
|
82
|
+
else:
|
|
83
|
+
scheme = self._scheme
|
|
80
84
|
return f"{scheme}://{self._host}{self._root_path}api/v1/{endpoint}"
|
|
81
85
|
|
|
82
86
|
def _get(self, endpoint, params=None):
|
|
@@ -83,6 +83,34 @@ class PrometheusAPIClientTestBase(testtools.TestCase):
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
class PrometheusAPIClientTest(PrometheusAPIClientTestBase):
|
|
86
|
+
def test_init_scheme_default(self):
|
|
87
|
+
c = client.PrometheusAPIClient("localhost:9090")
|
|
88
|
+
self.assertIsNone(c._scheme)
|
|
89
|
+
|
|
90
|
+
def test_init_scheme_passed(self):
|
|
91
|
+
c = client.PrometheusAPIClient("localhost:9090", scheme="https")
|
|
92
|
+
self.assertEqual("https", c._scheme)
|
|
93
|
+
|
|
94
|
+
def test_get_url_without_scheme_uses_verify(self):
|
|
95
|
+
c = client.PrometheusAPIClient("localhost:9090")
|
|
96
|
+
c._session.verify = False
|
|
97
|
+
self.assertEqual("http://localhost:9090/api/v1/query",
|
|
98
|
+
c._get_url("query"))
|
|
99
|
+
c._session.verify = True
|
|
100
|
+
self.assertEqual("https://localhost:9090/api/v1/query",
|
|
101
|
+
c._get_url("query"))
|
|
102
|
+
|
|
103
|
+
def test_get_url_with_scheme_ignores_verify(self):
|
|
104
|
+
c = client.PrometheusAPIClient("localhost:9090", scheme="https")
|
|
105
|
+
c._session.verify = False
|
|
106
|
+
self.assertEqual("https://localhost:9090/api/v1/query",
|
|
107
|
+
c._get_url("query"))
|
|
108
|
+
|
|
109
|
+
c = client.PrometheusAPIClient("localhost:9090", scheme="http")
|
|
110
|
+
c._session.verify = True
|
|
111
|
+
self.assertEqual("http://localhost:9090/api/v1/query",
|
|
112
|
+
c._get_url("query"))
|
|
113
|
+
|
|
86
114
|
def test_get(self):
|
|
87
115
|
url = "test"
|
|
88
116
|
root_path = "root_path"
|
|
@@ -115,7 +115,7 @@ class GetPrometheusClientTest(testtools.TestCase):
|
|
|
115
115
|
"set_ca_cert") as ca_m:
|
|
116
116
|
metric_utils.get_prometheus_client(keystone_session)
|
|
117
117
|
init_m.assert_called_with(
|
|
118
|
-
"localhost:1234", keystone_session, "prometheus"
|
|
118
|
+
"localhost:1234", keystone_session, "prometheus", scheme="http"
|
|
119
119
|
)
|
|
120
120
|
ca_m.assert_not_called()
|
|
121
121
|
|
|
@@ -133,9 +133,11 @@ class GetPrometheusClientTest(testtools.TestCase):
|
|
|
133
133
|
"set_ca_cert") as ca_m:
|
|
134
134
|
metric_utils.get_prometheus_client(keystone_session)
|
|
135
135
|
init_m.assert_called_with(
|
|
136
|
-
"localhost:1234", keystone_session, "prometheus"
|
|
136
|
+
"localhost:1234", keystone_session, "prometheus", scheme="https"
|
|
137
137
|
)
|
|
138
|
-
|
|
138
|
+
# Session transport options (verify/insecure) must be preserved;
|
|
139
|
+
# do not override them based on the endpoint URL scheme.
|
|
140
|
+
ca_m.assert_not_called()
|
|
139
141
|
|
|
140
142
|
def test_get_prometheus_client_from_env_vars_ipv6(self):
|
|
141
143
|
patched_env = {'PROMETHEUS_HOST': '2607:5300:201:2000::654',
|
|
@@ -178,7 +180,8 @@ class GetPrometheusClientTest(testtools.TestCase):
|
|
|
178
180
|
"set_ca_cert") as ca_m:
|
|
179
181
|
metric_utils.get_prometheus_client(keystone_session)
|
|
180
182
|
init_m.assert_called_with(
|
|
181
|
-
"[2607:5300:201:2000::654]:80", keystone_session, "prometheus"
|
|
183
|
+
"[2607:5300:201:2000::654]:80", keystone_session, "prometheus",
|
|
184
|
+
scheme="http"
|
|
182
185
|
)
|
|
183
186
|
ca_m.assert_not_called()
|
|
184
187
|
|
|
@@ -59,18 +59,14 @@ def get_prom_client_from_keystone(session, adapter_options=None):
|
|
|
59
59
|
|
|
60
60
|
escaped_host = netutils.escape_ipv6(parsed_url.hostname)
|
|
61
61
|
root_path = parsed_url.path.strip('/')
|
|
62
|
-
tls = parsed_url.scheme == "https"
|
|
63
62
|
|
|
64
63
|
if parsed_url.port is not None:
|
|
65
64
|
url = f'{escaped_host}:{parsed_url.port}'
|
|
66
65
|
else:
|
|
67
66
|
url = escaped_host
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
if tls:
|
|
72
|
-
client.set_ca_cert(True)
|
|
73
|
-
return client
|
|
68
|
+
return PrometheusAPIClient(
|
|
69
|
+
url, session, root_path, scheme=parsed_url.scheme)
|
|
74
70
|
|
|
75
71
|
|
|
76
72
|
def get_prom_client_from_file_or_env():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = [
|
|
3
|
-
build-backend =
|
|
2
|
+
requires = ["pbr>=6.1.1"]
|
|
3
|
+
build-backend = "pbr.build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-observabilityclient"
|
|
@@ -11,7 +11,7 @@ authors = [
|
|
|
11
11
|
readme = {file = "README.rst", content-type = "text/markdown; charset=UTF-8"}
|
|
12
12
|
license = {text = "Apache-2.0"}
|
|
13
13
|
dynamic = ["version", "dependencies"]
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Environment :: Console",
|
|
17
17
|
"Environment :: OpenStack",
|
|
@@ -22,10 +22,10 @@ classifiers = [
|
|
|
22
22
|
"Operating System :: OS Independent",
|
|
23
23
|
"Programming Language :: Python",
|
|
24
24
|
"Programming Language :: Python :: 3",
|
|
25
|
-
"Programming Language :: Python :: 3.10",
|
|
26
25
|
"Programming Language :: Python :: 3.11",
|
|
27
26
|
"Programming Language :: Python :: 3.12",
|
|
28
27
|
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Programming Language :: Python :: 3.14",
|
|
29
29
|
"Programming Language :: Python :: 3 :: Only",
|
|
30
30
|
]
|
|
31
31
|
|
|
@@ -34,9 +34,6 @@ packages = [
|
|
|
34
34
|
"observabilityclient"
|
|
35
35
|
]
|
|
36
36
|
|
|
37
|
-
[project.scripts]
|
|
38
|
-
aodh = "aodhclient.shell:main"
|
|
39
|
-
|
|
40
37
|
[project.entry-points."openstack.cli.extension"]
|
|
41
38
|
observabilityclient = "observabilityclient.plugin"
|
|
42
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-observabilityclient
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: OpenStack Observability Client
|
|
5
5
|
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -13,12 +13,12 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
22
|
Description-Content-Type: text/markdown; charset=UTF-8
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: osc-lib>=1.0.1
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.coveragerc
|
|
2
2
|
.pre-commit-config.yaml
|
|
3
|
+
.stestr.conf
|
|
3
4
|
.zuul.yaml
|
|
4
5
|
AUTHORS
|
|
5
6
|
CONTRIBUTING.rst
|
|
@@ -56,12 +57,14 @@ releasenotes/notes/allow-for-specifying-rbac-label-name-f99084757cde5f19.yaml
|
|
|
56
57
|
releasenotes/notes/change-aetos-service-type-37a53a86f4975803.yaml
|
|
57
58
|
releasenotes/notes/disable-config-overrides-for-keystone-discovered-endpoints-0b36ad382f029fa0.yaml
|
|
58
59
|
releasenotes/notes/fix-ipv6-escaping-faef776565954baa.yaml
|
|
60
|
+
releasenotes/notes/keep-session-transport-options-6ad0880b46c8b1e1.yaml
|
|
59
61
|
releasenotes/notes/refactor-rbac-967ed5edcc1ef2a4.yaml
|
|
60
62
|
releasenotes/notes/remove-py38-acd461c4350f0dca.yaml
|
|
61
63
|
releasenotes/notes/remove-py39-a3f911847e0075b6.yaml
|
|
62
64
|
releasenotes/notes/send-token-only-when-communicating-with-aetos-21299ccc710f6473.yaml
|
|
63
65
|
releasenotes/source/2025.1.rst
|
|
64
66
|
releasenotes/source/2025.2.rst
|
|
67
|
+
releasenotes/source/2026.1.rst
|
|
65
68
|
releasenotes/source/conf.py
|
|
66
69
|
releasenotes/source/index.rst
|
|
67
70
|
releasenotes/source/unreleased.rst
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "3c745ef", "is_release": true}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
fixes:
|
|
3
|
+
- |
|
|
4
|
+
Preserve transport options (such as ``verify`` / ``insecure``) on a
|
|
5
|
+
pre-created Keystone session when talking to Aetos. Previously, TLS
|
|
6
|
+
verification was forced on solely from the endpoint URL scheme, which
|
|
7
|
+
prevented using observabilityclient against endpoints with self-signed
|
|
8
|
+
certificates configured via ``clouds.yaml`` / openstackclient.
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
[tox]
|
|
2
|
-
minversion = 4.
|
|
2
|
+
minversion = 4.28.0
|
|
3
3
|
envlist = py3,pep8
|
|
4
4
|
|
|
5
5
|
[testenv]
|
|
6
6
|
usedevelop = True
|
|
7
|
-
setenv =
|
|
8
|
-
VIRTUAL_ENV={envdir}
|
|
9
|
-
OBSERVABILITY_CLIENT_EXEC_DIR={envdir}/bin
|
|
10
|
-
OS_TEST_PATH = ./observabilityclient/tests/unit
|
|
11
7
|
passenv =
|
|
12
8
|
PROMETHEUS_*
|
|
13
9
|
OBSERVABILITY_*
|
|
10
|
+
constraints =
|
|
11
|
+
{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
14
12
|
deps =
|
|
15
|
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
16
13
|
-r{toxinidir}/requirements.txt
|
|
17
14
|
-r{toxinidir}/test-requirements.txt
|
|
18
|
-
commands = stestr run --slowest
|
|
15
|
+
commands = stestr run --slowest {posargs}
|
|
19
16
|
|
|
20
17
|
[testenv:pep8]
|
|
21
18
|
skip_install = true
|
|
@@ -29,8 +26,7 @@ commands = {posargs}
|
|
|
29
26
|
|
|
30
27
|
[testenv:cover]
|
|
31
28
|
setenv =
|
|
32
|
-
|
|
33
|
-
PYTHON=coverage run --source observabilityclient --parallel-mode
|
|
29
|
+
PYTHON=coverage run --source observabilityclient --parallel-mode
|
|
34
30
|
commands =
|
|
35
31
|
coverage erase
|
|
36
32
|
{[testenv]commands}
|
|
@@ -51,7 +47,6 @@ commands =
|
|
|
51
47
|
|
|
52
48
|
[testenv:docs]
|
|
53
49
|
deps =
|
|
54
|
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
55
50
|
-r{toxinidir}/requirements.txt
|
|
56
51
|
-r{toxinidir}/doc/requirements.txt
|
|
57
52
|
commands = sphinx-build --keep-going -b html doc/source doc/build/html
|
|
@@ -80,7 +75,4 @@ application-import-names = observabilityclient
|
|
|
80
75
|
[testenv:releasenotes]
|
|
81
76
|
deps =
|
|
82
77
|
-r{toxinidir}/doc/requirements.txt
|
|
83
|
-
-r{toxinidir}/requirements.txt
|
|
84
|
-
allowlist_externals =
|
|
85
|
-
sphinx-build
|
|
86
78
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "5e7f98b", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/contributing.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/doc/source/installation.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/client.py
RENAMED
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/i18n.py
RENAMED
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/plugin.py
RENAMED
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/rbac.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/base.py
RENAMED
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/observabilityclient/v1/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/2025.1.rst
RENAMED
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/2025.2.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/releasenotes/source/conf.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_observabilityclient-1.3.0 → python_observabilityclient-1.4.0}/tools/fix_ca_bundle.sh
RENAMED
|
File without changes
|
|
File without changes
|