Skip to content

Commit

Permalink
Update Topology Cache Group Servers table to use AG-Grid (#7849)
Browse files Browse the repository at this point in the history
* Update Topology Cache Group Servers table to use AG-Grid

* reformat code + add case undefined update cache group

* remove toggle test

* add open topology menu

* fix return wrong value when update cache groups

* update delete cache group success message for testable

* fix delete cg validation message
  • Loading branch information
ntheanh201 authored Nov 12, 2023
1 parent c9b80f9 commit 5f6b1c6
Show file tree
Hide file tree
Showing 7 changed files with 399 additions and 437 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Changed
- [#7614](https://github.com/apache/trafficcontrol/pull/7614) *Traffic Ops* The database upgrade process no longer overwrites changes users may have made to the initially seeded data.
- [#7832](https://github.com/apache/trafficcontrol/pull/7832) *t3c* Removed perl dependency
- Updated the CacheGroups Traffic Portal page to use a more performant AG-Grid-based table.

## [8.0.0] - 2023-09-20
### Added
Expand Down
3 changes: 1 addition & 2 deletions traffic_ops/traffic_ops_golang/cachegroup/cachegroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -1405,8 +1405,7 @@ func DeleteCacheGroup(w http.ResponseWriter, r *http.Request) {
return
}

alertMessage := fmt.Sprintf("%s was deleted.", ID)
alerts := tc.CreateAlerts(tc.SuccessLevel, alertMessage)
alerts := tc.CreateAlerts(tc.SuccessLevel, "cache group was deleted.")
api.WriteAlerts(w, r, http.StatusOK, alerts)
return
}
Expand Down
Loading

0 comments on commit 5f6b1c6

Please sign in to comment.