Configuration Reference
Configuration settings of the UDRM service are located in the configuration file udrm.json (in the JSON format). By default, it can be found by the following paths: /opt/smartlabs/udrm/conf/udrm.conf
Configuration Settings
db { hibernate { # Dialect of one of the following databases: PostgreSQL / Oracle / MySQL(MariaDB) # PostgreSQL // dialect = “org.hibernate.dialect.PostgreSQLDialect” # Oracle // dialect = “org.hibernate.dialect.Oracle10gDialect” # MySQL dialect = “org.hibernate.dialect.MySQL5InnoDBDialect” connection { pool { # Driver of one of the following databases: PostgreSQL / Oracle / MySQL(MariaDB) # PostgreSQL // driverClassName = “org.postgresql.Driver” # Oracle // driverClassName = “oracle.jdbc.OracleDriver” # MySQL driverClassName = “com.mysql.jdbc.Driver” # DB connection settings ## server: local; DB: full url = “jdbc:mysql://127.0.0.1:3306/udrm_sml?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC” username = “root” password = “test” } } # Flag for logging SQL queries show_sql = false } } http { # UDRM connection port port = 8082 } httpClient { # Jetty connection timeout connectTimeout = 10 # Jetty idle timeout idleTimeout = 120 } # Settings for URDM modules udrm { # Setting for the module that receives a license to play content ls { # Flag to enable all DRM submodules enable = true # URL prefix. If set as shown below, then the call URL is ‘http://localhost:8082/udrm/drm/wvfta/license’; if not – ‘http://localhost:8082/drm/drm/wvfta/license’. urlPrefix = /udrm } main { # Salt for encrypting content keys. If not set, the keys are stored in the DB in unencrypted form. keyEncryptionSeed = “wsor5XLOo3-mmcyCyEEs” } # Settings for the content encryption module encryptor = { # Module access URL. If set as shown below, the requests are passed to ‘http://localhost:8082/cenc/getkey’ url = “/cenc/getkey” } # Settings for the Widevine DRM submodule widevine { # Flag to enable the module enable = true } # Settings for the PlayReady DRM submodule playready { # Flag to enable the module enable = true } # Settings for the FairPlay DRM submodule fairplay { # Flag to enable the module enable = true } # Settings for the Widevine DRM submodule interacting with GO3 content provider go3widevine { # Flag to enable the module enable = true licenseServer = { # HTTP header ‘API-Authentication’. You can obtain it from the GO3 or operator’s tech team. apiAuth = “XXX” # Password for the HTTP Basic Auth. You can obtain it from the GO3 or operator’s tech team. authBasicPass = “YYY” } } } # Setting to avoid problems with obtaining a license when device_id contains a control character. Default value – ‘false’. allowUnquotedControlChars = true # Flag to verify the version of the database data schema when starting the service. Default value – ‘true’. checkDBVersion = true |