Files
VITEC-website/packages/vitec/Configuration/Services.yaml
T

65 lines
2.3 KiB
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
Evomedien\Vitec\:
resource: '../Classes/*'
exclude: '../Classes/Domain/Model/*'
# Make our VitecBackendLayoutView the canonical BackendLayoutView.
# Any service / controller requesting BackendLayoutView gets our override.
Evomedien\Vitec\View\VitecBackendLayoutView:
public: true
TYPO3\CMS\Backend\View\BackendLayoutView:
alias: Evomedien\Vitec\View\VitecBackendLayoutView
public: true
# Headless resolves the meta handler via this interface (cacheable listener
# AND the USER_INT middleware). Pointing the alias at our subclass mirrors
# the final page title (seo.title) into meta.title as well.
FriendsOfTYPO3\Headless\Seo\MetaHandlerInterface:
alias: Evomedien\Vitec\Seo\VitecMetaHandler
# The DataHandler hook fetches this via GeneralUtility::makeInstance,
# which resolves constructor arguments only for container-public services.
Evomedien\Vitec\Service\SsrPurgeService:
public: true
# SSR dashboard tiles (the WidgetConfigurationInterface argument is
# injected by the dashboard compiler pass via the tag).
Evomedien\Vitec\Widgets\SsrStatusWidget:
tags:
- name: dashboard.widget
identifier: vitecSsrStatus
groupNames: systemInfo
title: 'VITEC: SSR / VPS status'
description: 'Live state of the SSR server (release, cache, reachability) and the delivery switch'
iconIdentifier: 'content-widget-text'
height: 'medium'
width: 'medium'
Evomedien\Vitec\Widgets\SsrStatsWidget:
tags:
- name: dashboard.widget
identifier: vitecSsrStats
groupNames: systemInfo
title: 'VITEC: SSR statistics'
description: 'Purge protocol and availability of the SSR server (14 days of history)'
iconIdentifier: 'content-widget-number'
height: 'medium'
width: 'medium'
Evomedien\Vitec\Widgets\SsrErrorsWidget:
tags:
- name: dashboard.widget
identifier: vitecSsrErrors
groupNames: systemInfo
title: 'VITEC: SSR errors & hit rate'
description: 'Render/backend error counters and cache hit rate of the SSR node (/__stats, sampled every 5 minutes)'
iconIdentifier: 'content-widget-list'
height: 'medium'
width: 'medium'