You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by dewrich <gi...@git.apache.org> on 2017/08/01 14:40:35 UTC

[GitHub] incubator-trafficcontrol pull request #729: Traffic Ops Golang Incremental R...

Github user dewrich commented on a diff in the pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/729#discussion_r130626620
  
    --- Diff: docs/source/admin/traffic_ops/configuration.rst ---
    @@ -296,5 +296,8 @@ This is a standard kickstart formatted file that the generate ISO process uses t
     .. seealso:: For in-depth instructions, please see `Kickstart Installation <https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-howuse.html>`_
     
     
    +Configuring the Go Application
    +=======================
    +Traffic Ops is in the process of migrating from Perl to Go, and currently runs as two applications. The Go application serves all endpoints which have been rewritten in the Go language, and transparently proxies all other requests to the old Perl application. Both applications are installed by the RPM, and both run as a single service. When the project has fully migrated to Go, the Perl application will be removed, and the RPM and service will consist solely of the Go application.
     
    -
    +By default, the postinstall script configures the Go application to behave and transparently serve as the old Perl Traffic Ops did in previous versions. This includes reading the old ``cdn.conf`` and ``database.conf`` config files, and logging to the old ``access.log`` location. However, if you wish to customize the Go Traffic Ops application, you can do so by running it with the ``-oldcfg=false`` argument. By default, it will then look for a config file in ``/opt/traffic_ops/conf/traffic_ops_golang.json``. The new config file location may also be customized via the ``-cfg`` flag. A sample config file is installed by the RPM at ``/opt/traffic_ops/conf/traffic_ops_golang.json``. If you wish to run the new Go Traffic Ops application as a service with a new config file, the ``-oldcfg=false`` and  ``-cfg`` flags may be added to the ``start`` function in the service file, located by default at ``etc/init.d/traffic_ops``.
    --- End diff --
    
    where do I find this `/opt/traffic_ops/conf/traffic_ops_golang.json` I only see `/opt/traffic_ops/conf/traffic_ops_golang.config` in the project, which is why I commented on it being documented as `.json`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---