tests/wamp/.crossbar/config.json
author Edouard Tisserant
Fri, 26 Mar 2021 14:53:35 +0100
branchsvghmi
changeset 3205 62753288be74
parent 2194 35d6b9321ffd
permissions -rw-r--r--
SVGHMI: Add list of HMI tree path in a JS array, so that we can use it for multiple purpose :
- display name of edited variable in keypads (currently wrong in relative pages)
- have some variable that hold basename of current relative page HMI_NODE's path
- propose some list of names in DropDown when selecting a relative page to jump to, without having to instancite many jump widgets.
{
    "version": 2,
    "controller": {},
    "workers": [
        {
            "type": "router",
            "options": {
                "pythonpath": [
                    ".."
                ]
            },
            "realms": [
                {
                    "name": "Automation",
                    "roles": [
                        {
                            "name": "anonymous",
                            "permissions": [
                                {
                                    "uri": "",
                                    "match": "prefix",
                                    "allow": {
                                        "call": true,
                                        "register": true,
                                        "publish": true,
                                        "subscribe": true
                                    },
                                    "disclose": {
                                        "caller": false,
                                        "publisher": false
                                    },
                                    "cache": true
                                }
                            ]
                        }
                    ]
                }
            ],
            "transports": [
                {
                    "type": "websocket",
                    "debug": true,
                    "endpoint": {
                        "type": "tcp",
                        "port": 8888
                    },
                    "url": "ws://127.0.0.1:8888/",
                    "serializers": [
                        "msgpack",
                        "json"
                    ]
                }
            ]
        }
    ]
}