User Tools

Site Tools


en:tvip_tms_architecture

Tvip TMS architecture

General information

  • All TMS services located in /opt/tvip-tms folder
  • gateway-tvip-* microservice with which external clients or internal clients interact as with an isolated subsystem (web server).
  • manager-tvip-* microservice with business logic.

Configuration file

Change access-token-secret, refresh-token-secret may damage your system

Template for gateway

  • Configuration file located in /opt/tvip-tms/gateway/gateway-tvip-*/application-prod.yml folder.
  • Example configuration:
application:
  jwt:
    access-token-secret:      'access-token-secret'
    refresh-token-secret:     'refresh-token-secret'
  network:
    trusted-proxies:
    - 127.0.0.1

Options specific for gateways

gateway-tvip-tms-tvip-api

Enable VOD feature:

application:
    features:
        vod: true

Template for manager

  • Configuration file located in /opt/tvip-tms/manager/manager-tvip-*/application-prod.yml folder.
  • Example configuration:
spring:
  datasource:
    url:      jdbc:postgresql://127.0.0.1:5432/tvip-tms
    username: tvip-tms
    password:
application:
    jwt:
        access-token-secret:      'access-token-secret'
        refresh-token-secret:     'refresh-token-secret'

Options specific for managers

manager-tvip-tms-file

spring:
  liquibase:
    url: jdbc:postgresql://127.0.0.1:5432/tvip-tms
    user: tvip-tms
    password:
  r2dbc:
    host:     127.0.0.1
    port:     5432
    database: tvip-tms
    username: tvip-tms
    password:
  datasource:
    url:      jdbc:postgresql://127.0.0.1:5432/tvip-tms
    username: tvip-tms
    password:

manager-tvip-tms-vod

TMDB api key for import:

tmdb:
    api-key: 'your_tmdb_api_key'

Log files

  • All log files located in /var/log/tvip-tms folder
    • application.log - general log file of application
    • framework.log - service log file
    • access.log - information of external operation
    • audit.log - extended information of external operation

Restart all services

systemctl restart gateway-tvip-cas-api
systemctl restart gateway-tvip-file-api
systemctl restart gateway-tvip-provisioning-api
systemctl restart gateway-tvip-tms-activation-api
systemctl restart gateway-tvip-tms-admin-api
systemctl restart gateway-tvip-tms-provider-api
systemctl restart gateway-tvip-tms-tvip-api
systemctl restart gateway-tvip-tms-websocket
systemctl restart manager-tvip-auth
systemctl restart manager-tvip-provisioning
systemctl restart manager-tvip-tms-admin-api
systemctl restart manager-tvip-tms-cas
systemctl restart manager-tvip-tms-command
systemctl restart manager-tvip-tms-epg
systemctl restart manager-tvip-tms-file
systemctl restart manager-tvip-tms-finite-state
systemctl restart manager-tvip-tms-media
systemctl restart manager-tvip-tms-profile
systemctl restart manager-tvip-tms-report
systemctl restart manager-tvip-tms-tvip-api
systemctl restart manager-tvip-tms-vnc
systemctl restart manager-tvip-tms-vod
systemctl restart manager-tvip-tms-weather
systemctl restart manager-tvip-tms-stats
en/tvip_tms_architecture.txt · Last modified: 2021/09/22 14:24 by Денис Цыганов