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

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'

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

Translations of this page: