You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ar...@apache.org on 2026/01/29 11:34:52 UTC

(ambari) branch frontend-refactor updated: AMBARI:-26572: Ambari Web React: Component actions for clients - Refresh Configs (#4104)

This is an automated email from the ASF dual-hosted git repository.

arshad pushed a commit to branch frontend-refactor
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/frontend-refactor by this push:
     new ccb336f80f AMBARI:-26572: Ambari Web React: Component actions for clients - Refresh Configs (#4104)
ccb336f80f is described below

commit ccb336f80f07bdbe4c22ad2f436485315dec5e68
Author: Sandeep  Kumar <sk...@visa.com>
AuthorDate: Thu Jan 29 17:04:47 2026 +0530

    AMBARI:-26572: Ambari Web React: Component actions for clients - Refresh Configs (#4104)
---
 ambari-web/latest/src/screens/Hosts/actions.tsx | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ambari-web/latest/src/screens/Hosts/actions.tsx b/ambari-web/latest/src/screens/Hosts/actions.tsx
index 4abfdef009..9fb82d38dc 100644
--- a/ambari-web/latest/src/screens/Hosts/actions.tsx
+++ b/ambari-web/latest/src/screens/Hosts/actions.tsx
@@ -435,4 +435,11 @@ export const toggleMaintenanceMode = async (component: IHostComponent) => {
     componentName,
     data
   );
+};
+export const refreshConfigs = async (component: IHostComponent) => {
+  const message = t("rollingrestart.context.ClientOnSelectedHost")
+    .replace("{0}", getComponentDisplayName(component))
+    .replace("{1}", get(component, "hostName"));
+
+  restartHostComponents([component], message, "HOST");
 };
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org