apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 340 forks source link

Traffic Portal - The profile type for a grove profile is not shown. #2804

Closed jrushford closed 5 years ago

jrushford commented 5 years ago

Recently a GROVE_PROFILE type was added to trafficcontrol. A grove profile type has been added but in traffic portal when viewing the details of this profile, they 'type' is set to 'select'. The drop down to change the type does not show a 'GROVE_PROFILE'. In traffic ops, the grove profile is displayed properly.

mitchell852 commented 5 years ago

you'll want to add that type to here:

https://github.com/apache/trafficcontrol/blob/master/traffic_portal/app/src/common/modules/form/profile/FormProfileController.js#L31

obviously, hardcoding this list is not ideal but i don't believe there is an API currently to fetch the list of profile types...

dangogh commented 5 years ago

interesting those aren't in the types table at all.....