This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 356
Flexible Topologies in Traffic Ops and Traffic Portal #4633
Merged
Merged
Changes from all commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
83f1492
Topology Goose migrations
zrhoffman 8b60fa6
POST /topologies
zrhoffman 70b90dd
Create all nodes in a single query and all parents in a single query
zrhoffman 165e98e
Validation so far
zrhoffman e73d292
Topologies endpoints for TO Python client
zrhoffman 5377035
Topologies endpoint functions for Go client library
zrhoffman 3c65025
GET /topologies
zrhoffman 3c13fcc
adds toplogy views
mitchell852 e0f0a83
adds ability to add cache groups to a top
mitchell852 9b4efec
adds fake origin layer
mitchell852 9cf09ac
only allow org_loc to be at top of topology and moved some files around
mitchell852 dbb52a2
adds the ability to see all servers assigned to a topology cg
mitchell852 215eb7b
adds the ability to view servers for a cachgroup from the cg assignme…
mitchell852 32d01d3
adds the ability to select a 2nd parent cg
mitchell852 640bd0a
adds the ability to assign a second parent to nodes
mitchell852 986fe09
some code cleanup
mitchell852 17cb95f
allows the selection of an item as well as determining whether a sele…
mitchell852 14ac745
allows the selection of an item as well as determining whether a sele…
mitchell852 51c9ec1
adds error message to node and cleanup
mitchell852 05f5fb4
hooks up topology save in a fake way until api is ready
mitchell852 8498ffa
moves some more functionality into topologyutils
mitchell852 f593e49
turning off create temporarily
mitchell852 21962be
makes a copy of the topology nodes to break references
mitchell852 b2eb799
added note to json section
mitchell852 ea2f5f1
removes uneccesary id and type from normalized topology
mitchell852 6b659fb
fixed but with root type
mitchell852 c67f2e3
disables save button if topology has errors
mitchell852 bf89547
fixes the select all button
mitchell852 b7ee1f4
fixes column widths in cg selection pane
mitchell852 c6514c8
adds the ability to create a topology
mitchell852 b6c1b1a
messing with some styles
mitchell852 b091175
changes top.desc to top.description and hooks up GET and POST topologies
mitchell852 466290a
adds MIT license info for angular-ui-tree component
mitchell852 6e36978
moves tree css into own file
mitchell852 963d4e6
moves css back to correct spot
mitchell852 bc8e0d6
adds license info for angular-ui-tree css
mitchell852 c1f6250
moving fake stubs and halting non-implemented functionality
mitchell852 003af41
Fix merge conflicts
zrhoffman 902b329
Bugfix: Order parents inside array_agg to support 2 parents
zrhoffman f46875b
fixes bug where parent was not being set properly when only one valid…
mitchell852 9d31c78
performed some cleanup and added some comments (#3)
mitchell852 410d0e6
Bugfix: Return a propert HTTP status code from Read()
zrhoffman 3288660
Abstract out adding nodes and adding parents into their own methods
zrhoffman 41aa973
PUT /topologies?name={{name}}
zrhoffman 29a155e
Select query: Specify that we wants parents of a cachegroup in a
zrhoffman 31f389a
more cleanup (#4)
mitchell852 fccf22b
Bugfix: Rebind topology variable for a new topology
zrhoffman b186135
PUT /topologies?name={{name}} route
zrhoffman 8435ddf
Bugfix: Do not mutate params when getting a cachegroup by name
zrhoffman fe4f1a8
hooks in topologies PUT (#5)
mitchell852 c3566f8
DELETE /topologies?name={{name}}
zrhoffman 8d35234
hooks topology delete up in TP (#6)
mitchell852 9738e9a
Make tc.Topology.Nodes a pointer
zrhoffman 8dc3521
Check for cycles in the topology
zrhoffman eb588cc
Check for leaf mids
zrhoffman 49ec8bc
Validation improvements
zrhoffman c707dc4
Topologies API tests
zrhoffman bb00e0f
Fix topologies API tests
zrhoffman 4597159
Do not let a topology node be a parent of itself
zrhoffman 8d62585
Topologies docs
zrhoffman 059757a
Add license headers
zrhoffman 18e1d24
TO Changelog entry
zrhoffman 67100b9
adds expand on hover (zrhoffman/trafficcontrol#7)
mitchell852 c42a548
PUT and DELETE should be auth.PrivLevelOperations
zrhoffman 689cdb0
removes some uses of underscore.js (zrhoffman/trafficcontrol#8)
mitchell852 66e8d79
hides topologies menu item until feature is complete (zrhoffman/traff…
mitchell852 a4d2563
Newer timestamps for Topologies goose migration
zrhoffman 3c3c913
changes per PR review (zrhoffman/trafficcontrol#10)
mitchell852 3f196b2
removes debugging pane (zrhoffman/trafficcontrol#11)
mitchell852 dafde72
Underline/overline just right
zrhoffman 542c8a2
Use spaces for alignment
zrhoffman 6c2aef8
gofmt
zrhoffman a59a5da
fixes license issues (zrhoffman/trafficcontrol#12)
mitchell852 6870975
Return err, not nil
zrhoffman f39f334
Return the result of api.ParseDBError() instead of binding it to
zrhoffman 817c030
Add function name and period
zrhoffman fbd99fa
Simplify child/parent/rank uniqueness constraint
zrhoffman beb816b
id column: serial -> bigserial
zrhoffman 0e6844f
Add an extra newline before each sub-list
zrhoffman 31b3a59
Add a period
zrhoffman afbc8f1
Add a content type to the POST request
zrhoffman 73b5837
Add a content-type header to the PUT request
zrhoffman 2a3f533
Add godocs
zrhoffman 92b3d82
Capitalize Topology
zrhoffman 426e29e
Remove tabs from migration
zrhoffman 7392f5d
Revert "Simplify child/parent/rank uniqueness constraint"
zrhoffman 5f83977
Merge remote-tracking branch 'atc/master' into topologies
zrhoffman ba4d584
Move Topologies from API v2.0 to v3.0
zrhoffman 61979e3
Updated docs API version
zrhoffman 6502edc
adds button type (zrhoffman/trafficcontrol#13)
mitchell852 0568cee
upgrades TP from api v2 to v3 (zrhoffman/trafficcontrol#14)
mitchell852 c34afcd
reverts TP to v2 and introduces v3 for topologies (zrhoffman/trafficc…
mitchell852 db6e364
fixes bug where if you select all and then filter, the all selection …
mitchell852 855560d
Do not use pointers for topology nodes
zrhoffman 36e0854
Fix warnings
zrhoffman d04cfd8
Group import with other TO imports
zrhoffman 0dcac11
UpdateTopologyByID -> UpdateTopology
zrhoffman 067fac7
No need to load Parameters objects for Topologies tests
zrhoffman 1d93481
Swap comments
zrhoffman bee8af9
Make a struct for invalid topologies instead of twi separate slices
zrhoffman 1a10131
Make failed assertions fatal
zrhoffman 95c9731
- Test UpdateTopologies
zrhoffman e86c7b2
Fix mixed up variable names from resolving "Receiver names are
zrhoffman 4146f5b
Retrieve all cache groups for topology validation in a single query
zrhoffman 64adb7a
Rename cachegroup type constants
zrhoffman 3a9d316
Move parentCachegroup2 fixture to v3 API tests
zrhoffman 4fb9ef4
Correct term: Topology -> Cache Group
zrhoffman 9101c1f
gofmt
zrhoffman 73fb323
Defer closing DB connections
zrhoffman 908e9fb
No need to delete nodes and parents when deleting an entire topology
zrhoffman c3cbf21
Remove unnecessary blank argument
zrhoffman cf84207
Use log.Close() to close responses
zrhoffman 7430420
adds changelog entry and shows topologies menu item in TP (zrhoffman/…
mitchell852 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.