KevinMackenzie / incubator-trafficcontrol

Mirror of Apache Traffic Control (incubating)
Apache License 2.0
0 stars 0 forks source link

Test Modifying the Ort Script on Traffic Server #2

Closed KevinMackenzie closed 7 years ago

KevinMackenzie commented 7 years ago

To figure out how to integrate with Traffic Control, we should start small, just trying to add a basic service in Go that can build with the rest of the Traffic Control project and be run alongside it.

KevinMackenzie commented 7 years ago

Since the Ort Script seems to figure out what the differences are between the two configs already, we just need to modify this script to submit this information to Traffic Ops. We will still need to know how this script works, so that is what this issue has become.

KevinMackenzie commented 7 years ago

It appears the critical information is held in the process_config_file in the traffic_ops_ort.pl script. In particular, the db_lines_missing and disk_lines_missing variables.

KevinMackenzie commented 7 years ago

Switching to the ort script on the master branch after switching traffic ops to master, the lwp_get is compatible with the new endpoints with the Golang apis and properly decompresses the gzip information.