]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix token polling req in multi-cluster UI 62194/head
authorNizamudeen A <nia@redhat.com>
Sat, 8 Mar 2025 08:24:58 +0000 (13:54 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 10 Mar 2025 07:59:29 +0000 (13:29 +0530)
commitbf6faed0010c22ff599cc2e2e5e7f91f723bfdea
tree7f8416dd685e8fe2c43d69bd2b66ddeea8eeb9dd
parent224a0e7e1a42ba8c3cf0fab7c5d8243beff6da57
mgr/dashboard: fix token polling req in multi-cluster UI

the req sends the details of every cluster's token in a GET req which is
insecure and gets logged in browser and server logs.. fixing that and
also stop polling token status every 5s and resort to the 10m interval

Fixes: https://tracker.ceph.com/issues/70371
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/controllers/multi_cluster.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster-list/multi-cluster-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/multi-cluster.service.ts
src/pybind/mgr/dashboard/openapi.yaml