himanshumaurya09876 opened a new pull request, #4132:
URL: https://github.com/apache/ambari/pull/4132
AMBARI-26600 : Ambari Web React: Implement service models and config updater
hooks
Co-authored-by : shaur97
## What changes were proposed in this pull request?
- 19 service model classes (models/) extending a base Service class — one
per supported service (HDFS, YARN, HBase, Hive, Spark3, Ranger, Kerberos,
ZooKeeper, Kyuubi, Trino, Pinot, SSM, Sqoop, Tez, MapReduce2, Ambari Metrics,
Ranger KMS, Trino Gateway)
- 18 config updater hooks (hooks/use*ConfigUpdater.ts) — each hook polls
the cached service API, transforms the response into the corresponding service
model, and pushes updated state into the service registry
- 1 service factory (factory/serviceFactory.ts) — maps service names to
their model constructors
- Updated 5 existing host-related models and 4 enum files to align with
the new model infrastructure
## How was this patch tested?
Manual testing and local build
<img width="1472" height="371" alt="Screenshot 2026-05-25 at 12 04 34 AM"
src="https://github.com/user-attachments/assets/6b915c30-f270-4dfc-9f2d-e575ffeb633c"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]