<DaemonConfig>
    CType: ${CType}
    AccessLog : ${LogDir}/current-access.log
    IndexLog : ${LogDir}/current-index.log
    LoggerType : ${LogDir}/current-global.log
    LogLevel : 6
    LogRotation : false
    MetricsMaxAge : 10
    MetricsPrefix : Refresh_
    StdErr : console
    StdOut : console
    <Controller>
        ClientTimeout : 200
        ConfigsControl : false
        ConfigsRoot :
        Log : ${LogDir}/current-controller
        MaxConnections : 0
        MaxQueue : 0
        Port : ${ControllerPort or "1201"}
        StartServer : 1
        StateRoot : ${LogDir}/state
        Threads : 20
        <DMOptions>
            ConnectionTimeout : 100
            CType : prestable
            Enabled : 0
            Host : localhost
            InteractionTimeout : 60000
            Port : 15112
            ServiceType : rtyserver
            Slot : heiosts:12312
            TimeoutS : 45
        </DMOptions>
    </Controller>
</DaemonConfig>
<Server>
    EventLog : ${LogDir}/current-server.log
    <HttpServer>
        Port:${BasePort or "1200"}
        Threads: 16
        CompressionEnabled: true
    </HttpServer>

    <UsersManager>
        Type: transparent
    </UsersManager>

    <RolesManager>
        Type: configured
    </RolesManager>

    <PermissionsManager>
        Type: configured
        DefaultUser: default-user
        <Users>
            <default-user>
                Roles: default
            </default-user>
        </Users>
    </PermissionsManager>

    <Monitoring>
        Method: pull
        Port: 3400
        <Labels>
             dc: ${DATACENTER_CODE}
        </Labels>
    </Monitoring>

    <Settings>
        Type: fake
        DBName: fake
        Freshness: 1s
    </Settings>

    <RequestHandlers>
        <default>
            ThreadsCount: 16
        </default>
    </RequestHandlers>

    <RequestProcessing>
    </RequestProcessing>

    <AuthModules>
        <fake>
            Type: fake
            DefaultUserId: system-admin
        </fake>
    </AuthModules>

    <AbstractExternalAPI>
        <nanny>
            Host: nanny.yandex-team.ru
            Port: 80
            <RequestConfig>
                TimeoutConnectms: 200
                TimeoutSendingms: 500
                GlobalTimeout: 1000
            </RequestConfig>
        </nanny>
    </AbstractExternalAPI>

    <ServerInfoStorage>
        <DynamicHostAPI>
            Host: localhost
            Port: 83
            LogEventsResponse: false
            <RequestConfig>
                TimeoutConnectms: 200
                TimeoutSendingms: 500
                GlobalTimeout: 1000
            </RequestConfig>
        </DynamicHostAPI>
    </ServerInfoStorage>

    <YpAPI>
        <deploy>
            Address: xdc.yp.yandex.net:8090
        </deploy>
        <iva>
            Address: iva.yp.yandex.net:8090
        </iva>
        <man>
            Address: man.yp.yandex.net:8090
        </man>
        <myt>
            Address: myt.yp.yandex.net:8090
        </myt>
        <sas>
            Address: sas.yp.yandex.net:8090
        </sas>
        <vla>
            Address: vla.yp.yandex.net:8090
        </vla>
    </YpAPI>

    <Processors>
        <web/app.js>
            AuthModuleName: fake
            ProcessorType: file
            ResourceKey: web/app.js
            ContentType: text/javascript
        </web/app.js>

        <web/index.html>
            AuthModuleName: fake
            ProcessorType: file
            ResourceKey: web/index.html
            ContentType: text/html
        </web/index.html>

        <web/main.html>
            AuthModuleName: fake
            ProcessorType: file
            ResourceKey: web/main.html
            ContentType: text/html
        </web/main.html>

        <web/style.css>
            AuthModuleName: fake
            ProcessorType: file
            ResourceKey: web/style.css
            ContentType: text/css
        </web/style.css>

        <favicon.ico>
            AuthModuleName: fake
            ProcessorType: file
            ResourceKey: web/favicon.ico
            ContentType: image/x-icon
        </favicon.ico>

        <service_info>
            AuthModuleName: fake
            ProcessorType: service_info
            DefaultServiceList: deploy:bnpl_stable,deploy:bnpl_robots,deploy:bnpl_sandbox,deploy:bnpl_prestable,deploy:bnpl_testing,deploy:fintech_risk_stable_v1,deploy:fintech_risk_prestable_v1,deploy:fintech_risk_testing,deploy:service-monitor
        </service_info>
        <controller_command>
            AuthModuleName: fake
            ProcessorType: controller_command
        </controller_command>
    </Processors>
</Server>
