UNPKG

@joergmittaglawo/dmvconfig

Version:

DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.

60 lines 1.58 kB
"use strict"; /** * Finds and loads the DMV Configuration * @packageDocumentation * * @version 0.0.0-alpha.0 * @date 2020-04-15 * @author Mittag, Jörg (Lawo) <joerg.mittag@lawo.com> * @license SPDX-License-Identifier: MIT */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONF = void 0; /** * The Cluster configuration */ const cluster_1 = __importDefault(require("./conf/cluster")); /** * The Heads configuration */ const heads_1 = __importDefault(require("./conf/heads")); /** * The Monitoring Objects configuration */ const mos_1 = __importDefault(require("./conf/mos")); /** * The Nodes configuration */ const nodes_1 = __importDefault(require("./conf/nodes")); /** * The PIP configuration */ const pip_1 = __importDefault(require("./conf/pip")); /** * The PTP configuration */ const ptp_1 = __importDefault(require("./conf/ptp")); /** * The Sources configuration */ const sources_1 = __importDefault(require("./conf/sources")); cluster_1.default.size = nodes_1.default.length; /** * The DMV configuration */ exports.CONF = { __date__: new Date().toISOString(), masterScriptIp: nodes_1.default[0].scriptIp, cluster: cluster_1.default, heads: heads_1.default, monitoringObjects: mos_1.default, nodes: nodes_1.default, pip: pip_1.default, ptp: ptp_1.default, sources: sources_1.default, }; exports.default = exports.CONF; //# sourceMappingURL=conf.js.map