Skip to content

JSON config support #7

@plusreed

Description

@plusreed

Config file would look something like this and would be saved as tkrcfg.json:

{
    "tkrConfigSchemaVersion": 1,
    "config": {
        "db2": {
            "serializeOnBoot": true,
            "serializeCronString": "*/5 * * * *"
        },
        "timeoutMs": 5000,
        "checks": [
            {
                "type": "common",
                "params": [
                    "https://api.prod.hype.space",
                    "hypeapi"
                ]
            },
            {
                "type": "common",
                "params": [
                    "https://ws.prod.hype.space",
                    "hypeapi-websocket"
                ]
            },
            {
                "type": "common",
                "params": [
                    "https://telemetry.prod.hype.space",
                    "api-telemetry"
                ]
            },
            {
                "type": "stream",
                "params": [
                    "internet_high"
                ]
            },
            {
                "type": "stream",
                "params": [
                    "intranet_high"
                ]
            },
            {
                "type": "stream",
                "params": [
                    "wirecast_high"
                ]
            }
        ]
    }
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions