ocket8888 edited a comment on pull request #6532:
URL: https://github.com/apache/trafficcontrol/pull/6532#issuecomment-1029135839


   > maybe there's a way to abstract out similar pieces?
   
   The only truly similar parts are in the data-sets, and that similarity is 
honestly merely skin-deep. Other than that they don't run the same way, aren't 
packaged the same, and the service containers differ all the way down to the 
level of which OS they run on (distro, really). The way the CiaB "enroller" 
works is meant to be generic, it allows loading (somewhat) arbitrary data sets 
using the TO API - because of that, it has to wait for TO to be available and 
then each service that wants to exist is responsible for using it to "enroll" 
itself. The dev environment has some static data being inserted directly into 
the database, which allows each container to be started and stopped 
independently without creating any conflicting data, whereas CiaB needs to be 
entirely stopped and started together, but doesn't allow for arbitrary 
extension e.g. via the "optional" docker-compose files found in the CiaB 
directory.


-- 
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]


Reply via email to