]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add dueTime to rgw bucket validator 57698/head
authorNizamudeen A <nia@redhat.com>
Fri, 24 May 2024 15:16:17 +0000 (20:46 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 11 Jun 2024 14:32:52 +0000 (20:02 +0530)
commitc053782cc5d7f3f4493094d37b164e0531f46caf
treed115080ced9631b0e14df1bb812d99a11a5de83c
parentaf71de46d8fa447c64ff26cdf94d119b80c51fdf
mgr/dashboard: add dueTime to rgw bucket validator

the unique async validator which checks if the typed bucket is existing
or not in the bucket creation form sends a request to the backend on
each keystroke. Each keystroke will raise an exception if the bucket is
not found.

Fixes: https://tracker.ceph.com/issues/66221
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/buckets.po.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts