This is an automated email from the ASF dual-hosted git repository. sandeepk318 pushed a commit to branch fixBuildFailures in repository https://gitbox.apache.org/repos/asf/ambari.git
commit d09c0dd9910fef40d02db7154c2fbf14e18eb6cf Author: Sandeep Kumar <[email protected]> AuthorDate: Wed Jul 29 15:28:23 2026 +0530 AMBARI-26621:Fix build failures in Ambari modernised UI --- ambari-admin/src/main/resources/ui/ambari-admin/src/clusterHost.ts | 2 +- .../ClusterManagement/RemoteCluster/RegisterRemoteCluster.test.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ambari-admin/src/main/resources/ui/ambari-admin/src/clusterHost.ts b/ambari-admin/src/main/resources/ui/ambari-admin/src/clusterHost.ts index aa15064210..fc6150ce2c 100644 --- a/ambari-admin/src/main/resources/ui/ambari-admin/src/clusterHost.ts +++ b/ambari-admin/src/main/resources/ui/ambari-admin/src/clusterHost.ts @@ -1,4 +1,4 @@ -// export const DEV_VITE_API_PROXY_TARGET="http://sl73tskrapd1164.visa.com:8080" +// export const DEV_VITE_API_PROXY_TARGET="http://host_name:8080" // export const PROD_VITE_API_PROXY_TARGET="" // // # When setting up the project, make sure to set the TOKEN environment variable. diff --git a/ambari-admin/src/main/resources/ui/ambari-admin/src/tests/components/ClusterManagement/RemoteCluster/RegisterRemoteCluster.test.tsx b/ambari-admin/src/main/resources/ui/ambari-admin/src/tests/components/ClusterManagement/RemoteCluster/RegisterRemoteCluster.test.tsx index 71c8880498..7658f2482a 100644 --- a/ambari-admin/src/main/resources/ui/ambari-admin/src/tests/components/ClusterManagement/RemoteCluster/RegisterRemoteCluster.test.tsx +++ b/ambari-admin/src/main/resources/ui/ambari-admin/src/tests/components/ClusterManagement/RemoteCluster/RegisterRemoteCluster.test.tsx @@ -138,7 +138,7 @@ describe("RegisterRemoteCluster component", () => { fireEvent.change(getClusterName(), { target: { value: "TestCluster1" } }); fireEvent.change(getClusterUrl(), { target: { - value: "http://clusterHost.visa.com:8080/api/v1/clusters/clusterName", + value: "http://clusterHost:8080/api/v1/clusters/clusterName", }, }); fireEvent.change(getClusterUserName(), { target: { value: "admin" } }); @@ -163,7 +163,7 @@ describe("RegisterRemoteCluster component", () => { fireEvent.change(getClusterName(), { target: { value: "TestCluster1" } }); fireEvent.change(getClusterUrl(), { target: { - value: "http://clusterHost.visa.com:8080/api/v1/clusters/clusterName", + value: "http://clusterHost:8080/api/v1/clusters/clusterName", }, }); fireEvent.change(getClusterUserName(), { target: { value: "admin" } }); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
